Structure of TBR module v 1.0 - Erwin 1993

Offset  Bytes   Description

0       2       Sample 1's segment (samples offset/16)
2       2       Sample 1's length
4       1       Sample 1's volume
5       1       Sample 1's finetune
6       2       Sample 1's repeat begin
2       1       1 = loop the sample, 0 = don't loop

10     10       SAMPLE 2 : like sample 1
20     10       SAMPLE 3
.       .
300    10       SAMPLE 31

310	1	Song lenght
311     1       Highest pattern # (0-63)
312     128     Song positions 0-127 (values 0-63)
440     8       not used (these are here to make the patterns start at a page
                        boundary)

448     1024    Pattern 00:n ch1 ch2 ch3 ch4 data (Rows 1-64)

??      1024    Highest pattern's ch1 ch2 ch3 ch4 data

??      ??      Sample 1 data (Samples reversed! I.e. the last byte of sample
                is stored first etc. See player.txt for details.)
??	??	Sample 2 data
.	.
??	??	Sample 31 data

*End of File*

Note's (channle's) info:
Byte 1     Byte 2     Byte 3     Byte 4
00000000   00000000   xxxx0000   00000000
Note       Sample     effect     effect
(1-37)     (1-31)     command    info (hi - lo)
		      bits 8-11  bits 0-7

Effects implemented:
command:        00h     none/arpeggio (hi - add 1st,lo - add 2nd)
                01h     portamento up
                02h     portamento down
                03h     portamento to tone
                04h     vibrato (hi - speed, lo - depth)
                05h     Not implemented
                06h     Not implemented
                07h     Not implemented
                08h     info byte is stored into variable geffect8
                09h     sample offset
                0ah     volume slide (hi 4 - up speed, lo 4 - down speed)
                0bh     jump to pattern
                0ch     volume
                0dh     break pattern
                0eh     see below
                0fh     set tempo

E Commands:     e0-     Not implemented
                e1-     fine portamento up  (lo - amount)
                e2-     fine portamento down (lo - amount)
                e3-     Not implemented
                e4-     Not implemented
                e5-     Not implemented
                e6-     Not implemented
                e7-     Not implemented
                e8-     Not implemented
                e9-     retrig  note (lo - retrig tick)
                0e2-    fine portamento down
                ea-     fine volume slide up (lo - amount)
                eb-     fine volume slide down (lo - amount)
                ec-     cut note (lo - cut tick)
                ed-     delay note (lo - delay tick)
                ee-     Not implemented
                ef-     Not implemented

