Mail Archives: djgpp/1999/10/19/23:57:19
^_^ <StephenH DOT bbs AT bbs DOT TKU DOT edu DOT tw> wrote in message
news:FRK3uCQ8omIE079yn AT bbs DOT TKU DOT edu DOT tw...
> I want to make "patches on binary image executables
> compiled by djgpp", so something I have to be sure first.
Are you making a DJGPP Game Genie or GameShark?
Cheating is bad. Please don't try it on DOSArena; your
computer might blow up to high h*ck.
http://yerricde.tripod.com/binaries/
> after several experiments, I come to a conclusion:
> a EXE compiled by DJGPP (run with CWSDPMI), are just like
> a HUGE .COM file without any RELOCATION table.
.com file, I assume, means tiny model 16-bit DOS program,
not the c:/public/index.html of a North American web server.
(An old web browser saved http://nba.com/ as NBA.COM
causing no end of trouble when I typed NBA into DOS.)
> is this true? it seems Yes to me, but could anyone please
> confirm that ?
FWIW, there's a stub, a COFF header, and an executable
image. The relocation is done by DPMI; programs always
start 4 kilobytes (0x1000 bytes) into the program's allocated
"segment."
(What is the name for "a region of memory accessed by a
particular 386 protected mode selector?)
> really appreciate for your reply
Posted and emailed.
--
Damian Yerrick
CM 398, Rose-Hulman Institute of Technology
5500 Wabash Ave
Terre Haute, IN 47803
http://come.to/yerrick
- Raw text -