file: update vendor branch to v5.04
[dragonfly.git] / contrib / file / magic / Magdir / sharc
1
2 #------------------------------------------------------------------------
3 # $File: sharc,v 1.6 2009/09/19 16:28:12 christos Exp $
4 # file(1) magic for sharc files
5 #
6 # SHARC DSP, MIDI SysEx and RiscOS filetype definitions added by 
7 # FutureGroove Music (dsp@futuregroove.de)
8
9 #------------------------------------------------------------------------
10 #0      string                  Draw            RiscOS Drawfile
11 #0      string                  PACK            RiscOS PackdDir archive
12
13 #------------------------------------------------------------------------
14 # SHARC DSP stuff (based on the FGM SHARC DSP SDK)
15
16 #0      string                  =!              Assembler source
17 #0      string                  Analog          ADi asm listing file
18 0       string                  .SYSTEM         SHARC architecture file
19 0       string                  .system         SHARC architecture file
20
21 0       leshort                 0x521C          SHARC COFF binary
22 >2      leshort                 >1              , %hd sections
23 >>12    lelong                  >0              , not stripped