mirror of
https://github.com/a2-4am/anti-m.git
synced 2024-12-29 09:33:12 +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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user