HR-16/HR16B Service Manual 1.00
27
22H
TOM 3 sound number (0-30H)
23H
TOM 3 output assign (bit 7) and volume (bits 0-6: 0-63H)
24H
TOM 3 panning (bits 5-7: 0=L, 6=R) & pitch (bits 0-4:0=-16, 1FH=+15)
25H
TOM 4 sound number (0-30H)
26H
TOM 4 output assign (bit 7) and volume (bits 0-6: 0-63H)
27H
TOM 4 panning (bits 5-7: 0=L, 6=R) & pitch (bits 0-4:0=-16, 1FH=+15)
28H
RIDE sound number (0-30H)
29H
RIDE output assign (bit 7) and volume (bits 0-6: 0-63H)
2AH
RIDE panning (bits 5-7: 0=L, 6=R) & pitch (bits 0-4:0=-16, 1FH=+15)
2BH
CRASH sound number (0-30H)
2CH
CRASH output assign (bit 7) and volume (bits 0-6: 0-63H)
2DH
CRASH panning (bits 5-7: 0=L, 6=R) & pitch (bits 0-4:0=-16, 1FH=+15)
2EH
PERC 1 sound number (0-30H)
2FH
PERC 1 output assign (bit 7) and volume (bits 0-6: 0-63H)
30H
PERC 1 panning (bits 5-7: 0=L, 6=R) & pitch (bits 0-4:0=-16, 1FH=+15)
31H
PERC 2 sound number (0-30H)
32H
PERC 2 output assign (bit 7) and volume (bits 0-6: 0-63H)
33H
PERC 2 panning (bits 5-7: 0=L, 6=R) & pitch (bits 0-4:0=-16, 1FH=+15)
34H-?? PATTERN
DATA
??
0FFH (End of pattern)
Pattern data must follow these rules:
1) Each byte of the pattern data (from 34H on) is either a drum event, or a count of clocks to wait, or
0FFH, which indicates the end of the pattern. If the event is a drum event, bit 7 will be 0, bits 4-6 will
contain the dynamics of the note (0-7), and bits 0-3 will contain the drum to be played (0-15, in the
same order as above). If the event is a count of clocks, bit 7 will be high, and bits 0-6 will indicate the
number of clocks to wait (0-126). A wait of 0 clocks is legal, and will cause the pointer to
immediately advance to the next event. An empty 8 beat pattern would consist of the following
pattern data: 0FEH, 0FEH, 0FEH, 0FEH, 0FEH, 0FEH, 08CH, 0FFH. This data will count clocks for
126*6+12 clocks (768 clocks, divided by 96 clocks per beat = 8 beats), after which it will loop around
since it has reached the end of the pattern.
2) Adding the number of bytes in a pattern to the absolute pointer of a pattern should point to 1 byte past
the last byte of the pattern.
SONG DATA FORMAT
The following is the format of each song, starting with the address pointed to by the absolute pointer to the
pattern (offset by 8200H):
00H
LSB of number of bytes in song, including header.
01H
MSB of number of bytes in song, including header.
02H Step
1
03H Step
2
04H Step
3
05H Step
4
06H etc....
xxH
Pattern number 0FFH (end of song)
Song data must follow these rules: