xref: /freebsd/contrib/file/magic/Magdir/pc88 (revision 031beb4e239bfce798af17f5fe8dba8bcaf13d99)
1#------------------------------------------------------------------------------
2# pc88:  file(1) magic for the NEC Home Computer
3# v1.0
4# Fabio R. Schmidlin <sd-snatcher@users.sourceforge.net>
5
6# PC88 2D disk image
70x20		ulelong&0xFFFFFEFF	0x2A0
8>0x10		string		\0\0\0\0\0\0\0\0\0\0
9>>0x280		string		\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
10>>>0x1A		ubyte&0xEF	0
11>>>>0x1B	ubyte&0x8F	0
12>>>>>0x1B	ubyte&70	<0x40
13>>>>>>0x1C	ulelong	>0x21
14>>>>>>>0		regex	[[:print:]]*	NEC PC-88 disk image, name=%s
15>>>>>>>>0x1B	ubyte	0	\b, media=2D
16>>>>>>>>0x1B	ubyte	0x10	\b, media=2DD
17>>>>>>>>0x1B	ubyte	0x20	\b, media=2HD
18>>>>>>>>0x1B	ubyte	0x30	\b, media=1D
19>>>>>>>>0x1B	ubyte	0x40	\b, media=1DD
20>>>>>>>>0x1A	ubyte	0x10	\b, write-protected
21
22
23
24
25