aboutsummaryrefslogtreecommitdiff
path: root/examples/colour_cycle.s
diff options
context:
space:
mode:
Diffstat (limited to 'examples/colour_cycle.s')
-rw-r--r--examples/colour_cycle.s15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/colour_cycle.s b/examples/colour_cycle.s
new file mode 100644
index 0000000..016a2a2
--- /dev/null
+++ b/examples/colour_cycle.s
@@ -0,0 +1,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;