www.delorie.com/archives/browse.cgi | search |
From: | "Damian Yerrick" <NOSP AT Musenet@pineight.8m.com> |
Newsgroups: | comp.os.msdos.djgpp |
References: | <7ua34.761$He DOT 5295 AT newsfeed DOT slurp DOT net> <82k6t7$fiu AT acp3bf DOT knirsch DOT de> |
Subject: | Re: Memory Mapping and Libcurses support in DJGPP? (newbie question) |
Lines: | 36 |
Organization: | Pin Eight Software <http://pineight.8m.com/> |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2919.6600 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2919.6600 |
Message-ID: | <g_i34.1146$2y6.32674@dfiatx1-snr1.gtei.net> |
X-Trace: | /bCCZGTMTqtr0R5TgVeOiDtEwOO/28zhAQdUbPZU2kkUA57YoDNwaPpWTtY0pWnn+oRwDxtkOOVM!sKoP/U5rswRAVtxu33arPeOpUkB3PBBqp5QwT4UutHfcDtBKhswSdvsxgn8PodNYwxuT1XEv4A== |
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: | Wed, 08 Dec 1999 02:01:48 GMT |
Distribution: | world |
Date: | Wed, 08 Dec 1999 02:01:48 GMT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
"Hans-Bernhard Broeker" <broeker AT acp3bf DOT knirsch DOT de> wrote: > Chris Fought (cfought AT systran DOT com) wrote: > > > malloc, creating buffers etc.). Once we have this step completed our > > software simply creates a pointer to the location in the host's memory where > > our card's 'memory' exists. > > Look up FAQ paragraphs 18.4 and 18.7. You can *not* simply set up a > pointer to your device memory, in protected mode. The 'protected' in > that term is against it. From your requirement, I suspect you'll want > to use the rather dangerous 'nearptr' method, but I'd advise against > it. You loose all the protection, that way, i.e. you're back to the > state of raw DOS programming, where a single ill-written program could > easily confuse DOS to horrible death. Literally. So use farptr instead. -- Damian Yerrick http://yerricde.tripod.com/ My .sig is too long to include in an e-mail or NG message. Go to http://www.rose-hulman.edu/~yerricde/sig.html to see it. and now you must pay...
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |