From 79e5710786affb6183b59d313ed071ecda339efe Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Fri, 20 Dec 2019 21:26:15 -0500 Subject: [PATCH] xmas2019: adjust music line length --- xmas_2019/pt3_lib_play_frame.s | 2 +- xmas_2019/pt3_lib_write_lc.s | 4 ++-- xmas_2019/xmas2019.s | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/xmas_2019/pt3_lib_play_frame.s b/xmas_2019/pt3_lib_play_frame.s index d37a8604..d16eb3f3 100644 --- a/xmas_2019/pt3_lib_play_frame.s +++ b/xmas_2019/pt3_lib_play_frame.s @@ -188,7 +188,7 @@ r12_smc: iny ; 2 sty FRAME_PLAY_OFFSET ; 3 - cpy #63*4 ; FIXME: song specific ; 2 + cpy #0 ;64*4 ; FIXME: song specific ; 2 beq frame_wrap ; 3 ;========== ; 10 diff --git a/xmas_2019/pt3_lib_write_lc.s b/xmas_2019/pt3_lib_write_lc.s index e852558e..bf31d706 100644 --- a/xmas_2019/pt3_lib_write_lc.s +++ b/xmas_2019/pt3_lib_write_lc.s @@ -82,8 +82,8 @@ lc_frame_decode_loop: no_play_music: lda FRAME_OFFSET - cmp #63*4 ; FIXME: make this depend on song - ; hardcoding for 63 for our song + cmp #0 ;64*4 ; FIXME: make this depend on song + ; hardcoding for 64 for our song bne lc_frame_decode_loop inc FRAME_PAGE diff --git a/xmas_2019/xmas2019.s b/xmas_2019/xmas2019.s index a3157a62..2580ee77 100644 --- a/xmas_2019/xmas2019.s +++ b/xmas_2019/xmas2019.s @@ -103,7 +103,7 @@ TREESIZE = 12 jsr HGR - bit SET_GR + bit SET_TEXT bit FULLGR bit LORES bit PAGE0