www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/05/02/21:22:26

Date: Tue, 2 May 1995 20:12:10 -0400
From: dj (DJ Delorie)
To: bb07779 AT bingsuns DOT cc DOT binghamton DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: DJGPP

> >Just say NO to 0xe0000000 addressing!
> 
> Does that mean that direct video graphics will not be allowed?  If it is 
> not possible to use a pointer directed to video RAM to put pixels on the 
> screen, can we set up a segment that gives us that kind of access without 
> causing a segmentation fault?  My entire optimized graphics library is at 
> stake if we can't!  :(

The <sys/farptr.h> functions were designed to handle this particular
problem efficiently.  Csaba has a version of GRX he's working on that
works in DPMI mode, for example.  Even though gcc doesn't know about
segments doesn't mean they don't exist, and you can access the DOS
linear address space through segments, in both V1 (now) and in V2.

- Raw text -


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