Merge pull request #2 from peterferrie/master

support Dragon's Keep (sierra) variant, fix stack corruption bug
This commit is contained in:
4am 2017-01-27 11:30:18 -05:00 committed by GitHub
commit c3689aa5a4
3 changed files with 12 additions and 6 deletions

View File

@ -73,7 +73,5 @@ B8b3 sta T02,y
sta $083F
sta $0842
sta $0845
pla
plp
jmp $0801
}

View File

@ -123,8 +123,6 @@ foundmeccm8
ldy #$A3
lda (modsrc),y
sta $B8FC
pla
plp
jmp ADStyle
}
@ -228,7 +226,5 @@ foundmeccm7
ldy #$2A
lda (modsrc),y
sta $B8FC
pla
plp
jmp ADStyle
}

View File

@ -107,6 +107,18 @@ _sierra
ldy #$01
jsr modify
!byte $60
+ ldy #17
jsr SearchTrack
!byte $48,$8A,$48,$98,$48,$20,$3D,$9B,$68,$A8,$68,$AA,$68,$28,$6C,$36,$00
bcs +
inx
inx
inx
inx
inx
ldy #$01
jsr modify
!byte $2C
+ jmp .exit
.foundsierra
!byte $00