support ABM (#45)

Co-authored-by: Peter Ferrie <peter.ferrie@gmail.com>
This commit is contained in:
4am 2024-02-27 11:18:24 -05:00 committed by GitHub
parent 834efd426f
commit 385e514ce2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 25 additions and 2 deletions

View File

@ -6,7 +6,7 @@
;-------------------------------
; Anti-M
; a 4am hack
; (c) 2019-2023 by 4am
; (c) 2019-2024 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.1 by 4am 2024-02-23"
!text "Anti-M v2.1 by 4am 2024-02-26"
!text "________________________________________",$8D
!text $8D,$8D,$8D,$8D,$8D,$8D,$8D,$8D,$00
@mainmenu

View File

@ -25,6 +25,7 @@
; - Russki Duck (Gebelli)
; - Zenith (Gebelli)
; - Disk Recovery (Sensible Software)
; - ABM (MUSE)
;
IDBroderbund
; first stage is just a standard hybrid DOS 3.2/3.3 bootloader
@ -267,6 +268,10 @@ IDBroderbund
ldx #<@DOS33Callback
ldy #>@DOS33Callback
cmp #$B6
beq @hookhybrid
ldx #<@MUSECallback
ldy #>@MUSECallback
cmp #$76
bne @jmpdos
@hookhybrid
@ -440,6 +445,24 @@ IDBroderbund
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