chiptune_player: cleanup some labels

This commit is contained in:
Vince Weaver 2018-02-25 00:23:27 -05:00
parent 7e4a326818
commit 2ebf6c37e8

View File

@ -210,7 +210,7 @@ back_to_first_reg:
lda #0 ; 2 lda #0 ; 2
bit DECODER_STATE ; 3 bit DECODER_STATE ; 3
bmi back_to_first_reg_c ; 2nt/3 bmi back_to_first_reg_c ; 2nt/3
bvc back_to_first_reg_a bvc back_to_first_reg_a ; 2nt/3
back_to_first_reg_b: back_to_first_reg_b:
lda #$1 ; offset by 1 lda #$1 ; offset by 1
@ -219,7 +219,7 @@ back_to_first_reg_a:
clc ; 2 clc ; 2
adc #>UNPACK_BUFFER ; in proper chunk 1 or 2 ; 2 adc #>UNPACK_BUFFER ; in proper chunk 1 or 2 ; 2
jmp done_interrupt ; 3 jmp update_r0_pointer ; 3
back_to_first_reg_c: back_to_first_reg_c:
lda #>(UNPACK_BUFFER+$2A00) ; in proper chunk (1 of 3) ; 2 lda #>(UNPACK_BUFFER+$2A00) ; in proper chunk (1 of 3) ; 2
@ -227,9 +227,15 @@ back_to_first_reg_c:
;============ ;============
; 18 ; 18
done_interrupt:
update_r0_pointer:
sta INH ; update r0 pointer ; 3 sta INH ; update r0 pointer ; 3
;=================================
; Finally done with this interrupt
;=================================
done_interrupt:
pla ; restore a ; 4 pla ; restore a ; 4
rti ; return from interrupt ; 6 rti ; return from interrupt ; 6