xref: /freebsd/contrib/file/magic/Magdir/sinclair (revision 3e41d09d08f5bfa2fc1386241f334b865d6da085)
1b6cee71dSXin LI
2b6cee71dSXin LI#------------------------------------------------------------------------------
3*3e41d09dSXin LI# $File: sinclair,v 1.6 2015/11/14 13:38:35 christos Exp $
4b6cee71dSXin LI# sinclair:  file(1) sinclair QL
5b6cee71dSXin LI
6b6cee71dSXin LI# additions to /etc/magic by Thomas M. Ott (ThMO)
7b6cee71dSXin LI
8b6cee71dSXin LI# Sinclair QL floppy disk formats (ThMO)
9b6cee71dSXin LI0	string	=QL5		QL disk dump data,
10b6cee71dSXin LI>3	string	=A		720 KB,
11b6cee71dSXin LI>3	string	=B		1.44 MB,
12b6cee71dSXin LI>3	string	=C		3.2 MB,
13b6cee71dSXin LI>4	string	>\0		label:%.10s
14b6cee71dSXin LI
15b6cee71dSXin LI# Sinclair QL OS dump (ThMO)
16*3e41d09dSXin LI0		belong	=0x30000
17*3e41d09dSXin LI>49124		belong	<47104
18*3e41d09dSXin LI>>49128		belong	<47104
19*3e41d09dSXin LI>>>49132	belong	<47104
20*3e41d09dSXin LI>>>>49136	belong	<47104	QL OS dump data,
21*3e41d09dSXin LI>>>>>49148	string	>\0	type %.3s,
22*3e41d09dSXin LI>>>>>49142	string	>\0	version %.4s
23b6cee71dSXin LI
24b6cee71dSXin LI# Sinclair QL firmware executables (ThMO)
25b6cee71dSXin LI0	string	NqNqNq`\004	QL firmware executable (BCPL)
26b6cee71dSXin LI
27b6cee71dSXin LI# Sinclair QL libraries (was ThMO)
28b6cee71dSXin LI0	beshort	0xFB01		QDOS object
29b6cee71dSXin LI>2	pstring	x		'%s'
30b6cee71dSXin LI
31b6cee71dSXin LI# Sinclair QL executables (was ThMO)
32b6cee71dSXin LI4	belong	0x4AFB		QDOS executable
33b6cee71dSXin LI>9	pstring	x		'%s'
34b6cee71dSXin LI
35b6cee71dSXin LI# Sinclair QL ROM (ThMO)
36b6cee71dSXin LI0	belong	=0x4AFB0001	QL plugin-ROM data,
37b6cee71dSXin LI>9	pstring	=\0		un-named
38b6cee71dSXin LI>9	pstring	>\0		named: %s
39