MZ: Difference between revisions

From OSDev.wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content added Content deleted
m (+ executable formats infobox)
(changed the wording a bit)
Line 2: Line 2:
{{File formats}}
{{File formats}}


DOS-MZ was introduced with MS-DOS (Not DOS v1, however.) as a companion to the simplified DOS COM file format. DOS-MZ was designed to be run in real mode and reflects this, having a relocation table of SEGMENT:OFFSET pairings. A very simple format that can be run at any offset, it does not distinguish between TEXT, DATA and BSS. Since it was designed to run in real mode, its maximum file size of code + data + bss is 1mb.
The MS-DOS EXE format, also known as MZ after its signature (after the initials of Microsoft engineer Mark Zbykowski) was introduced with MS-DOS 2.0 (MS-DOS 1.0 only sported the simple [[COM]] format). DOS-MZ was designed to be run in real mode and reflects this, having a relocation table of SEGMENT:OFFSET pairings. A very simple format that can be run at any offset, it does not distinguish between TEXT, DATA and BSS. Since it was designed to run in real mode, its maximum file size of code + data + bss is 1MB.


Only DOS and Windows use this format natively, but there are several free DOS emulators that support it for various operating systems. (e.g. Linux, Amiga, etc.)
Only DOS and Windows use this format natively, but there are several free DOS emulators that support it for various operating systems (e.g. Linux, Amiga, etc.)


==See Also==
==See Also==

Revision as of 14:38, 25 November 2009

This page is a stub.
You can help the wiki by accurately adding more contents to it.
Executable Formats
Microsoft

16 bit:
COM
MZ
NE
Mixed (16/32 bit):
LE
32/64 bit:
PE
COFF

*nix
Apple

The MS-DOS EXE format, also known as MZ after its signature (after the initials of Microsoft engineer Mark Zbykowski) was introduced with MS-DOS 2.0 (MS-DOS 1.0 only sported the simple COM format). DOS-MZ was designed to be run in real mode and reflects this, having a relocation table of SEGMENT:OFFSET pairings. A very simple format that can be run at any offset, it does not distinguish between TEXT, DATA and BSS. Since it was designed to run in real mode, its maximum file size of code + data + bss is 1MB.

Only DOS and Windows use this format natively, but there are several free DOS emulators that support it for various operating systems (e.g. Linux, Amiga, etc.)

See Also