acorn 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. #------------------------------------------------------------------------------
  2. # acorn: file(1) magic for files found on Acorn systems
  3. #
  4. # RISC OS Chunk File Format
  5. # From RISC OS Programmer's Reference Manual, Appendix D
  6. # We guess the file type from the type of the first chunk.
  7. 0 lelong 0xc3cbc6c5 RISC OS Chunk data
  8. >12 string OBJ_ \b, AOF object
  9. >12 string LIB_ \b, ALF library
  10. # RISC OS AIF, contains "SWI OS_Exit" at offset 16.
  11. 16 lelong 0xef000011 RISC OS AIF executable
  12. # RISC OS Draw files
  13. # From RISC OS Programmer's Reference Manual, Appendix E
  14. 0 string Draw RISC OS Draw file data
  15. # RISC OS new format font files
  16. # From RISC OS Programmer's Reference Manual, Appendix E
  17. 0 string FONT\0 RISC OS outline font data,
  18. >5 byte x version %d
  19. 0 string FONT\1 RISC OS 1bpp font data,
  20. >5 byte x version %d
  21. 0 string FONT\4 RISC OS 4bpp font data
  22. >5 byte x version %d
  23. # RISC OS Music files
  24. # From RISC OS Programmer's Reference Manual, Appendix E
  25. 0 string Maestro\r RISC OS music file
  26. >8 byte x version %d