delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/01/21/18:33:04

From: Charles Sandmann <sandmann AT new-orleans DOT NeoSoft DOT com>
Subject: Re: Graphics Address
To: frankie AT si DOT upc DOT es (Francesc Guasch-Ortiz)
Date: Sat, 21 Jan 1995 16:58:05 -0600 (CST)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

> I know the address=0xa0000000, but this is no available under dpmi (i guess).

use the <sys/farptr.h> functions with the conventional memory selector and
you can access the 0xa0000 graphics video area from either dpmi or go32
modes.  This will work with V2 also.  If you want to move lots of data,
you can also use the movedata() call which may be faster on some video
cards.  See <go32.h> for information on the conventional memory selector
and movedata.

- Raw text -


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