xref: /dragonfly/contrib/file/magic/Magdir/sinclair (revision 956939d5)
1
2#------------------------------------------------------------------------------
3# sinclair:  file(1) sinclair QL
4
5# additions to /etc/magic by Thomas M. Ott (ThMO)
6
7# Sinclair QL floppy disk formats (ThMO)
80	string	=QL5		QL disk dump data,
9>3	string	=A		720 KB,
10>3	string	=B		1.44 MB,
11>3	string	=C		3.2 MB,
12>4	string	>\0		label:%.10s
13
14# Sinclair QL OS dump (ThMO)
15# (NOTE: if `file' would be able to use indirect references in a endian format
16#	 differing from the natural host format, this could be written more
17#	 reliably and faster...)
18#
19# we *can't* lookup QL OS code dumps, because `file' is UNABLE to read more
20# than the first 8K of a file... #-(
21#
22#0		belong	=0x30000
23#>49124		belong	<47104
24#>>49128		belong	<47104
25#>>>49132	belong	<47104
26#>>>>49136	belong	<47104	QL OS dump data,
27#>>>>>49148	string	>\0	type %.3s,
28#>>>>>49142	string	>\0	version %.4s
29
30# Sinclair QL firmware executables (ThMO)
310	string	NqNqNq`\004	QL firmware executable (BCPL)
32
33# Sinclair QL libraries (was ThMO)
340	beshort	0xFB01		QDOS object
35>2	pstring	x		'%s'
36
37# Sinclair QL executables (was ThMO)
384	belong	0x4AFB		QDOS executable
39>9	pstring	x		'%s'
40
41# Sinclair QL ROM (ThMO)
420	belong	=0x4AFB0001	QL plugin-ROM data,
43>9	pstring	=\0		un-named
44>9	pstring	>\0		named: %s
45