fix IDXM'ing of the wrong notes
[Chiptunes-pms150c.git] / bsv.asm
diff --git a/bsv.asm b/bsv.asm
index 2c34bc97dd9cb9eb2fbe68bedc73a3d4367e83f8..ebda8208335cd9b9c35113a20540ebf56aeb302a 100644 (file)
--- a/bsv.asm
+++ b/bsv.asm
@@ -120,8 +120,11 @@ g:
        ; test i2 & 3:
        MOV     a, i2
        AND     a, #3
-       T1SN    f, z
-       SET1    notes_ix, #3
+       T0SN    f, z
+       GOTO    skip_plus8
+       MOV     a, #8
+       ADD     notes_ix, a
+       skip_plus8:
        IDXM    a, notes_ix
 
        MOV     t, a
Imprint / Impressum