Home | History | Annotate | Line # | Download | only in magdir
intel revision 1.1
      1  1.1  christos 
      2  1.1  christos #------------------------------------------------------------------------------
      3  1.1  christos # intel:  file(1) magic for x86 Unix
      4  1.1  christos #
      5  1.1  christos # Various flavors of x86 UNIX executable/object (other than Xenix, which
      6  1.1  christos # is in "microsoft").  DOS is in "msdos"; the ambitious soul can do
      7  1.1  christos # Windows as well.
      8  1.1  christos #
      9  1.1  christos # Windows NT belongs elsewhere, as you need x86 and MIPS and Alpha and
     10  1.1  christos # whatever comes next (HP-PA Hummingbird?).  OS/2 may also go elsewhere
     11  1.1  christos # as well, if, as, and when IBM makes it portable.
     12  1.1  christos #
     13  1.1  christos # The `versions' should be un-commented if they work for you.
     14  1.1  christos # (Was the problem just one of endianness?)
     15  1.1  christos #
     16  1.1  christos 0	leshort		0502		basic-16 executable
     17  1.1  christos >12	lelong		>0		not stripped
     18  1.1  christos #>22	leshort		>0		- version %ld
     19  1.1  christos 0	leshort		0503		basic-16 executable (TV)
     20  1.1  christos >12	lelong		>0		not stripped
     21  1.1  christos #>22	leshort		>0		- version %ld
     22  1.1  christos 0	leshort		0510		x86 executable
     23  1.1  christos >12	lelong		>0		not stripped
     24  1.1  christos 0	leshort		0511		x86 executable (TV)
     25  1.1  christos >12	lelong		>0		not stripped
     26  1.1  christos 0	leshort		=0512		iAPX 286 executable small model (COFF)
     27  1.1  christos >12	lelong		>0		not stripped
     28  1.1  christos #>22	leshort		>0		- version %ld
     29  1.1  christos 0	leshort		=0522		iAPX 286 executable large model (COFF)
     30  1.1  christos >12	lelong		>0		not stripped
     31  1.1  christos #>22	leshort		>0		- version %ld
     32  1.1  christos # SGI labeled the next entry as "iAPX 386 executable" --Dan Quinlan
     33  1.1  christos 0	leshort		=0514		80386 COFF executable
     34  1.1  christos >12	lelong		>0		not stripped
     35  1.1  christos >22	leshort		>0		- version %ld
     36  1.1  christos 
     37  1.1  christos # rom: file(1) magic for BIOS ROM Extensions found in intel machines
     38  1.1  christos #      mapped into memory between 0xC0000 and 0xFFFFF
     39  1.1  christos # From Grkan Sengn <gurkan (a] linuks.mine.nu>, www.linuks.mine.nu
     40  1.1  christos 0        beshort         0x55AA       BIOS (ia32) ROM Ext.
     41  1.1  christos >5       string          USB          USB
     42  1.1  christos >7       string          LDR          UNDI image
     43  1.1  christos >30      string          IBM          IBM comp. Video
     44  1.1  christos >26      string          Adaptec      Adaptec
     45  1.1  christos >28      string          Adaptec      Adaptec
     46  1.1  christos >42      string          PROMISE      Promise
     47  1.1  christos >2       byte            x            (%d*512)
     48