1b6cee71dSXin LI 2b6cee71dSXin LI#------------------------------------------------------------------------------ 3*43a5ec4eSXin LI# $File: sinclair,v 1.7 2021/04/27 20:35:51 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) 163e41d09dSXin LI0 belong =0x30000 173e41d09dSXin LI>49124 belong <47104 183e41d09dSXin LI>>49128 belong <47104 193e41d09dSXin LI>>>49132 belong <47104 203e41d09dSXin LI>>>>49136 belong <47104 QL OS dump data, 213e41d09dSXin LI>>>>>49148 string >\0 type %.3s, 223e41d09dSXin 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' 34*43a5ec4eSXin LI6 beshort 0x4AFB QDOS executable 35*43a5ec4eSXin LI>9 pstring x '%s' 36b6cee71dSXin LI 37b6cee71dSXin LI# Sinclair QL ROM (ThMO) 38b6cee71dSXin LI0 belong =0x4AFB0001 QL plugin-ROM data, 39b6cee71dSXin LI>9 pstring =\0 un-named 40b6cee71dSXin LI>9 pstring >\0 named: %s 41