|
|
|
|
DOS executable
|
| |
|
| |
The DOS MZ executable format is the executable file format used for .EXE files in DOS.
The file can be identified by the ASCII string "MZ" or the hexadecimal 4D 5A at the beginning of the file (the "magic number"). "MZ" are the initials of Mark Zbikowski, one of the developers of MS-DOS.
The MZ DOS executable file is newer than COM executable and differs from it. The DOS executable header contains relocation information, which allows multiple segments to be loaded at arbitrary memory addresses, and support executables larger than 64 KiB, but still suffering from low memory limits.

Discussion
Ask a question about 'DOS executable'
Start a new discussion about 'DOS executable'
Answer questions from other users
|
Encyclopedia
The DOS MZ executable format is the executable file format used for .EXE files in DOS.
The file can be identified by the ASCII string "MZ" or the hexadecimal 4D 5A at the beginning of the file (the "magic number"). "MZ" are the initials of Mark Zbikowski, one of the developers of MS-DOS.
The MZ DOS executable file is newer than COM executable and differs from it. The DOS executable header contains relocation information, which allows multiple segments to be loaded at arbitrary memory addresses, and support executables larger than 64 KiB, but still suffering from low memory limits. Later those limits were bypassed using DOS extenders.
Compatibility
MZ DOS executables can be run from DOS and Windows 9x-based operating systems. 32-bit Windows NT-based operating systems can execute them using their built-in Virtual DOS machine (although some graphics modes are unsupported). 64-bit versions of Windows cannot execute them. Alternative ways to run these executables include DOSBox and DOSEMU.
MZ DOS executables can be created by linkers, like Digital Mars Optlink, MS linker, VALX or Open Watcom's WLINK, additionally FASM can create them directly.
See also
External links
|
| |
|
|