always prompt if either button is pressed on startup

This commit is contained in:
4am 2019-03-13 08:20:08 -04:00
parent 1cca6c43c0
commit 723d97f1e9

View File

@ -35,6 +35,8 @@
MLI = $BF00 MLI = $BF00
KEY = $C000 KEY = $C000
STROBE = $C010 STROBE = $C010
BUTTON0 = $C061
BUTTON1 = $C062
TEXT = $FB2F TEXT = $FB2F
HOME = $FC58 HOME = $FC58
COUT = $FDED COUT = $FDED
@ -45,9 +47,13 @@ cmp2 = $FA ; word
tmp = $FC ; byte tmp = $FC ; byte
jsr TEXT jsr TEXT
lda BUTTON0
ora BUTTON1
bmi @showprompt
lda DEVNUM lda DEVNUM
cmp #$60 cmp #$60
bne Boot bne Boot
@showprompt
jsr HOME jsr HOME
lda #s_header lda #s_header
jsr PrintByID jsr PrintByID