2) If a pattern or song does not exist, its MSB pointer will = 0, which is an illegal pointer address. Since there will be no data for this pattern, it is skipped, i.e., if pattern 04 is empty, pattern 05's data follows after pattern 03's data. 3) There can be no gaps in the data. Pattern 01's data must follow directly after pattern 00's data, etc. 4) Locations 2CDH-2CEH (start of free memory) and 2D1H-2D2H (length of free memory) must be kept valid. 5) Song 99 MUST exist. This means that at least an empty song (03H 00H FFH) must be at the end of memory, and song 99 must point to it.
6) It is suggested that all DON'T CARE data be left in the state that it is received in, although these locations can be replaced with zeroes. PATTERN DATA FORMAT The following is the format of each pattern, starting with the address pointed to byte the absolute pointer to the pattern (offset by 8200H): 00H LSB of number of bytes in pattern, including header. 01H MSB of number of bytes in pattern, including header. 02H LSB of number of beats in pattern in BCD format (0 beats = 03H MSB of number of beats in pattern in BCD format empty pattern) 04H KICK sound number (0-30H) 05H KICK output assign (bit 7) and volume (bits 0-6: 0-63H) 06H KICK panning (bits 5-7:
0=L, 6=R) & pitch (bits 0-4:0=-16, 1FH=+15) 07H SNARE sound number (0-30H) 08H SNARE output assign (bit 7) and volume (bits 0-6: 0-63H) 09H SNARE panning (bits 5-7: 0=L, 6=R) & pitch (bits 0-4:0=-16, 1FH=+15) 0AH CLS HAT sound number (0-30H) 0BH CLS HAT output assign (bit 7) and volume (bits 0-6: 0-63H) 0CH CLS HAT panning (bits 5-7: 0=L, 6=R) & pitch (bits 0-4:0=-16, 1FH=15) 0DH MID HAT sound number (0-30H) 0EH MID HAT output assign (bit 7) and volume (bits 0-6: 0-63H) 0FH MID HAT panning (bits 5-7: 0=L, 6=R) & pitch (bits 0-4:0=-16, 1FH=15) 10H OPN HAT sound number (0-30H) 11H OPN HAT output assign (bit 7) and volume (bits 0-6: 0-63H) 12H OPN HAT panning (bits 5-7:
0=L,6=R) & pitch (bits 0-4:0=-16, 1FH=15) 13H CLAPS sound number (0-30H) 14H CLAPS output assign (bit 7) and volume (bits 0-6: 0-63H) 15H CLAPS panning (bits 5-7: 0=L, 6=R) & pitch (bits 0-4:0=-16, 1FH=+15) 16H PERC 3 sound number (0-30H) 17H PERC 3 output assign (bit 7) and volume (bits 0-6: 0-63H) 18H PERC 3 panning (bits 5-7: 0=L, 6=R) & pitch (bits 0-4:0=-16, 1FH=+15) 19H PERC 4 sound number (0-30H) 1AH PERC 4 output assign (bit 7) and volume (bits 0-6: 0-63H) 1BH PERC 4 panning (bits 5-7: 0=L, 6=R) & pitch (bits 0-4:0=-16, 1FH=+15) 1CH TOM 1 sound number (0-30H) 1DH TOM 1 output assign (bit 7) and volume (bits 0-6: 0-63H) 1EH TOM 1 panning (bits 5-7:
0=L, 6=R) & pitch (bits 0-4:0=-16, 1FH=+15) 1FH TOM 2 sound number (0-30H) 20H TOM 2 output assign (bit 7) and volume (bits 0-6: 0-63H) 21H TOM 2 panning (bits 5-7: 0=L, 6=R) & pitch (bits 0-4:0=-16, 1FH=+15) HR-16/HR16B Service Manual 1.00 26