delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/21/16:33:46

Xref: news2.mv.net comp.os.msdos.djgpp:4098
From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Making the nearptr hacks use longs.
Date: Tue, 21 May 1996 11:30:57 CDT
Organization: Rice University, Houston, Texas
Lines: 11
Message-ID: <31a1efc1.sandmann@clio.rice.edu>
References: <9605211249 DOT AA0047 AT pc084 DOT altvater DOT com> <4nrsoc$2n3 AT firebird13 DOT Stanford DOT EDU>
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

> I'm wondering if there is a simple way to _just_ map the vga frame buffer
> into the djgpp address space ... This would only have to be done once at the 
> beginning of the program and would be totally safe!  You get speed+safety.  
> Isn't this THE solution to graphics under dpmi?

Sure, this is the solution, but it REQUIRES DPMI 1.0 features, which 
Microsoft decided were not worth supporting, so most other DPMI providers
followed their lead.  The DPMI 1.0 functions which support mapping devices
into your own memory space are supported by CWSDPMI, but then your 
program would only run under DOS (so I discourage using non 0.9 functions
except as functional enhancements).

- Raw text -


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