Code: Select all
mpp_Update_ACHN_notest:
...
push {lr}
...
ldrb r0, [r6, #MCA_SAMPLE]
sub r0, #1
bcc .mppt_achn_nostart @ no sample!!
...
.mppt_achn_noinst:
push {r4}
...
.mppt_achn_nostart:
...
.mpp_achn_updated:
pop {r4}
pop {r0}
bx r0
Code: Select all
diff -ur maxmod_1.06src-org/source/mm_mas.s maxmod_1.06src/source/mm_mas.s
--- maxmod_1.06src-org/source/mm_mas.s 2008-12-23 12:51:50.000000000 -0500
+++ maxmod_1.06src/source/mm_mas.s 2010-05-05 07:18:08.000000000 -0400
@@ -2002,7 +2002,7 @@
ldrb r0, [r6, #MCA_SAMPLE]
sub r0, #1
- bcc .mppt_achn_nostart @ no sample!!
+ bcc .mppt_achn_nostart_push @ no sample!!
@bl mpp_SamplePointer
mpp_SamplePointer
@@ -2040,6 +2040,9 @@
bl mpph_PitchSlide_Up @ pitch slide
#endif
b .mppt_av_finished @
+.mppt_achn_nostart_push: @ push r4 before jump
+ push {r4}
+ b .mppt_achn_nostart
.mppt_av_minus: @ --slide down
neg r1, r2 @ r1 = slide value
mov r0, r5 @ r0 = frequency