delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/07/10/14:09:43

From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <9607101804.AA12223@clio.rice.edu>
Subject: Re: limited nearptr ?
To: k3040e4 AT c210 DOT edvz DOT uni-linz DOT ac DOT at (Oberhumer Markus)
Date: Wed, 10 Jul 1996 13:04:50 -0600 (CDT)
Cc: djgpp-workers AT delorie DOT com
In-Reply-To: <199607101655.SAA07591@c210.edvz.uni-linz.ac.at> from "Oberhumer Markus" at Jul 10, 96 06:55:11 pm

You have 3 options for using an external video buffer with DJGPP:

1) Use farptr.h.  You said you didn't want to do this due to code changes.
2) Use nearptr.h.  You said you didn't want to do this, but this is what
   you will probably end up doing.
3) Limit yourself to running on hosts with DPMI 1.0 functionality that
   support function 0x508, and map the video memory into a block you
   malloc()ed.
   
The solutions you suggested (including the RSX one) essentially all boil
down to #2 above - which is sys/nearptr.h.

- Raw text -


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