Skip to content

Instantly share code, notes, and snippets.

@mach-kernel
Created Feb 19, 2018
Embed
What would you like to do?
drawpos pha
phx
; draw the parens and comma
lda #"("
stal $0007F1
lda #$AC
stal $0007F4
lda #")"
stal $0007F7
txa
jsr tencount
adc #$B0
stal $0007F3
txa
adc #$B0
stal $0007F2
tya
jsr tencount
adc #$B0
stal $0007F6
txa
adc #$B0
stal $0007F5
; restore x and original keydown char
plx
pla
rts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment