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