1 #------------------------------------------------------------------------------
2 # acorn: file(1) magic for files found on Acorn systems
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
12 # RISC OS AIF, contains "SWI OS_Exit" at offset 16.
13 16 lelong 0xef000011 RISC OS AIF executable
16 # From RISC OS Programmer's Reference Manual, Appendix E
17 0 string Draw RISC OS Draw file data
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,
23 0 string FONT\1 RISC OS 1bpp font data,
25 0 string FONT\4 RISC OS 4bpp font data
29 # From RISC OS Programmer's Reference Manual, Appendix E
30 0 string Maestro\r RISC OS music file
35 # Digital Symphony data files
36 # From: Bernard Jungen (bern8817@euphonynet.be)
37 0 string \x02\x01\x13\x13\x13\x01\x0d\x10 Digital Symphony sound sample (RISC OS),
39 >9 pstring x named "%s",
40 >(9.b+19) byte =0 8-bit logarithmic
41 >(9.b+19) byte =1 LZW-compressed linear
42 >(9.b+19) byte =2 8-bit linear signed
43 >(9.b+19) byte =3 16-bit linear signed
44 >(9.b+19) byte =4 SigmaDelta-compressed linear
45 >(9.b+19) byte =5 SigmaDelta-compressed logarithmic
46 >(9.b+19) byte >5 unknown format
48 0 string \x02\x01\x13\x13\x14\x12\x01\x0b Digital Symphony song (RISC OS),
52 >10 leshort =1 1 track,
53 >10 leshort !1 %d tracks,
54 >12 leshort =1 1 pattern
55 >12 leshort !1 %d patterns
57 0 string \x02\x01\x13\x13\x10\x14\x12\x0e
58 >9 byte =0 Digital Symphony sequence (RISC OS),
59 >>8 byte x version %d,
61 >>10 byte !1 %d lines,
62 >>11 leshort =1 1 position
63 >>11 leshort !1 %d positions
64 >9 byte =1 Digital Symphony pattern data (RISC OS),
65 >>8 byte x version %d,
66 >>10 leshort =1 1 pattern
67 >>10 leshort !1 %d patterns