"Fossies" - the Fresh Open Source Software Archive

Member "file-5.35/magic/Magdir/pc88" (17 Mar 2017, 726 Bytes) of package /linux/misc/file-5.35.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    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
    7 0x20		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