mirror of
https://github.com/a2-4am/passport.git
synced 2025-01-12 07:29:43 +00:00
main menu hotkey Ctrl-@ to enter CFFA3000 configuration (slot 7 only)
This commit is contained in:
parent
100b8c00d0
commit
df35e12a00
17
src/cffa.a
Normal file
17
src/cffa.a
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
!zone {
|
||||||
|
EnterCFFAIfAvailable
|
||||||
|
ldy #$04
|
||||||
|
- lda $C7F6, y
|
||||||
|
cmp CFFASignature, y
|
||||||
|
bne +
|
||||||
|
dey
|
||||||
|
bpl -
|
||||||
|
jsr $C730
|
||||||
|
clc
|
||||||
|
!byte $24 ; hide next SEC
|
||||||
|
+
|
||||||
|
sec
|
||||||
|
rts
|
||||||
|
CFFASignature
|
||||||
|
!byte $43,$46,$33,$4B,$31
|
||||||
|
}
|
@ -158,6 +158,7 @@ FirstMover
|
|||||||
!source "slots.a"
|
!source "slots.a"
|
||||||
!source "prefs.a"
|
!source "prefs.a"
|
||||||
!source "keys.a"
|
!source "keys.a"
|
||||||
|
!source "cffa.a"
|
||||||
!source "rwts.a"
|
!source "rwts.a"
|
||||||
|
|
||||||
OneTimeSetup
|
OneTimeSetup
|
||||||
@ -203,7 +204,12 @@ MainMenu
|
|||||||
jsr PrintByID
|
jsr PrintByID
|
||||||
.getkey
|
.getkey
|
||||||
jsr WaitForKey
|
jsr WaitForKey
|
||||||
cmp #$9B
|
cmp #$80
|
||||||
|
bne +
|
||||||
|
jsr EnterCFFAIfAvailable
|
||||||
|
bcc ResetVector
|
||||||
|
bcs .getkey
|
||||||
|
+ cmp #$9B
|
||||||
beq .jmptoexit
|
beq .jmptoexit
|
||||||
cmp #k_quit
|
cmp #k_quit
|
||||||
bne +
|
bne +
|
||||||
|
@ -194,7 +194,7 @@ StringTable
|
|||||||
; can be set directly before calling PrintByID.
|
; can be set directly before calling PrintByID.
|
||||||
;
|
;
|
||||||
.header
|
.header
|
||||||
!text "Passport by 4am 2017-02-14",00
|
!text "Passport by 4am 2017-02-19",00
|
||||||
.mainmenu
|
.mainmenu
|
||||||
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D
|
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D
|
||||||
!text " "
|
!text " "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user