New Executable (Windows 1.0 DR5)
For the executable format used by Windows 1.0 Alpha and later, see New Executable.
New Executable, also called Windows Module, is the executable format used in Windows 1.0 DR5.
Header
Magic bytes, resident header, segment data and alignment, file offset of next EXE, segment data, resource data. Flags, version, revision, auto data segment number, heap size, stack size. Start procedure, load procedure, free procedure.
Segment table, exported name table, resident entry point name table, non-resident entry point name table, import segment.
Linking
The Windows Module compiler MC.EXE is called on a .DEF file, generating a .DFA file with MASM directives encoding the NE header. MC.EXE then calls MASM to assemble the .DFA file into a .DFO file, which is an OMF file containing sections composing the NE header. The resulting .DFO file is then passes to the 8086 linker LINK.EXE.