aboutsummaryrefslogtreecommitdiff
path: root/examples/disp.s
blob: a516f2384b3b0b40ad1fc898c41f3c02f7a17ef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
;Testing the display memory, and making pretty colours.
; By SmokestormX
set z,0x8000; Starting mem
set c,0x1041; Yellow A charachter
set i,0;
:loop
set [0x8000+i],c; Set the Display+offset to C
add i,1;
add c,0x1100; Add offset to C , change this around.
ife i,0x200; 0x200 is the exact size of the display.
set pc,end;
set pc,loop;
:end
brk