delorie.com/archives/browse.cgi | search |
Xref: | news-dnh.mv.net comp.os.msdos.djgpp:4451 |
From: | Charles Sandmann <sandmann AT clio DOT rice DOT edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Selectors and self-modifying code in DJGPP? |
Date: | Mon, 15 Jan 1996 16:44:16 CST |
Organization: | Rice University, Houston, Texas |
Lines: | 12 |
Message-ID: | <30fad8c0.sandmann@clio.rice.edu> |
References: | <4ddugt$ib9 AT lyra DOT csx DOT cam DOT ac DOT uk> |
Reply-To: | sandmann AT clio DOT rice DOT edu |
NNTP-Posting-Host: | clio.rice.edu |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
> self-modifying, and I'm not having much success with it. Unless you are doing something strange, CS base = DS base = ES base, etc in DJGPP, so if you write to the same offset using DS as you normally might with CS, it should work. DJGPP uses the "tiny" model with 32-bit offsets. > So, what I need to know is: what selectors are set up by GO32, and can I > use/modify them to allow self-modifying code? If so, how? :). Selector modification isn't allowed by GO32, only by DPMI. So get the DPMI specification and run under DPMI if this is needed.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |