summary refs log tree commit diff
path: root/thing.s
diff options
context:
space:
mode:
Diffstat (limited to 'thing.s')
-rw-r--r--thing.s24
1 files changed, 17 insertions, 7 deletions
diff --git a/thing.s b/thing.s
index d492a15..e5df832 100644
--- a/thing.s
+++ b/thing.s
@@ -1,8 +1,18 @@
+ACIA_DATA	= $5000
+ACIA_STATUS	= $5001
+ACIA_CMD	= $5002
+ACIA_CTRL	= $5003
+
 _start:
- lda #$78
- jsr goog
- cmp #$78
- brk
-goog:
- lda #$50
- rts
\ No newline at end of file
+  lda #$64
+  jsr CHROUT
+  BRK
+
+CHROUT:
+                pha
+                sta     ACIA_DATA
+                lda     #$FF
+.txdelay:       dec
+                bne    .txdelay
+                pla
+                rts
\ No newline at end of file