Linear Executable

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Add links to newer versions of the LX format spec.)
(Does not work on OS/2 1.x.)
 
(2 intermediate revisions by one user not shown)
Line 7: Line 7:
  
 
There are two main varieties of it: '''LX''' (32-bit), and '''LE''' (mixed 16/32-bit).
 
There are two main varieties of it: '''LX''' (32-bit), and '''LE''' (mixed 16/32-bit).
 +
 +
Note that 32-bit LX executables are compatible only with OS/2 2.0 and later versions, incl. OS/2 Warp 4.x.
  
 
== Identification ==
 
== Identification ==
Line 17: Line 19:
 
* [https://archive.org/details/IBMOS2Warp4ToolkitDocuments2/32-bit%20Linear%20eXecutable%20Module%20Format%20%28LX%29%20Specification/mode/2up IBM OS/2 16/32-bit Linear eXecutable Module Format (LX)] (Revision 11, 2001)
 
* [https://archive.org/details/IBMOS2Warp4ToolkitDocuments2/32-bit%20Linear%20eXecutable%20Module%20Format%20%28LX%29%20Specification/mode/2up IBM OS/2 16/32-bit Linear eXecutable Module Format (LX)] (Revision 11, 2001)
 
* [http://faydoc.tripod.com/formats/exe-LE.htm (.vxd) LINEAR-EXECUTABLE File Header Layout] (LE)
 
* [http://faydoc.tripod.com/formats/exe-LE.htm (.vxd) LINEAR-EXECUTABLE File Header Layout] (LE)
 +
 +
== Software ==
 +
 +
* [https://github.com/altsan/os2-gpi-font-tools/blob/master/parser/gpifont.c An OS/2 font resource extractor] reads resources from LX-format executable, including decompressing compressed pages
  
 
== Sample files ==
 
== Sample files ==
Line 26: Line 32:
 
== See also ==
 
== See also ==
 
* [[Dynamic-link library (Windows)]]
 
* [[Dynamic-link library (Windows)]]
 +
* [[EXEPACK]]
 +
* [[EXEPACK2]]
  
 
== Links ==
 
== Links ==

Latest revision as of 16:21, 4 March 2026

File Format
Name Linear Executable
Ontology
Extension(s) .386, .dll, .exe, .sys, .vxd

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).

Note that 32-bit LX executables are compatible only with OS/2 2.0 and later versions, incl. OS/2 Warp 4.x.

Contents

[edit] 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.

[edit] Specifications

[edit] Software

[edit] Sample files

[edit] See also

[edit] Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox