TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Jasen Betts
from: Bill Birrell
date: 1998-09-27 22:35:00
subject: music

> tacking data to the end of dos exe files:

 > BB>     Seems reasonable, but it's Dos, so there are umpteen ways, I guess.
 > BB> :-) I haven't tried to tack stuff on to the end of an executable file.
 > BB> Would the relocation not just overwrite it?

 > It gets "ignored" you have to read from disk as it
 > doesn't get loaded into
 > memory, unless it's a .com format file in which case
 > there's no relocation.

    You lost me, Jasen. A file is a file. You append to it, it gets longer.
If it's an exe file you are extending, the code segment of the exe file is
relocated by the loader, which loads the entire extended file from disk.
That uses the header for relocation doesn't it? It knows nothing about the
appended data. Ergo the question arose. I'm not sure you've answered it or
even understood what I was getting at. My comments were a bit terse and
telegraphic. :-) When I get time, I'll try it for myself, but the busy
season is off with a bang. :-)

Best wishes,
Bill.

---
* Origin: Meerkats Anonymous (2:2504/200)
SEEN-BY: 396/1 632/0 371 633/260 267 270 371 634/397 635/506 728 810 639/252
SEEN-BY: 670/218
@PATH: 2504/200 213 255/3 1 251/25 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.