delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/22/16:42:00

Sender: nate AT cartsys DOT com
Message-ID: <35DF1DDF.BBC3A848@cartsys.com>
Date: Sat, 22 Aug 1998 12:37:03 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
MIME-Version: 1.0
To: Velkki <jari DOT haikola AT dlc DOT fi>
CC: djgpp AT delorie DOT com
Subject: Re: accessing video memory fast!! in C
References: <01bdcb8f$81bab260$ad46dac3 AT jarska>

Velkki wrote:
> 
> How can i access video memory very very fast in djgpp C.
> 
> I don't want to switch off memory protection and i don't want to use
> _dosmemputb or _farpokeb
> i was wondering if there is any other ways to acces video memory or faster
> ways

You may be able to map it.  But that will require you to use a DPMI 1.0
server, which Windows isn't.  I belive the appropriate function is
__djgpp_map_physical_memory or something of the sort.  RTM.
-- 

Nate Eldredge
nate AT cartsys DOT com


- Raw text -


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