summaryrefslogtreecommitdiff
path: root/programs/scr-to-buf.s
diff options
context:
space:
mode:
Diffstat (limited to 'programs/scr-to-buf.s')
-rw-r--r--programs/scr-to-buf.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/programs/scr-to-buf.s b/programs/scr-to-buf.s
new file mode 100644
index 0000000..1787dc3
--- /dev/null
+++ b/programs/scr-to-buf.s
@@ -0,0 +1,7 @@
+scr_to_buf:
+ tax
+ mul #80
+ adc scr_col
+ tay
+ txa
+ rtl