sinclair 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #------------------------------------------------------------------------------
  2. # $File: sinclair,v 1.7 2021/04/27 20:35:51 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. 6 beshort 0x4AFB QDOS executable
  28. >9 pstring x '%s'
  29. # Sinclair QL ROM (ThMO)
  30. 0 belong =0x4AFB0001 QL plugin-ROM data,
  31. >9 pstring =\0 un-named
  32. >9 pstring >\0 named: %s