]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/file/magic/Magdir/amigaos
THIS BRANCH IS OBSOLETE, PLEASE READ:
[FreeBSD/FreeBSD.git] / contrib / file / magic / Magdir / amigaos
1
2 #------------------------------------------------------------------------------
3 # $File: amigaos,v 1.17 2018/10/16 18:57:19 christos Exp $
4 # amigaos:  file(1) magic for AmigaOS binary formats:
5
6 #
7 # From ignatios@cs.uni-bonn.de (Ignatios Souvatzis)
8 #
9 0       belong          0x000003fa      AmigaOS shared library
10 0       belong          0x000003f3      AmigaOS loadseg()ble executable/binary
11 0       belong          0x000003e7      AmigaOS object/library data
12 #
13 0       beshort         0xe310          Amiga Workbench
14 >2      beshort         1
15 >>48    byte            1               disk icon
16 >>48    byte            2               drawer icon
17 >>48    byte            3               tool icon
18 >>48    byte            4               project icon
19 >>48    byte            5               garbage icon
20 >>48    byte            6               device icon
21 >>48    byte            7               kickstart icon
22 >>48    byte            8               workbench application icon
23 >2      beshort         >1              icon, vers. %d
24 #
25 # various sound formats from the Amiga
26 # G=F6tz Waschk <waschk@informatik.uni-rostock.de>
27 #
28 0       string          FC14            Future Composer 1.4 Module sound file
29 0       string          SMOD            Future Composer 1.3 Module sound file
30 0       string          AON4artofnoise  Art Of Noise Module sound file
31 1       string          MUGICIAN/SOFTEYES Mugician Module sound file
32 58      string          SIDMON\ II\ -\ THE      Sidmon 2.0 Module sound file
33 0       string          Synth4.0        Synthesis Module sound file
34 0       string          ARP.            The Holy Noise Module sound file
35 0       string          BeEp\0          JamCracker Module sound file
36 0       string          COSO\0          Hippel-COSO Module sound file
37 # Too simple (short, pure ASCII, deep), MPi
38 #26     string          V.3             Brian Postma's Soundmon Module sound file v3
39 #26     string          BPSM            Brian Postma's Soundmon Module sound file v3
40 #26     string          V.2             Brian Postma's Soundmon Module sound file v2
41
42 # The following are from: "Stefan A. Haubenthal" <polluks@web.de>
43 0       beshort         0x0f00          AmigaOS bitmap font
44 0       beshort         0x0f03          AmigaOS outline font
45 0       belong          0x80001001      AmigaOS outline tag
46 0       string          ##\ version     catalog translation
47 0       string          EMOD\0          Amiga E module
48 8       string          ECXM\0          ECX module
49 0       string/c        @database       AmigaGuide file
50
51 # Amiga disk types
52 #
53 0       string          RDSK            Rigid Disk Block
54 >160    string          x               on %.24s
55 0       string          DOS\0           Amiga DOS disk
56 0       string          DOS\1           Amiga FFS disk
57 0       string          DOS\2           Amiga Inter DOS disk
58 0       string          DOS\3           Amiga Inter FFS disk
59 0       string          DOS\4           Amiga Fastdir DOS disk
60 0       string          DOS\5           Amiga Fastdir FFS disk
61 0       string          KICK            Kickstart disk
62
63 # From: Alex Beregszaszi <alex@fsn.hu>
64 0       string          LZX             LZX compressed archive (Amiga)
65
66 # From: Przemek Kramarczyk <pkramarczyk@gmail.com>
67 0       string          .KEY            AmigaDOS script
68 0       string          .key            AmigaDOS script
69
70 # AMOS Basic file formats
71 # https://www.exotica.org.uk/wiki/AMOS_file_formats
72 0       string          AMOS\040Basic\040       AMOS Basic source code
73 >11     byte            =0x56                   \b, tested
74 >11     byte            =0x76                   \b, untested
75 0       string          AMOS\040Pro             AMOS Basic source code
76 >11     byte            =0x56                   \b, tested
77 >11     byte            =0x76                   \b, untested
78 0       string          AmSp                    AMOS Basic sprite bank
79 >4      beshort         x                       \b, %d sprites
80 0       string          AmIc                    AMOS Basic icon bank
81 >4      beshort         x                       \b, %d icons
82 0       string          AmBk                    AMOS Basic memory bank
83 >4      beshort         x                       \b, bank number %d
84 >8      belong&0xFFFFFFF        x               \b, length %d
85 >12     regex           .{8}                    \b, type %s
86 0       string          AmBs                    AMOS Basic memory banks
87 >4      beshort         x                       \b, %d banks