www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/08/08/23:16:28

Date: Tue, 8 Aug 1995 23:03:11 -0400
From: dj (DJ Delorie)
To: ukwr AT mcl DOT ucsb DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: ScreenPrimary

> 	1) Does ScreenPrimary work in DPMI on v1.x and will it work in V2?

It can be passed as the offset portion of <sys/farptr.h> or dosmem*(),
but should never be used as a regular pointer type.

> 	2) if so how? isn't writing to text memory the same as writing
> 	   to graphics? wouldn't that mean that one would have to use
> 	   the calls in <sys/farptr.h> to write to the screen direclty,
> 	   or does it the screen memory get remapped to a loation like
> 	    the way Video is remapped to 0xd000000 ( which can not work 
> 	     in DPMI) ?

No, text memory does not need to be paged since it's smaller than 64K.
The 0xd0000000 region is strictly for automatic graphics paging.

- Raw text -


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