taut: cue inst str

This commit is contained in:
minjaesong
2026-06-15 00:01:03 +09:00
parent 1fa4073a11
commit 04cac5c60b
2 changed files with 11 additions and 3 deletions

View File

@@ -2232,7 +2232,15 @@ function cueInstToStr(inst) {
case 0b0010: case 0b0010:
return "LEN " + arg8.dec02() return "LEN " + arg8.dec02()
case 0b0001: case 0b0001:
return arg8 ? ("FADE" + arg8.dec02()) : "HALT " if (!arg8) return "HALT "
switch (arg8 >>> 6) {
case 0b00:
return "FADE" + (arg8 & 63).dec02()
case 0b01:
return "HALT" + (arg8 & 63).dec02()
default:
return fallback
}
case 0b0000: case 0b0000:
return "NO-OP " return "NO-OP "
default: default:

View File

@@ -3021,8 +3021,8 @@ Play Head Flags
1111xxxx yyyyyyyy (JMP000) - Go to absolute pattern number 0bxxxxyyyyyyyy 1111xxxx yyyyyyyy (JMP000) - Go to absolute pattern number 0bxxxxyyyyyyyy
00000010 00xxxxxx (LEN 00) - Pattern length for this cue (0..63), where 0: 1 row, 63: 64 rows (decoded by AudioAdapter as of 2026-05-05; emitted by xm2taud / it2taud for non-multiple-of-64 source patterns) 00000010 00xxxxxx (LEN 00) - Pattern length for this cue (0..63), where 0: 1 row, 63: 64 rows (decoded by AudioAdapter as of 2026-05-05; emitted by xm2taud / it2taud for non-multiple-of-64 source patterns)
00000001 00000000 - Halt (HALT ) - Play the full length of the pattern then stop the playback 00000001 00000000 - Halt (HALT ) - Play the full length of the pattern then stop the playback
00000001 01xxxxxx - Halt at x (HALT 00) - Play the specified length of the pattern then stop the playback. x = 0 is identical to regular HALT. (decoded by AudioAdapter as of 2026-06-14; emitted as the final cue by midi2taud / it2taud / xm2taud so a partial last bar halts at its own length) 00000001 01xxxxxx - Halt at x (HALT00) - Play the specified length of the pattern then stop the playback. x = 0 is identical to regular HALT. (decoded by AudioAdapter as of 2026-06-14; emitted as the final cue by midi2taud / it2taud / xm2taud so a partial last bar halts at its own length)
00000001 00xxxxxx - Fadeout (FADOUT) - Gradually decrease global volume such that at row 0bxxxxxx it reaches zero, then stop the playback 00000001 00xxxxxx - Fadeout (FADE00) - Gradually decrease global volume such that at row 0bxxxxxx it reaches zero, then stop the playback
00000000 - No operation 00000000 - No operation
65536..131071 RW: PCM Sample buffer 65536..131071 RW: PCM Sample buffer