www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/31/18:31:09

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: reel mode
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <l9mtqs00v3iebdm6ivvrhaa4hbckob20km@4ax.com>
References: <p9Ar5.25$Yy1 DOT 66626 AT nnrp6 DOT proxad DOT net>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 21
X-Trace: /KiKeW/bueUwPEquZKWftMWuU0G/Ww6Vld3qxjVB1aHSs4gnxRqOUwMtwSbkmLE9qzSU65xyKd2V!IDmr3CINxEkDIdbk4Z9VklQHK9d2DNqn7h/9pl5NdEdMm9NNQ2Stk0jgHA+IxLo14sMtrxwyCVd2!WldW
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Thu, 31 Aug 2000 22:18:31 GMT
Distribution: world
Date: Thu, 31 Aug 2000 22:18:31 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Thu, 31 Aug 2000 21:32:05 GMT, "Etienne"
<etienne DOT baudin AT wanadoo DOT fr> wrote:

>Hello,
>I'd only like to know how to enter in reel mode with this compiler
>       My (very very) little prog in C with asm crash when I try to put a
>big value in "es" reg
>Why?

DJGPP's memory model is similar to real-mode compilers' "tiny" model
in that it assumes that CS == DS == ES.  See chapter 17 of the DJGPP
FAQ list for more information.  Try translating your 'es' accesses
into _dos_ds accesses:
C:\>info libc a _far

-- 
tiddly-day interj. (used to express agreement.)
  [American cellphone lingo]

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


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