sinclair 1007 B

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