diff options
Diffstat (limited to 'thing.s')
-rw-r--r-- | thing.s | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/thing.s b/thing.s index 5e03ad8..983470b 100644 --- a/thing.s +++ b/thing.s @@ -4,11 +4,8 @@ ACIA_CMD = $5002 ACIA_CTRL = $5003 _start: - lda #$64 - jsr CHROUT - lda #$20 - pha - BRK + jmp printChar + brk CHROUT: pha @@ -17,4 +14,19 @@ CHROUT: ; .txdelay: dec ; bne .txdelay pla - rts \ No newline at end of file + rts + +fallback: + lda #$21 + brk +printChar: + jmp print +fallback2: + lda #$22 + brk +print: + lda #$64 + jsr CHROUT + lda #$20 + pha + BRK \ No newline at end of file |