Linear Executable
From Just Solve the File Format Problem
(Difference between revisions)
m (replaced tenberry.com link with wayback link) |
m (Added link Open Watcom structs with LX/LE differences) |
||
Line 28: | Line 28: | ||
* [https://web.archive.org/web/20190202155306/http://www.tenberry.com/dos4g/faq/format.html DOS/4G and DOS/4GW FAQ: Executable File Format(s)] | * [https://web.archive.org/web/20190202155306/http://www.tenberry.com/dos4g/faq/format.html DOS/4G and DOS/4GW FAQ: Executable File Format(s)] | ||
* [http://www.mitec.cz/exe.html EXE Explorer utility] | * [http://www.mitec.cz/exe.html EXE Explorer utility] | ||
+ | * [https://github.com/open-watcom/open-watcom-v2/blob/master/bld/watcom/h/exeflat.h Open Watcom structs with LX/LE differences] | ||
[[Category:Windows]] | [[Category:Windows]] | ||
[[Category:OS/2]] | [[Category:OS/2]] |
Revision as of 14:17, 5 May 2020
Linear Executable is an executable file format in the EXE family. It was used by 32-bit OS/2, by some DOS extenders, and by Microsoft Windows VxD files. It is an extension of MS-DOS EXE, and a successor to NE (New Executable).
There are two main varieties of it: LX (32-bit), and LE (mixed 16/32-bit).
Contents |
Identification
A Linear Executable file begins with the ASCII signature "MZ
". At offset 60 is a 4-byte integer pointing to an "extended" header that begins with "LX
" or "LE
". For more information, see MS-DOS EXE.
Specifications
Sample files
- http://cd.textfiles.com/hobbesos29411/BIN/ → *.EXE (LX, OS/2 console)
- http://cd.textfiles.com/hobbesos2/2_X/GAMES/ → *.ZIP → *.EXE (LX, OS/2 GUI)
- http://cd.textfiles.com/silvercollection/disc4/DRIVERS/ - The *.386 files inside the archive files (for example, 19GXE.ARJ → VDDS3.386) use MS Windows LE / VxD format.
- DOOM.EXE - Example of the format used by some DOS extenders. Technically this is an MS-DOS EXE file, with an embedded LE file.