support Computer Air Combat (#46)

This commit is contained in:
Peter Ferrie 2024-08-28 19:20:08 -07:00 committed by GitHub
parent a34bbf79e7
commit ad86fd270c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 27 additions and 1 deletions

View File

@ -346,7 +346,7 @@ StringTable
!word @mainmenu
@header
!text "Anti-M v2.2 by 4am 2024-02-27"
!text "Anti-M v2.2 by 4am 2024-08-27"
!text "________________________________________",$8D
!text $8D,$8D,$8D,$8D,$8D,$8D,$8D,$8D,$00
@mainmenu

View File

@ -265,6 +265,21 @@ 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
@ -273,6 +288,17 @@ IDBoot13
pha
ldx #$60
rts
@callbackssi
lda #<@callbackssi2
sta $429
lda #>@callbackssi2
sta $42A
jmp $401
@callbackssi2
inc $BD6F
jmp $B700
}
PatchBoot13