From c946de41ad66e500f95745123d54091c804353bc Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Thu, 8 Mar 2018 15:34:52 -0500 Subject: [PATCH] chiptune: remove some dead code --- chiptune_player/interrupt_handler.s | 40 +---------------------------- 1 file changed, 1 insertion(+), 39 deletions(-) diff --git a/chiptune_player/interrupt_handler.s b/chiptune_player/interrupt_handler.s index 3f0b0571..adc23f51 100644 --- a/chiptune_player/interrupt_handler.s +++ b/chiptune_player/interrupt_handler.s @@ -103,7 +103,7 @@ mb_not_done: cpx #13 ; 2 bne mb_not_13 ; 3/2nt cmp #$ff ; 2 - beq phase_specific ; 3/2nt + beq increment_offset ; 3/2nt mb_not_13: sta MB_VALUE ; 3 @@ -138,44 +138,6 @@ mb_not_13: ; *13= 1235? - ;============================================== - ; phase_specific action - ;============================================== - - ; if phase is A and OFFSET&0x0f==0 then do a copy - ; if phase is B, do nothing - ; if phase is C, do a decompress step - -phase_specific: - -; lda #$20 ; 2 -; bit DECODER_STATE ; V=B, N=C else A ; 3 -; bvs increment_offset ; 2nt/3 -; bmi decompress_step ; 2nt/3 - -;handle_copy: -; lda MB_CHUNK_OFFSET ; 3 -; and #$0f ; 2 -; bne increment_offset ; 2nt/3 - -; lda COPY_OFFSET ; 3 -; cmp #$14 ; 2 -; beq increment_offset ; 2nt/3 - -; jsr page_copy ;6+3621 - -; inc COPY_OFFSET ; (opt: make subtract?) ; 5 - -; jmp increment_offset ; 3 - -;decompress_step: -; lda LZ4_DONE -; bne increment_offset - -; jsr lz4_decode_step -; bcc increment_offset -; inc LZ4_DONE - ;============================================== ; incremement offset. If 0 move to next chunk ;==============================================