intel 1.9 KB

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