2 #------------------------------------------------------------------------------
3 # $File: sinclair,v 1.5 2009/09/19 16:28:12 christos Exp $
4 # sinclair: file(1) sinclair QL
6 # additions to /etc/magic by Thomas M. Ott (ThMO)
8 # Sinclair QL floppy disk formats (ThMO)
9 0 string =QL5 QL disk dump data,
13 >4 string >\0 label:%.10s
15 # Sinclair QL OS dump (ThMO)
16 # (NOTE: if `file' would be able to use indirect references in a endian format
17 # differing from the natural host format, this could be written more
18 # reliably and faster...)
20 # we *can't* lookup QL OS code dumps, because `file' is UNABLE to read more
21 # than the first 8K of a file... #-(
25 #>>49128 belong <47104
26 #>>>49132 belong <47104
27 #>>>>49136 belong <47104 QL OS dump data,
28 #>>>>>49148 string >\0 type %.3s,
29 #>>>>>49142 string >\0 version %.4s
31 # Sinclair QL firmware executables (ThMO)
32 0 string NqNqNq`\004 QL firmware executable (BCPL)
34 # Sinclair QL libraries (was ThMO)
35 0 beshort 0xFB01 QDOS object
38 # Sinclair QL executables (was ThMO)
39 4 belong 0x4AFB QDOS executable
42 # Sinclair QL ROM (ThMO)
43 0 belong =0x4AFB0001 QL plugin-ROM data,
44 >9 pstring =\0 un-named
45 >9 pstring >\0 named: %s