support Quadrant 6112

This commit is contained in:
Peter Ferrie 2019-03-11 14:27:25 -07:00
parent cb8c82331d
commit ef4957adcc
3 changed files with 21 additions and 3 deletions

View File

@ -8,4 +8,3 @@ Do not work yet:
...TODO there are more undocumented opcodes
- Star Thief (Cavalier)
$42C0: 4C 01 68 to bypass undocumented 6502 opcodes and 6502-specific JMP behavior
- Quadrant 6112 (Sensible Software)

View File

@ -1,5 +1,5 @@
; Broderbund & Gebelli tracers
; written by 4am
; written by 4am and qkumba
;
; tested on
; - Choplifter (Broderbund)
@ -7,10 +7,12 @@
; - Dueling Digits (Broderbund)
; - Genetic Drift (Broderbund)
; - Labyrinth (Broderbund)
; - Quadrant 6112 (Sensible Software)
; - Red Alert (Broderbund)
; - Seafox (Broderbund)
; - Serpentine (Broderbund)
; - Sky Blazer (Broderbund)
; - Space Eggs (Sirius)
; - Space Quarks (Broderbund)
; - Star Blazer (Broderbund)
; - Eggs-It (Gebelli)
@ -233,7 +235,7 @@ IDBroderbund
@SpaceEggsCallback
lda $33C
cmp #$AD
bne +
bne @maybeQuadrant
lda $3CC
cmp #$36
bne +
@ -245,6 +247,17 @@ IDBroderbund
sta $33E
jmp $301
@maybeQuadrant
cmp #$3B
bne +
lda #$4C xor $99
sta $39A
lda #<@QuadrantCallback xor $99
sta $39B
lda #>@QuadrantCallback xor $99
sta $39C
jmp $301
@SpaceEggsCallback2
lda $37E0
cmp #$32
@ -305,3 +318,8 @@ IDBroderbund
rts
}
@SpaceEggsCallback3_e
@QuadrantCallback
lda #$60
sta $6B3
jmp $400

View File

@ -65,6 +65,7 @@ IDSirius
bne @gammagoblins
ldx #$EA
stx $517
bne @run1
@gammagoblins
ldx #$4C