ds: overwrite more of ram

This commit is contained in:
Vince Weaver 2019-11-15 21:51:06 -05:00
parent ae8598f8b0
commit a819795da8
3 changed files with 11 additions and 9 deletions

View File

@ -211,7 +211,7 @@ credits_loop:
; 3+2+3+6+1237 play fake (-1)
lda FRAME_PLAY_PAGE ; 3
cmp #$7 ; 2 ; FIXME
cmp #$8 ; 2 ; FIXME
beq play_fake ; 3
; -1
play_actual:

View File

@ -20,21 +20,21 @@ lc4_frame_decode_loop:
rts
pt3_write_lc_7:
pt3_write_lc_8:
; page offset
lda #0
sta FRAME_PAGE
lc7_frame_decode_loop:
lc8_frame_decode_loop:
jsr pt3_set_pages
jsr pt3_write_lc
lda FRAME_PAGE
cmp #7
bne lc7_frame_decode_loop
cmp #8
bne lc8_frame_decode_loop
rts

View File

@ -58,8 +58,8 @@ end_book:
sta FRAME_PAGE
jsr update_pt3_play
; setup 7 frames
jsr pt3_write_lc_7
; setup 8 frames
jsr pt3_write_lc_8
;=============================
; Load graphic page0
@ -76,10 +76,10 @@ end_book:
lda #4
sta DRAW_PAGE
jsr gr_copy_to_current ; copy to page1
jsr play_frame_compressed ; 6+1237
; GR part
bit PAGE1
bit LORES ; 4
@ -101,6 +101,8 @@ end_book:
jsr gr_copy_to_current
jsr play_frame_compressed ; 6+1237
; GR part
bit PAGE0