exe2bin

The command-line tool exe2bin is a post-compilation utility program available on MS-DOS and other operating systems.[1][2]

exe2bin
Developer(s)Microsoft, IBM, DR, Datalight, Novell, PhysTechSoft & Paragon Technology Systems, The FreeDOS team
Initial releaseMay 1982 (1982-05)
Written inMS-DOS: x86 assembly language
FreeDOS: C
Operating systemMS-DOS, PC DOS, DR DOS, ROM-DOS, PTS-DOS, FreeDOS, Windows
TypeCommand
LicenseMS-DOS: MIT
FreeDOS: Sybase Open Watcom Public License

Overview

EXE2BIN.EXE in IBM PC DOS 1.10

Early compilers and linkers for the MS-DOS platform could not produce a COM file executable directly. Instead, the compilers would output an EXE-format file with relocation information. If all 8086 segments were set to be identical in such an EXE file (i.e. the "tiny" memory model was used), then exe2bin could convert it to a COM file.[3] exe2bin could also be used to convert compiled code to make it suitable to be embedded in ROM as part of BIOS or a device driver.

The command is available in MS-DOS versions 1 through 5. It is available separately for version 6 on the Supplemental Disk.[4] The program was also distributed with many language compilers for MS-DOS in the 1980s, and included with certain versions of IBM PC DOS.

PhysTechSoft & Paragon Technology Systems PTS-DOS,[5] Digital Research DR DOS 6.0,[6] and Datalight ROM-DOS,[7] also include an implementation of the exe2bin command.

The command is also available in FreeDOS. This implementation is licensed under the Sybase Open Watcom Public License.[8]

Windows XP and later versions include exe2bin and other 16-bit commands (nonnative) for the MS-DOS subsystem to maintain MS-DOS compatibility. The 16-bit MS-DOS subsystem commands are not available on 64-bit editions of Windows.[9]

gollark: The features list is below the disclaimers.
gollark: Or, well, disclaimers, not features.
gollark: The features list says otherwise.
gollark: words.
gollark: There's also the privacy policy: https://pastebin.com/NdUKJ07j

See also

References

  1. Paterson, Tim (2013-12-19) [1983]. "Microsoft DOS V1.1 and V2.0: /msdos/v20source/EXE2BIN.ASM". Computer History Museum, Microsoft. Retrieved 2015-10-01.
  2. Shustek, Len (2014-03-24). "Microsoft MS-DOS early source code". Software Gems: The Computer History Museum Historical Source Code Series. Retrieved 2015-10-01.
  3. The New Peter Norton Programmer's Guide to the IBM PC & PS/2 by Peter Norton and Richard Wilton (Microsoft Press, 1987) ISBN 1-55615-131-4, p.425
  4. Wolverton, Van (2003). Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition. Microsoft Press. ISBN 0-7356-1812-7.
  5. "PTS-DOS 2000 Pro User Manual" (PDF). Buggingen, Germany: Paragon Technology GmbH. 1999. Archived (PDF) from the original on 2018-05-12. Retrieved 2018-05-12.
  6. DR DOS 6.0 User Guide Optimisation and Configuration Tips
  7. "Datalight ROM-DOS User's Guide" (PDF). www.datalight.com.
  8. http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/repos/pkg-html/group-base.html
  9. MS-DOS subsystem commands

Further reading

  • Cooper, Jim (2001). Special Edition Using MS-DOS 6.22, Third Edition. Que Publishing. ISBN 978-0789725738.
  • John Paul Mueller (2007). Windows Administration at the Command Line for Windows Vista, Windows 2003, Windows XP, and Windows 2000. John Wiley & Sons. ISBN 978-0470165799.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.