www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/12/28/01:29:59

Date: Thu, 28 Dec 1995 08:17:02 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: The Joker <smcdonal AT pcug DOT org DOT au>
Cc: djgpp AT delorie DOT com
Subject: Re: Video axs in v2 which should be in the faq.

On 27 Dec 1995, The Joker wrote:

> Ok, fellas, here's how you access the graphics in djgpp v2, without
> incuring a speed penalty for having es:[addr] or whatever. It also makes 
> it a hell of a lot easier. My way will let you have a normal array-like 
> pointer to the vidmem, like we all used to in borland c...

What's wrong with the nearptr facility provided with DJGPP v2.0?  Did you 
try using it?  You can find its docs in the library Info file, under 
`_crt0_startup_flags' and `__djgpp_nearptr_enable' (the latter even 
includes an example of access to video memory).

- Raw text -


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