mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-26 11:30:12 +00:00
mockingboard: the final bug was forgetting to set Y to zero
This commit is contained in:
parent
a22629e73f
commit
aaa015e98f
@ -63,11 +63,12 @@ mockingboard_found:
|
||||
; load pointer to the music
|
||||
;===========================
|
||||
|
||||
lda #<ksp_theme2
|
||||
lda #<ksp_theme
|
||||
sta INL
|
||||
lda #>ksp_theme2
|
||||
lda #>ksp_theme
|
||||
sta INH
|
||||
|
||||
ldy #0
|
||||
lda (INL),Y ; read in frame delay
|
||||
sta MB_FRAME_DIFF
|
||||
inc INL ; FIXME: should check if we oflowed
|
||||
@ -78,6 +79,7 @@ mockingboard_found:
|
||||
lda #>ksp_theme2
|
||||
sta NUM1H
|
||||
|
||||
ldy #0
|
||||
lda (NUM1L),Y ; read in frame delay
|
||||
sta MB_FRAME_DIFF2
|
||||
inc NUM1L ; FIXME: should check if we oflowed
|
||||
|
@ -390,7 +390,7 @@ top_regs:
|
||||
ldx #$7 ; load X as 7 (we increment first)
|
||||
top_regs_loop:
|
||||
inx ; increment
|
||||
cpx #$16
|
||||
cpx #16
|
||||
beq done_with_masks ; exit if done
|
||||
|
||||
ror MASK
|
||||
|
Loading…
Reference in New Issue
Block a user