mirror of
https://github.com/a2-4am/anti-m.git
synced 2024-10-20 16:24:25 +00:00
Compare commits
No commits in common. "master" and "v2.1" have entirely different histories.
@ -3,7 +3,7 @@
|
||||
Boot any Apple II disk on any Apple II
|
||||
|
||||
[Download latest Anti-M disk image](https://github.com/a2-4am/anti-m/releases/latest/download/anti-m.dsk)
|
||||
(version **2.2**, released **2024-02-27**, runs on any 48K Apple II)
|
||||
(version **2.1**, released **2024-02-23**, runs on any 48K Apple II)
|
||||
|
||||
## What is this?
|
||||
|
||||
@ -99,10 +99,6 @@ launching Anti-M.
|
||||
|
||||
## History
|
||||
|
||||
v2.2 - 2024-02-27
|
||||
|
||||
- add support for ABM
|
||||
|
||||
v2.1 - 2024-02-23
|
||||
|
||||
- fix detection of 13-sector disks (thanks John A. for the report)
|
||||
|
@ -6,7 +6,7 @@
|
||||
;-------------------------------
|
||||
; Anti-M
|
||||
; a 4am hack
|
||||
; (c) 2019-2024 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
|
||||
@ -346,7 +346,7 @@ StringTable
|
||||
!word @mainmenu
|
||||
|
||||
@header
|
||||
!text "Anti-M v2.3 by 4am 2024-08-30"
|
||||
!text "Anti-M v2.1 by 4am 2024-02-23"
|
||||
!text "________________________________________",$8D
|
||||
!text $8D,$8D,$8D,$8D,$8D,$8D,$8D,$8D,$00
|
||||
@mainmenu
|
||||
|
26
src/idboot.a
26
src/idboot.a
@ -265,21 +265,6 @@ IDBoot13
|
||||
jmp @dispatch
|
||||
|
||||
@notdos32g
|
||||
lda #$20
|
||||
ldx #$E9
|
||||
ldy #8
|
||||
jsr @CompareMemoryRel
|
||||
!byte $CC,$00,$04 ;CPY $0400
|
||||
!byte $D0,$03 ;BNE *+5
|
||||
!byte $4C,$01,$04 ;JMP $0401
|
||||
bcs @notssi
|
||||
lda #<@callbackssi
|
||||
sta $20EF
|
||||
lda #>@callbackssi
|
||||
sta $20F0
|
||||
jmp @dispatch
|
||||
|
||||
@notssi
|
||||
|
||||
@dispatch
|
||||
lda $d1d1 ;SMC
|
||||
@ -288,17 +273,6 @@ IDBoot13
|
||||
pha
|
||||
ldx #$60
|
||||
rts
|
||||
|
||||
@callbackssi
|
||||
lda #<@callbackssi2
|
||||
sta $429
|
||||
lda #>@callbackssi2
|
||||
sta $42A
|
||||
jmp $401
|
||||
|
||||
@callbackssi2
|
||||
inc $BD6F
|
||||
jmp $B700
|
||||
}
|
||||
|
||||
PatchBoot13
|
||||
|
@ -25,8 +25,6 @@
|
||||
; - Russki Duck (Gebelli)
|
||||
; - Zenith (Gebelli)
|
||||
; - Disk Recovery (Sensible Software)
|
||||
; - ABM (MUSE)
|
||||
; - Palace in Thunderland (Microlab)
|
||||
;
|
||||
IDBroderbund
|
||||
; first stage is just a standard hybrid DOS 3.2/3.3 bootloader
|
||||
@ -269,10 +267,6 @@ IDBroderbund
|
||||
ldx #<@DOS33Callback
|
||||
ldy #>@DOS33Callback
|
||||
cmp #$B6
|
||||
beq @hookhybrid
|
||||
ldx #<@MUSECallback
|
||||
ldy #>@MUSECallback
|
||||
cmp #$76
|
||||
bne @jmpdos
|
||||
|
||||
@hookhybrid
|
||||
@ -443,49 +437,9 @@ IDBroderbund
|
||||
|
||||
@notdos33
|
||||
@skip2e
|
||||
lda #$BD
|
||||
ldx #$6E
|
||||
ldy #8
|
||||
jsr CompareMemory
|
||||
!byte $BD,$8A,$C0 ;LDA $C08A,X
|
||||
!byte $B0,$03 ;BCS *+5
|
||||
!byte $BD,$8B,$C0 ;LDA $C08B,X
|
||||
bcs @notdos33b
|
||||
lda $85FF
|
||||
beq +
|
||||
inc $BD6F
|
||||
+ ldx #(@MicrolabCallback_e-@MicrolabCallback)-1
|
||||
- lda @MicrolabCallback,x
|
||||
sta $280,x
|
||||
dex
|
||||
bpl -
|
||||
sec
|
||||
ror $b7b8
|
||||
lda #2
|
||||
sta $b7b9
|
||||
|
||||
@notdos33b
|
||||
ldx #$60
|
||||
jmp $B700
|
||||
|
||||
@MUSECallback
|
||||
lda $85FF
|
||||
beq @skip2f
|
||||
lda #$7D
|
||||
ldx #$5F
|
||||
ldy #8
|
||||
jsr CompareMemory
|
||||
!byte $BD,$8A,$C0 ;LDA $C08A,X
|
||||
!byte $B0,$03 ;BCS *+5
|
||||
!byte $BD,$8B,$C0 ;LDA $C08B,X
|
||||
bcs @notmuse
|
||||
inc $7D60
|
||||
|
||||
@notmuse
|
||||
@skip2f
|
||||
ldx #$60
|
||||
jmp $7700
|
||||
|
||||
@StarThiefCallback2 !pseudopc $110 {
|
||||
@StarThiefCallback2x
|
||||
lda #$4C
|
||||
@ -513,17 +467,3 @@ IDBroderbund
|
||||
jmp $4D36
|
||||
}
|
||||
@BugAttackCallback2_e
|
||||
|
||||
@MicrolabCallback !pseudopc $280 {
|
||||
jsr $BD00
|
||||
lda $B7EC
|
||||
cmp #$12
|
||||
bne +
|
||||
lda $B7ED
|
||||
bne +
|
||||
lda #$60
|
||||
sta $960F
|
||||
+ clc
|
||||
rts
|
||||
}
|
||||
@MicrolabCallback_e
|
||||
|
Loading…
Reference in New Issue
Block a user