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