diff --git a/src/anti-m.a b/src/anti-m.a index 3349e31..c82f644 100644 --- a/src/anti-m.a +++ b/src/anti-m.a @@ -6,7 +6,7 @@ ;------------------------------- ; Anti-M ; a 4am hack -; (c) 2019-2022 by 4am +; (c) 2019-2023 by 4am ; ; Permission is hereby granted, free of charge, to any ; person obtaining a copy of this software and associated @@ -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 diff --git a/src/idprodos.a b/src/idprodos.a index 88bcf35..5eb6061 100644 --- a/src/idprodos.a +++ b/src/idprodos.a @@ -15,7 +15,10 @@ IDProDOS ldx #$60 stx $801 inc $3D - jsr $865C + jsr $C65C + dec $27 + dec $3D + dec $3D lda #$38 sta $801 lda #9 @@ -39,6 +42,7 @@ IDProDOS sta $8FD lda #>@ProDOSCallbackx sta $8FE + clc @exit rts