From e12b8fcfab39699846710e3f5315ab754acc87a1 Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Tue, 19 Apr 2022 18:18:36 -0700 Subject: [PATCH] enable booting Ultracheckers from drive 2 (#38) --- src/anti-m.a | 4 +--- src/idboot.a | 12 ++++++++++++ 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/anti-m.a b/src/anti-m.a index a59b7d7..08bbd8a 100644 --- a/src/anti-m.a +++ b/src/anti-m.a @@ -175,8 +175,6 @@ CheckDrive2 bne -- - lda $C0EC bpl - - cmp #$96 - bne -- @driveoff lda $C0E8 @@ -346,7 +344,7 @@ StringTable !word @mainmenu @header - !text "Anti-M v1.9pre by 4am 2022-03-20" + !text "Anti-M v1.9pre by 4am 2022-04-19" !text "________________________________________",$8D !text $8D,$8D,$8D,$8D,$8D,$8D,$8D,$8D,$00 @mainmenu diff --git a/src/idboot.a b/src/idboot.a index 29ad11e..d673745 100644 --- a/src/idboot.a +++ b/src/idboot.a @@ -253,6 +253,18 @@ IDBoot13 jmp @dispatch @notdos32f + lda #$7D + ldx #$6E + ldy #8 + jsr @CompareMemoryRel + !byte $BD,$8A,$C0 ;LDA $C08A,X + !byte $B0,$03 ;BCS *+5 + !byte $BD,$8B,$C0 ;LDA $C08B,X + bcs @notdos32g + inc $7D6F + jmp @dispatch + +@notdos32g @dispatch lda $d1d1 ;SMC