mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-08-05 02:25:03 +00:00
second: urgh bug in music player, previous fix was broken
didn't handle the corner case of two carries, and the credits music was crashing after pattern 13 this is an ugly fix but hopefully correct
This commit is contained in:
@@ -1561,11 +1561,15 @@ not_done:
|
||||
clc
|
||||
sta PATTERN_L
|
||||
adc PT3_LOC+PT3_PATTERN_LOC_L
|
||||
php ; save carry as we might generate two
|
||||
clc
|
||||
adc PATTERN_L
|
||||
sta PATTERN_L
|
||||
|
||||
lda PT3_LOC+PT3_PATTERN_LOC_H ; 4
|
||||
adc #>PT3_LOC ; assume page boundary ; 2
|
||||
plp ; restore carry
|
||||
adc #0
|
||||
sta PATTERN_H ; 3
|
||||
|
||||
; clc
|
||||
|
Reference in New Issue
Block a user