| |
Format name
: Bomb - Shaft 7
Created by : ?!?
Sources :
* music from the demo Shaft 7 by Bomb. Music by Yolk and Legend
of Parallax !!. That, only, is a reason for hours of job
Note : It's nothing I've seen before
.. hence the custom :). Anyway, 32 bytes for sample description, remapping
of the Fx comands ... it reminds me of the XANN packer (hi Xann !) ...
but it's not :).
The following is repeated 31 times
with 32 bytes description for one sample
|
OFFSET
|
SIZE (bytes)
|
COMMENT
|
|
0
1
2
-
6
8
-
Ch
Eh
|
1
1
4
-
2
4
-
2
12h
|
- Finetune
- Volume (0->40h)
- Sample address in the file AFTER pattern data (first is 00000000h)
Sample size / 2
- Loop start address
same as sample address
- Loop size / 2
? padded with 00h
|
Note : One word about these 18 empty bytes ...
first, those are not always empty. In fact, bytes $10 and $11 get a value
each time a finetune is not null ... . That's about all I can guess right
now :(
|
3E0h
3E1h
3E2h
462h
|
1
1
80h
?
|
- Restart pattern number ? not sure
- number of pattern to play
- Pattern list
- Pattern data |
each pattern is stored one after another and is 400h bytes long :
pattern 0 :
row 0 | voice 1 | voice 2 | voice 3 | voice 4 |
row 1 | voice 1 | voice 2 | voice 3 | voice 4 |
row 2 ...
row 63| voice 1 | voice 2 | voice 3 | voice 4 |
pattern 1 : ...
With 4 bytes for a voice description. It all sounds like PTK but
.. the Fx are remapped :(.
Note packing :
relative effect
note number value
/ \ / \
| | | |
0000 0000 0000 0000 0000 0000 0000 0000
| || | | |
\ /\ / \ /
| sample effect
| number
|
unused
|
effects: all the effects
numbers have changed and here is the list
$00: !! never seen ... probably $0
$02: $1 Slide up
$04: !! never seen ... probably $2
$06: $3 Tone Portamento
$08: !! never seen ... probably $4
$0A: !! never seen ... probably $5
$0C: !! never seen ... probably $6
$0E: !! never seen ... probably $7
$10: !! never seen ... probably $8
$12: $9 Sample Offset
$14: $A Volume slide (up and down with signed values)
$16: !! never seen ... probably $B
$18: $C Set Volume
$1A: !! never seen ... probably $D
$1C: $E command E with the same args as PTK (FX value byte is used)
$1E: $F Set Speed
|
relative note number: (Protracker)
C-1 to B-1 : 856,808,762,720,678,640,604,570,538,508,480,453
C-2 to B-2 : 428,404,381,360,339,320,302,285,269,254,240,226
C-3 to B-3 : 214,202,190,180,170,160,151,143,135,127,120,113
|
become : (This format)
C-1 to B-1 : 02,04,06,08,0a,0c,0e,10,12,14,16,18
C-2 to B-2 : 1a,1c,1e,20,22,24,26,28,2a,2c,2e,30
C-3 to B-3 : 32,34,36,38,3a,3c,3e,40,42,44,46,48
|
Follow Sample datas stored like Protracker.
Nothing is packed..
|
|