🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.ibm.pc.programmer
1 messages
1 total messages Started by Steve Resnick Tue, 13 Mar 1990 18:59
Re: Need to convert .EXE to .COM
#1564
Author: Steve Resnick
Date: Tue, 13 Mar 1990 18:59
22 lines
1610 bytes
After getting much Email regarding my original post, let me clarify something.
I want to convert a program which was written to be a .EXE program to a .COM.
DOS EXE2BIN will not do this because, with a stack segment, and an IP value
different than 100H it is an incompatible program. The program I was looking
for loaded ANY .EXE program and made a .COM file out of it. If the program was
larger than 65280 bytes, DOS would refuse to run it, but the program still
converted it. What I need is a way to load a .EXE file and convert it to an
image which can be relocated to segment:offset FFFF:10H (The first addressable
64K of extended memory) Since you cannot do segment arithmetic without pointing
into ROM the program needs to be able to run in a single segment. This is a 
little beyond my capabilites as a hacker since I'm not sure what DOS does when
it loads a .EXE file and runs it. So please (minor flame on) stop sending me
E-Mail about EXE2BIN, I know what that does, I've been hacking assembler on 
a PC for years... :)
 
 Again, thanx in advance....

 Steve


 ...sun!vsi1!octopus!stever
 stever@octopus.COM
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads