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