change slot-scan order for MB, fixes Berzap music

This commit is contained in:
Peter Ferrie 2020-03-02 11:48:20 -08:00
parent c4eedb55bc
commit d78fe68893

View File

@ -29,7 +29,7 @@ GetMockingboardStuff
lda #$00 lda #$00
sta $80 sta $80
sta $82 ; type sta $82 ; type
ldx #$C7 ldx #$C1
@slotLoop @slotLoop
stx $81 stx $81
ldy #$04 ; 6522 #1 $Cx04 ldy #$04 ; 6522 #1 $Cx04
@ -37,8 +37,8 @@ GetMockingboardStuff
beq @foundI beq @foundI
@nextSlot @nextSlot
dex inx
cpx #$C0 cpx #$C8
bne @slotLoop bne @slotLoop
ldx #$00 ; not found ldx #$00 ; not found
rts rts