urk, maybe no cycles free ;)
This commit is contained in:
parent
7dfa1dfb26
commit
019422e6e5
1 changed files with 43 additions and 39 deletions
12
dither4.s
12
dither4.s
|
@ -131,6 +131,7 @@ wait_loop:
|
|||
each_scanline:
|
||||
; it'll fire on unused lines, but harmlessly
|
||||
|
||||
.macro fake1
|
||||
jmp fake
|
||||
; audio sample; low nybble
|
||||
ldx #0
|
||||
|
@ -153,6 +154,7 @@ each_scanline:
|
|||
ora #$10
|
||||
lda #0
|
||||
pha
|
||||
.endmacro
|
||||
|
||||
fake:
|
||||
lda #18
|
||||
|
@ -187,6 +189,7 @@ each_scanline:
|
|||
|
||||
inner_scanline
|
||||
|
||||
.macro audio_inc
|
||||
; Increment sample ptr
|
||||
jmp audio_cont
|
||||
inc sample_ptrl
|
||||
|
@ -205,6 +208,7 @@ each_scanline:
|
|||
sta sample_ptrl
|
||||
lda #.hibyte(audio_samples)
|
||||
sta sample_ptrh
|
||||
.endmacro
|
||||
|
||||
audio_cont:
|
||||
|
||||
|
@ -212,11 +216,11 @@ audio_cont:
|
|||
|
||||
lda VCOUNT
|
||||
cmp #130 ;#130
|
||||
;bne each_scanline
|
||||
bne foo
|
||||
bne each_scanline
|
||||
;bne foo
|
||||
jmp wait_start
|
||||
foo:
|
||||
jmp each_scanline
|
||||
;foo:
|
||||
;jmp each_scanline
|
||||
|
||||
.endproc
|
||||
|
||||
|
|
Loading…
Reference in a new issue