From 3a6b60cc722bf22d1b2058d7ea7bdd2f104e3634 Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Sun, 17 Sep 2023 20:41:15 -0700 Subject: [PATCH] strengthen drive 2 detection, set init A properly (fixes Micro League Basball) (#41) --- src/anti-m.a | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/anti-m.a b/src/anti-m.a index 92ae521..2532ad7 100644 --- a/src/anti-m.a +++ b/src/anti-m.a @@ -175,6 +175,8 @@ CheckDrive2 bne -- - lda $C0EC bpl - + cmp #$96 + bne -- @driveoff lda $C0E8 @@ -277,7 +279,7 @@ BeginTheBoot lda #$11 ;Virtual II fix pha plp ;match boot-time flags and registers - lda #1 + lda $800 ;might not be 1 ldy #0 ldx #$60 jmp $0801 @@ -344,7 +346,7 @@ StringTable !word @mainmenu @header - !text "Anti-M v1.10pre by 4am 2023-09-11" + !text "Anti-M v1.10pre by 4am 2023-09-17" !text "________________________________________",$8D !text $8D,$8D,$8D,$8D,$8D,$8D,$8D,$8D,$00 @mainmenu