This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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