spectrum revision 68349
1
2#------------------------------------------------------------------------------
3# spectrum:  file(1) magic for Spectrum emulator files.
4#
5# John Elliott <jce@seasip.demon.co.uk>
6
7#
8# Spectrum +3DOS header
9#
100       string          PLUS3DOS\032    Spectrum +3 data
11>15     byte            0               - BASIC program
12>15     byte            1               - number array
13>15     byte            2               - character array
14>15     byte            3               - memory block
15>>16    belong          0x001B0040      (screen)
16>15     byte            4               - Tasword document
17>15     string          TAPEFILE        - ZXT tapefile
18#
19# Tape file. This assumes the .TAP starts with a Spectrum-format header,
20# which nearly all will.
21#
220       string          \023\000\000    Spectrum .TAP data
23>4      string          x               "%-10.10s"
24>3      byte            0               - BASIC program
25>3      byte            1               - number array
26>3      byte            2               - character array
27>3      byte            3               - memory block
28>>14    belong          0x001B0040      (screen)
29