ok almost working ;) sometimes loses palette sync
This commit is contained in:
parent
53026bbfdd
commit
1fc90173f7
1 changed files with 2 additions and 4 deletions
|
@ -34,7 +34,7 @@ bytes_per_line = 40
|
|||
pages_per_frame = 32
|
||||
lines_per_frame = 262
|
||||
;scanline_offset = 31 + (40 - 24) / 2
|
||||
scanline_offset = 40
|
||||
scanline_offset = 46
|
||||
scanline_max = (lines_per_frame - scanline_offset) / 2
|
||||
|
||||
.data
|
||||
|
@ -227,7 +227,7 @@ wait_loop:
|
|||
cpy #0
|
||||
bne each_scanline_pair
|
||||
|
||||
audio_inc
|
||||
audio_inc ; @FIXME
|
||||
lda frame_counter
|
||||
eor #1
|
||||
sta frame_counter
|
||||
|
@ -236,8 +236,6 @@ wait_loop:
|
|||
.endscope
|
||||
.endmacro
|
||||
|
||||
lda #(256 - scanline_offset)
|
||||
sta scanline
|
||||
lda frame_counter
|
||||
beq run_frame1
|
||||
jmp run_frame2
|
||||
|
|
Loading…
Reference in a new issue