mirror of
https://github.com/a2-4am/anti-m.git
synced 2024-12-28 02:32:14 +00:00
always prompt if either button is pressed on startup
This commit is contained in:
parent
1cca6c43c0
commit
723d97f1e9
@ -35,6 +35,8 @@
|
||||
MLI = $BF00
|
||||
KEY = $C000
|
||||
STROBE = $C010
|
||||
BUTTON0 = $C061
|
||||
BUTTON1 = $C062
|
||||
TEXT = $FB2F
|
||||
HOME = $FC58
|
||||
COUT = $FDED
|
||||
@ -45,9 +47,13 @@ cmp2 = $FA ; word
|
||||
tmp = $FC ; byte
|
||||
|
||||
jsr TEXT
|
||||
lda BUTTON0
|
||||
ora BUTTON1
|
||||
bmi @showprompt
|
||||
lda DEVNUM
|
||||
cmp #$60
|
||||
bne Boot
|
||||
@showprompt
|
||||
jsr HOME
|
||||
lda #s_header
|
||||
jsr PrintByID
|
||||
|
Loading…
Reference in New Issue
Block a user