mirror of
https://github.com/a2-4am/anti-m.git
synced 2024-12-26 05:30:45 +00:00
support Computer Air Combat (#46)
This commit is contained in:
parent
a34bbf79e7
commit
ad86fd270c
@ -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
|
||||
|
26
src/idboot.a
26
src/idboot.a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user