xref: /freebsd/contrib/file/magic/Magdir/amigaos (revision b0d29bc47dba79f6f38e67eabadfb4b32ffd9390)
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#
90	belong		0x000003fa	AmigaOS shared library
100	belong		0x000003f3	AmigaOS loadseg()ble executable/binary
110	belong		0x000003e7	AmigaOS object/library data
12#
130	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#
280	string		FC14		Future Composer 1.4 Module sound file
290	string		SMOD		Future Composer 1.3 Module sound file
300	string		AON4artofnoise	Art Of Noise Module sound file
311	string		MUGICIAN/SOFTEYES Mugician Module sound file
3258	string		SIDMON\ II\ -\ THE	Sidmon 2.0 Module sound file
330	string		Synth4.0	Synthesis Module sound file
340	string		ARP.		The Holy Noise Module sound file
350	string		BeEp\0		JamCracker Module sound file
360	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>
430	beshort		0x0f00		AmigaOS bitmap font
440	beshort		0x0f03		AmigaOS outline font
450	belong		0x80001001	AmigaOS outline tag
460	string		##\ version	catalog translation
470	string		EMOD\0		Amiga E module
488	string		ECXM\0		ECX module
490	string/c	@database	AmigaGuide file
50
51# Amiga disk types
52#
530	string		RDSK		Rigid Disk Block
54>160	string		x		on %.24s
550	string		DOS\0		Amiga DOS disk
560	string		DOS\1		Amiga FFS disk
570	string		DOS\2		Amiga Inter DOS disk
580	string		DOS\3		Amiga Inter FFS disk
590	string		DOS\4		Amiga Fastdir DOS disk
600	string		DOS\5		Amiga Fastdir FFS disk
610	string		KICK		Kickstart disk
62
63# From: Alex Beregszaszi <alex@fsn.hu>
640	string		LZX		LZX compressed archive (Amiga)
65
66# From: Przemek Kramarczyk <pkramarczyk@gmail.com>
670	string 		.KEY		AmigaDOS script
680	string 		.key		AmigaDOS script
69
70# AMOS Basic file formats
71# https://www.exotica.org.uk/wiki/AMOS_file_formats
720	string		AMOS\040Basic\040 	AMOS Basic source code
73>11	byte		=0x56 			\b, tested
74>11	byte		=0x76 			\b, untested
750 	string		AMOS\040Pro		AMOS Basic source code
76>11	byte		=0x56 			\b, tested
77>11	byte		=0x76 			\b, untested
780	string		AmSp			AMOS Basic sprite bank
79>4	beshort		x			\b, %d sprites
800	string		AmIc			AMOS Basic icon bank
81>4	beshort		x			\b, %d icons
820	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
860	string		AmBs			AMOS Basic memory banks
87>4	beshort		x			\b, %d banks
88