This commit is contained in:
4am 2023-09-18 12:05:51 -04:00
commit e4c718f48e
2 changed files with 9 additions and 3 deletions

View File

@ -6,7 +6,7 @@
;------------------------------- ;-------------------------------
; Anti-M ; Anti-M
; a 4am hack ; a 4am hack
; (c) 2019-2022 by 4am ; (c) 2019-2023 by 4am
; ;
; Permission is hereby granted, free of charge, to any ; Permission is hereby granted, free of charge, to any
; person obtaining a copy of this software and associated ; person obtaining a copy of this software and associated
@ -175,6 +175,8 @@ CheckDrive2
bne -- bne --
- lda $C0EC - lda $C0EC
bpl - bpl -
cmp #$96
bne --
@driveoff @driveoff
lda $C0E8 lda $C0E8
@ -277,7 +279,7 @@ BeginTheBoot
lda #$11 ;Virtual II fix lda #$11 ;Virtual II fix
pha pha
plp ;match boot-time flags and registers plp ;match boot-time flags and registers
lda #1 lda $800 ;might not be 1
ldy #0 ldy #0
ldx #$60 ldx #$60
jmp $0801 jmp $0801

View File

@ -15,7 +15,10 @@ IDProDOS
ldx #$60 ldx #$60
stx $801 stx $801
inc $3D inc $3D
jsr $865C jsr $C65C
dec $27
dec $3D
dec $3D
lda #$38 lda #$38
sta $801 sta $801
lda #9 lda #9
@ -39,6 +42,7 @@ IDProDOS
sta $8FD sta $8FD
lda #>@ProDOSCallbackx lda #>@ProDOSCallbackx
sta $8FE sta $8FE
clc
@exit @exit
rts rts