diff --git a/src/cffa.a b/src/cffa.a new file mode 100644 index 0000000..c9935b5 --- /dev/null +++ b/src/cffa.a @@ -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 +} diff --git a/src/passport.a b/src/passport.a index c510773..335f5b5 100755 --- a/src/passport.a +++ b/src/passport.a @@ -158,6 +158,7 @@ FirstMover !source "slots.a" !source "prefs.a" !source "keys.a" + !source "cffa.a" !source "rwts.a" OneTimeSetup @@ -203,7 +204,12 @@ MainMenu jsr PrintByID .getkey jsr WaitForKey - cmp #$9B + cmp #$80 + bne + + jsr EnterCFFAIfAvailable + bcc ResetVector + bcs .getkey ++ cmp #$9B beq .jmptoexit cmp #k_quit bne + diff --git a/src/strings/en.a b/src/strings/en.a index 9a28fb9..d339683 100755 --- a/src/strings/en.a +++ b/src/strings/en.a @@ -194,7 +194,7 @@ StringTable ; can be set directly before calling PrintByID. ; .header - !text "Passport by 4am 2017-02-14",00 + !text "Passport by 4am 2017-02-19",00 .mainmenu !text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D !text " "