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