Skip to content

Commit

Permalink
Fix double-miscount on level 30
Browse files Browse the repository at this point in the history
  • Loading branch information
colinleroy committed Sep 8, 2024
1 parent a8a39a7 commit c11c43a
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/lib/surl/surl_stream_audio-65c02.s
Original file line number Diff line number Diff line change
Expand Up @@ -1340,16 +1340,15 @@ s30: lda ser_status ; 8 Check serial
beq :+ ; 12/13
d30: ldx ser_data ; 16 Load serial

lda next,x ; 21 Update target
sta dest30+1 ; 25
inx ; 27
lda next,x ; 32
lda next,x ; 20 Update target
sta dest30+1 ; 24
inx ; 26
lda next,x ; 30

WASTE_2 ; 34
WASTE_4 ; 34
____SPKR_DUTY____4 ; 38 Toggle speaker
sta dest30+2 ; 40 Finish updating target
sta dest30+2 ; 42 Finish updating target

WASTE_2 ; 42
dest30: jmp $0000 ; 45

:
Expand Down

0 comments on commit c11c43a

Please sign in to comment.