1226048Sobrien
268349Sobrien#------------------------------------------------------------------------------
3354939Sdelphij# $File: amigaos,v 1.17 2018/10/16 18:57:19 christos Exp $
468349Sobrien# amigaos:  file(1) magic for AmigaOS binary formats:
568349Sobrien
668349Sobrien#
768349Sobrien# From ignatios@cs.uni-bonn.de (Ignatios Souvatzis)
868349Sobrien#
9133359Sobrien0	belong		0x000003fa	AmigaOS shared library
1068349Sobrien0	belong		0x000003f3	AmigaOS loadseg()ble executable/binary
1168349Sobrien0	belong		0x000003e7	AmigaOS object/library data
12103373Sobrien#
13103373Sobrien0	beshort		0xe310		Amiga Workbench
14328874Seadler>2	beshort		1
15103373Sobrien>>48	byte		1		disk icon
16103373Sobrien>>48	byte		2		drawer icon
17103373Sobrien>>48	byte		3		tool icon
18103373Sobrien>>48	byte		4		project icon
19103373Sobrien>>48	byte		5		garbage icon
20103373Sobrien>>48	byte		6		device icon
21103373Sobrien>>48	byte		7		kickstart icon
22103373Sobrien>>48	byte		8		workbench application icon
23103373Sobrien>2	beshort		>1		icon, vers. %d
24103373Sobrien#
25103373Sobrien# various sound formats from the Amiga
26103373Sobrien# G=F6tz Waschk <waschk@informatik.uni-rostock.de>
27103373Sobrien#
28103373Sobrien0	string		FC14		Future Composer 1.4 Module sound file
29103373Sobrien0	string		SMOD		Future Composer 1.3 Module sound file
30103373Sobrien0	string		AON4artofnoise	Art Of Noise Module sound file
31103373Sobrien1	string		MUGICIAN/SOFTEYES Mugician Module sound file
32103373Sobrien58	string		SIDMON\ II\ -\ THE	Sidmon 2.0 Module sound file
33103373Sobrien0	string		Synth4.0	Synthesis Module sound file
34103373Sobrien0	string		ARP.		The Holy Noise Module sound file
35103373Sobrien0	string		BeEp\0		JamCracker Module sound file
36103373Sobrien0	string		COSO\0		Hippel-COSO Module sound file
37133359Sobrien# Too simple (short, pure ASCII, deep), MPi
38133359Sobrien#26	string		V.3		Brian Postma's Soundmon Module sound file v3
39133359Sobrien#26	string		BPSM		Brian Postma's Soundmon Module sound file v3
40133359Sobrien#26	string		V.2		Brian Postma's Soundmon Module sound file v2
41103373Sobrien
42133359Sobrien# The following are from: "Stefan A. Haubenthal" <polluks@web.de>
43133359Sobrien0	beshort		0x0f00		AmigaOS bitmap font
44133359Sobrien0	beshort		0x0f03		AmigaOS outline font
45133359Sobrien0	belong		0x80001001	AmigaOS outline tag
46133359Sobrien0	string		##\ version	catalog translation
47159764Sobrien0	string		EMOD\0		Amiga E module
48159764Sobrien8	string		ECXM\0		ECX module
49159764Sobrien0	string/c	@database	AmigaGuide file
50133359Sobrien
51133359Sobrien# Amiga disk types
52328874Seadler#
53133359Sobrien0	string		RDSK		Rigid Disk Block
54133359Sobrien>160	string		x		on %.24s
55133359Sobrien0	string		DOS\0		Amiga DOS disk
56133359Sobrien0	string		DOS\1		Amiga FFS disk
57133359Sobrien0	string		DOS\2		Amiga Inter DOS disk
58133359Sobrien0	string		DOS\3		Amiga Inter FFS disk
59133359Sobrien0	string		DOS\4		Amiga Fastdir DOS disk
60133359Sobrien0	string		DOS\5		Amiga Fastdir FFS disk
61133359Sobrien0	string		KICK		Kickstart disk
62159764Sobrien
63159764Sobrien# From: Alex Beregszaszi <alex@fsn.hu>
64159764Sobrien0	string		LZX		LZX compressed archive (Amiga)
65159764Sobrien
66267843Sdelphij# From: Przemek Kramarczyk <pkramarczyk@gmail.com>
67267843Sdelphij0	string 		.KEY		AmigaDOS script
68267843Sdelphij0	string 		.key		AmigaDOS script
69354939Sdelphij
70354939Sdelphij# AMOS Basic file formats
71354939Sdelphij# https://www.exotica.org.uk/wiki/AMOS_file_formats
72354939Sdelphij0	string		AMOS\040Basic\040 	AMOS Basic source code
73354939Sdelphij>11	byte		=0x56 			\b, tested
74354939Sdelphij>11	byte		=0x76 			\b, untested
75354939Sdelphij0 	string		AMOS\040Pro		AMOS Basic source code
76354939Sdelphij>11	byte		=0x56 			\b, tested
77354939Sdelphij>11	byte		=0x76 			\b, untested
78354939Sdelphij0	string		AmSp			AMOS Basic sprite bank
79354939Sdelphij>4	beshort		x			\b, %d sprites
80354939Sdelphij0	string		AmIc			AMOS Basic icon bank
81354939Sdelphij>4	beshort		x			\b, %d icons
82354939Sdelphij0	string		AmBk			AMOS Basic memory bank
83354939Sdelphij>4	beshort		x			\b, bank number %d
84354939Sdelphij>8	belong&0xFFFFFFF	x		\b, length %d
85354939Sdelphij>12	regex		.{8}			\b, type %s
86354939Sdelphij0	string		AmBs			AMOS Basic memory banks
87354939Sdelphij>4	beshort		x			\b, %d banks
88