[net.micro.pc] converting EXE file into memory images

markz@microsoft.UUCP (Mark Zbikowski) (07/02/85)

	> An obvious problem will be converting the .EXE file produced by the linker
	> to a format the target machine can load and execute. Currently we are
	> planning to somehow convert the .EXE file to a memory image which can
	> then be loaded to a known address by the bootstrap routines.
	>
	> --------------------------------------------------------------
	> Brent E. Rector - CONTEL CADO, Torrance, CA
	> { decvax, hplabs, ihnp4, ucbvax, sdcrdcf }!trwrb!cadovax!brent
	>                    philabs!cadovax!brent
	> --
	> --------------------------------------------------------------

	The obvious and simple way to convert an EXE file into a core image is to
	load it with DEBUG and save it with the "w" command.

	Bob Bruck   { allegra | hao | ...}!nbires!bob


Yikes! Sure, let's have DEBUG do some RANDOM relocation and wonder why the
program doesn't work.

IBM supplies a program EXE2BIN that does what you expect.  If a relocation
adjustment is needed, the program will prompt for the value.