sinclair (246e7a2b6494cd991b08ac669ed761ecea0cc98c) sinclair (3e41d09d08f5bfa2fc1386241f334b865d6da085)
1
2#------------------------------------------------------------------------------
1
2#------------------------------------------------------------------------------
3# $File: sinclair,v 1.5 2009/09/19 16:28:12 christos Exp $
3# $File: sinclair,v 1.6 2015/11/14 13:38:35 christos Exp $
4# sinclair: file(1) sinclair QL
5
6# additions to /etc/magic by Thomas M. Ott (ThMO)
7
8# Sinclair QL floppy disk formats (ThMO)
90 string =QL5 QL disk dump data,
10>3 string =A 720 KB,
11>3 string =B 1.44 MB,
12>3 string =C 3.2 MB,
13>4 string >\0 label:%.10s
14
15# Sinclair QL OS dump (ThMO)
4# sinclair: file(1) sinclair QL
5
6# additions to /etc/magic by Thomas M. Ott (ThMO)
7
8# Sinclair QL floppy disk formats (ThMO)
90 string =QL5 QL disk dump data,
10>3 string =A 720 KB,
11>3 string =B 1.44 MB,
12>3 string =C 3.2 MB,
13>4 string >\0 label:%.10s
14
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...)
19#
20# we *can't* lookup QL OS code dumps, because `file' is UNABLE to read more
21# than the first 8K of a file... #-(
22#
23#0 belong =0x30000
24#>49124 belong <47104
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
160 belong =0x30000
17>49124 belong <47104
18>>49128 belong <47104
19>>>49132 belong <47104
20>>>>49136 belong <47104 QL OS dump data,
21>>>>>49148 string >\0 type %.3s,
22>>>>>49142 string >\0 version %.4s
30
31# Sinclair QL firmware executables (ThMO)
320 string NqNqNq`\004 QL firmware executable (BCPL)
33
34# Sinclair QL libraries (was ThMO)
350 beshort 0xFB01 QDOS object
36>2 pstring x '%s'
37
38# Sinclair QL executables (was ThMO)
394 belong 0x4AFB QDOS executable
40>9 pstring x '%s'
41
42# Sinclair QL ROM (ThMO)
430 belong =0x4AFB0001 QL plugin-ROM data,
44>9 pstring =\0 un-named
45>9 pstring >\0 named: %s
23
24# Sinclair QL firmware executables (ThMO)
250 string NqNqNq`\004 QL firmware executable (BCPL)
26
27# Sinclair QL libraries (was ThMO)
280 beshort 0xFB01 QDOS object
29>2 pstring x '%s'
30
31# Sinclair QL executables (was ThMO)
324 belong 0x4AFB QDOS executable
33>9 pstring x '%s'
34
35# Sinclair QL ROM (ThMO)
360 belong =0x4AFB0001 QL plugin-ROM data,
37>9 pstring =\0 un-named
38>9 pstring >\0 named: %s