[net.micro.pc] MS-DOS .EXE file formats

brent@cadovax.UUCP (Brent Rector) (06/25/85)

I am about ready to begin a software development project where we will
be using (probably!) Microsoft C V3.0 and assembler. Although the
development and some testing will be done on XT's, the target system
is not a pc and is not running MS-DOS.

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.

So, has anyone done this kind of thing before? If so, do you have the
source available to the utilities which do the conversion?  Or even, am
I really off base and is there a better way to accomplish what I want?

Assuming I am going where no man (or woman!) has gone before, can anyone
provide some pointers to the info on .EXE file layouts in sufficient
detail to allow me to do the above task?

As always I will summarize to the net if sufficient interest warrants.
Thanks in advance!

--------------------------------------------------------------
Brent E. Rector - CONTEL CADO, Torrance, CA
{ decvax, hplabs, ihnp4, ucbvax, sdcrdcf }!trwrb!cadovax!brent
					 philabs!cadovax!brent
-- 
--------------------------------------------------------------
Brent E. Rector - CONTEL CADO, Torrance, CA
{ decvax, hplabs, ihnp4, ucbvax, sdcrdcf }!trwrb!cadovax!brent
					 philabs!cadovax!brent

bob@nbires.UUCP (Bob Bruck) (06/29/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 "S" command.

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

bob@nbires.UUCP (Bob Bruck) (06/30/85)

> 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 "S" command.
> 
I meant the "W" command!!!

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


*** REPLACE THIS LINE WITH YOUR MESSAGE ***