2
Magnetic Internal Data Formats
3
==============================
5
Unless otherwise stated all words are big-endian. The datafile format
10
Offset Size Explanation
11
-----------------------
14
8 4 Size of header (42 in this version)
19
3. Myth, Corruption, Fish!
20
4. Magnetic Windows versions
22
18 4 Size of string data ( <=65536 ) [2]
23
22 4 Size of string data part 2 (the rest) [3]
24
26 4 Size of dictionary [4]
25
30 4 String table offset ( <=[2]+[3] )
26
34 4 Offset in the code block up to which undo and restart
27
data is saved. This originally had a very clear meaning
28
as the C64 versions used read-only swapping from disk
29
after that offset. Other versions are somewhat less
30
obvious, but looking at the save-routines should help.
31
38 4 Undo offset, ie. the offset in the code block at which
32
data for the undo operation is saved, usually in the
33
beginning of the main loop. A zero value works just
34
nicely if you don't care about undo (which isn't
39
++ [4] Dictionary data
41
2) Graphics file (.gfx). This is basically just an encapsulation of
42
the original Amiga graphics files.
44
Offset Size Explanation
45
-----------------------
48
8+4*k 4 Offset to the k:th picture data
50
The format of the individual pictures is somewhat obscure, but the
51
details can be found in the routine ms_extract() in the source file