delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/19/23:57:19

From: "Damian Yerrick" <web DOT poison AT pineight DOT 8m DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: is that right? please correct me.
Date: Tue, 19 Oct 1999 21:04:49 -0500
Organization: Rose-Hulman Institute of Technology
Lines: 43
Sender: AFSAUTH AT 137 DOT 112 DOT 205 DOT 146
Message-ID: <7uj838$794$1@solomon.cs.rose-hulman.edu>
References: <FRK3uCQ8omIE079yn AT bbs DOT TKU DOT edu DOT tw>
NNTP-Posting-Host: 137.112.205.146
X-Trace: solomon.cs.rose-hulman.edu 940385192 7460 137.112.205.146 (20 Oct 1999 02:06:32 GMT)
X-Complaints-To: news AT cs DOT rose-hulman DOT edu
NNTP-Posting-Date: 20 Oct 1999 02:06:32 GMT
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

^_^ <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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019