Ignore:
Timestamp:
May 3, 2001, 8:01:12 PM (24 years ago)
Author:
umoeller
Message:

Misc changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/helpers/dosh.h

    r60 r67  
    481481    typedef struct _NEHEADER
    482482    {
    483         CHAR      achNE[2];             // 00: NE
     483        CHAR      achNE[2];             // 00: "NE" magic
    484484        BYTE      bLinkerVersion;       // 02: linker version
    485485        BYTE      bLinkerRevision;      // 03: linker revision
     
    524524    typedef struct _LXHEADER
    525525    {
    526         CHAR        achLX[2];           // 00: LX or LE
    527             /* this is "LX" for 32-bit OS/2 programs, but
    528                "LE" for MS-DOS progs which use this format
    529                (e.g. WINDOWS\SMARTDRV.EXE) */
     526        CHAR        achLX[2];           // 00: "LX" or "LE" magic
     527            // this is "LX" for 32-bit OS/2 programs, but
     528            // "LE" for MS-DOS progs which use this format
     529            // (e.g. WINDOWS\SMARTDRV.EXE). IBM says the
     530            // LE format was never released and superceded
     531            // by LX... I am unsure what the differences are.
    530532        BYTE      fByteBigEndian;       // 02: byte ordering (1 = big endian)
    531533        BYTE      fWordBigEndian;       // 03: word ordering (1 = big endian)
     
    716718           doshExecOpen if NO_ERROR is returned. */
    717719
    718         // old DOS EXE header (always valid)
     720        // old DOS EXE header;
     721        // note: before 0.9.12, this was ALWAYS valid,
     722        // but since we support NOSTUB executables now,
     723        // there may be situations where this is NULL,
     724        // but the other fields are valid! V0.9.12 (2001-05-03) [umoeller]
    719725        PDOSEXEHEADER       pDosExeHeader;
    720726        ULONG               cbDosExeHeader;
     
    742748                // EXEFORMAT_TEXT_REXX     6
    743749
    744         BOOL                fLibrary,
    745                             f32Bits;
     750        BOOL                fLibrary,           // TRUE if this is a DLL
     751                            f32Bits;            // TRUE if this a 32-bits module
     752
    746753        ULONG               ulOS;
    747                 // one of:
     754                // target operating system as flagged in one of
     755                // the EXE headers; one of:
    748756                // EXEOS_DOS3              1
    749757                // EXEOS_DOS4              2       // there is a flag for this in NE
     
    751759                // EXEOS_WIN16             4
    752760                // EXEOS_WIN386            5       // according to IBM, there are flags
    753                 //                                 // for this both in NE and LX
     761                                                   // for this both in NE and LX
    754762                // EXEOS_WIN32             6
    755763
Note: See TracChangeset for help on using the changeset viewer.