summary refs log tree commit diff
path: root/thing.s
diff options
context:
space:
mode:
authorWlodekM <[email protected]>2025-04-03 12:28:21 +0300
committerWlodekM <[email protected]>2025-04-03 12:28:21 +0300
commitc62e133afb34fc38445af7bbe61e88cf45e9a7e3 (patch)
treeefc9a0517739c58514c5b87ca3333867fd1bc0eb /thing.s
parent570bb71bee1042d656cc121b45598bb1198e2df4 (diff)
it works, holy shit
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