mirror of
https://github.com/a2-4am/anti-m.git
synced 2024-09-27 15:56:37 +00:00
support Star Thief
This commit is contained in:
parent
ef4957adcc
commit
cb20860027
@ -6,5 +6,3 @@ Do not work yet:
|
|||||||
$A2BB: 4C D4 A2 to bypass undocumented 6502 opcodes
|
$A2BB: 4C D4 A2 to bypass undocumented 6502 opcodes
|
||||||
$A2F6: 4C 36 4D to bypass undocumented 6502 opcodes and 6502-specific JMP behavior
|
$A2F6: 4C 36 4D to bypass undocumented 6502 opcodes and 6502-specific JMP behavior
|
||||||
...TODO there are more undocumented opcodes
|
...TODO there are more undocumented opcodes
|
||||||
- Star Thief (Cavalier)
|
|
||||||
$42C0: 4C 01 68 to bypass undocumented 6502 opcodes and 6502-specific JMP behavior
|
|
||||||
|
@ -236,15 +236,21 @@ IDBroderbund
|
|||||||
lda $33C
|
lda $33C
|
||||||
cmp #$AD
|
cmp #$AD
|
||||||
bne @maybeQuadrant
|
bne @maybeQuadrant
|
||||||
|
ldx #<@SpaceEggsCallback2
|
||||||
|
ldy #>@SpaceEggsCallback2
|
||||||
lda $3CC
|
lda $3CC
|
||||||
cmp #$36
|
cmp #$36
|
||||||
|
beq @hookhybrid
|
||||||
|
ldx #<@StarThiefCallback
|
||||||
|
ldy #>@StarThiefCallback
|
||||||
|
cmp #$41
|
||||||
bne +
|
bne +
|
||||||
|
|
||||||
|
@hookhybrid
|
||||||
lda #$4C
|
lda #$4C
|
||||||
sta $33C
|
sta $33C
|
||||||
lda #<@SpaceEggsCallback2
|
stx $33D
|
||||||
sta $33D
|
sty $33E
|
||||||
lda #>@SpaceEggsCallback2
|
|
||||||
sta $33E
|
|
||||||
jmp $301
|
jmp $301
|
||||||
|
|
||||||
@maybeQuadrant
|
@maybeQuadrant
|
||||||
@ -323,3 +329,12 @@ IDBroderbund
|
|||||||
lda #$60
|
lda #$60
|
||||||
sta $6B3
|
sta $6B3
|
||||||
jmp $400
|
jmp $400
|
||||||
|
|
||||||
|
@StarThiefCallback
|
||||||
|
lda #$4C
|
||||||
|
sta $42C0
|
||||||
|
lda #$01
|
||||||
|
sta $42C1
|
||||||
|
lda #$68
|
||||||
|
sta $42C2
|
||||||
|
jmp $4200
|
||||||
|
Loading…
Reference in New Issue
Block a user