delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
Date: | Mon, 13 May 2002 08:07:23 +0300 (IDT) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | "Rafal 'Raf256' Maj" <admin AT raf256 DOT com> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: 0xB800:0000 = ... ; |
In-Reply-To: | <Xns920CEC3CFFB05adminraf256com@213.180.128.20> |
Message-ID: | <Pine.SUN.3.91.1020513080433.8317H-100000@is> |
MIME-Version: | 1.0 |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On 12 May 2002, Rafal 'Raf256' Maj wrote: > what is the fastest way in DJGPP to access conventional memory (video ram) It depends on your video and other hardware, not only on the programmatic technique. In general, I recommend farptr functions, see sections 10.2 and 18.4 of the DJGPP FAQ for details. > how can I write it, like : > (unsigned char*)(0xB800:x) = a; > > and read it > a = (unsigned char*)(0xB800:x); Use nearptr method; see section 18.6 of the FAQ for more.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |