sorta works but timing's not quite right
This commit is contained in:
parent
2c42332e1c
commit
b2994f093f
1 changed files with 4 additions and 10 deletions
14
dither4.s
14
dither4.s
|
@ -181,18 +181,12 @@ each_scanline:
|
|||
sta COLPF0
|
||||
stx COLPF1
|
||||
sty COLPF2
|
||||
|
||||
; Audio sample
|
||||
;pla
|
||||
;lda temp1
|
||||
;sta AUDC1
|
||||
.endmacro
|
||||
|
||||
inner_scanline
|
||||
audio_play
|
||||
|
||||
.macro audio_inc
|
||||
;; toooo slllooowwww
|
||||
; Increment sample ptr
|
||||
inc sample_ptrl
|
||||
bne audio_cont
|
||||
|
@ -202,9 +196,9 @@ each_scanline:
|
|||
cmp #.hibyte(audio_samples_end)
|
||||
bne audio_cont
|
||||
|
||||
lda sample_ptrl
|
||||
cmp #.lobyte(audio_samples_end)
|
||||
bne audio_cont
|
||||
;lda sample_ptrl
|
||||
;cmp #.lobyte(audio_samples_end)
|
||||
;bne audio_cont
|
||||
|
||||
lda #.lobyte(audio_samples)
|
||||
sta sample_ptrl
|
||||
|
@ -215,8 +209,8 @@ each_scanline:
|
|||
.endmacro
|
||||
|
||||
|
||||
;audio_inc
|
||||
inner_scanline
|
||||
audio_inc
|
||||
|
||||
lda VCOUNT
|
||||
cmp #130 ;#130
|
||||
|
|
Loading…
Reference in a new issue