pt3: get envelopes working, ea.pt3 plays now

This commit is contained in:
Vince Weaver 2019-05-14 01:57:46 -04:00
parent e475e43218
commit caf5063e86

View File

@ -1030,6 +1030,10 @@ decode_case_not_10:
sta pt3_envelope_type
lda #$78
sta pt3_envelope_type_old
; get next byte
iny
lda (PATTERN_L),Y
@ -1175,6 +1179,9 @@ decode_case_bx_higher:
sbc #1
sta pt3_envelope_type ; envelope_type=(current_val&0xf)-1;
lda #$78
sta pt3_envelope_type_old
; get next byte
iny
lda (PATTERN_L),Y