What I can see from browsing the internet and looking at some images in a hex editor, things look
something like this:
2352 byte sectors
sectors 0-15 useless, there is some more structure later though with regards to the filesystem (which may not be used?) and exe location perhaps (in the end?) that I'm unsure about
assuming XA..
00 FF FF FF FF FF FF FF FF FF FF 00 -(12) sync pattern
xx xx xx -(3) address in some ugly format, irrelevant?
02 -(1) mode
ss ss ss ss ss ss ss ss -(8) subheader
(edited from
http://club.myce.com/f61/sub-headers-207630/):
0 Identification of interlocked files
1 Channel Number
2 Submode Byte
BIT 7: Signals End of File (EOF)
BIT 6: Signals if Data is dependent on time
BIT 5: Signals if sector is Form 1 or Form 2
BIT 4: Type on (depends on the Operating System)
BIT 3: Data Sector
BIT 2: ADPCM Audio Sector
BIT 1: Video Sector
BIT 0: Signals End of Record (EOR)
3 Type of Coding for the Video and Audio data (00 when data sector)
4-7 duplicate 4 first bytes
Note that different sectors can be form1 or form2 within the same image. The subheaders may look something like this?
form1 (data): bits 3 set, byte3 zero, 2048 data, 4 CRC32, 276 RSPC
form2 (media): bits 2 5 6 set, byte3 nonzero, 2324 data, 4 CRC32
,with the exception of "01 00 00 00" sectors in media?