delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/05/05/14:31:55

From: Charles Sandmann <sandmann AT praline DOT no DOT NeoSoft DOT com>
Subject: Re: Text screen address: 0xb8000 or 0xb0000?
To: A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk (A.Appleyard)
Date: Fri, 5 May 1995 12:01:18 -0500 (CDT)
Cc: DJGPP AT sun DOT soe DOT clarkson DOT edu

>   The question is: when v2 comes in, having no go32, PLEASE supply an easy way
> for the program to tell whether the (text screen in whatever PC it is running
> on at the time) is at 0xb0000 or 0xb8000. One way would be to keep the
> existing library preset variable ScreenPrimary.

There are symbols ScreenPrimary and ScreenSecondary in V2, *BUT* ... Some
code which used them directly (non-DPMI) won't work.  Code which passed them
to dosmem() routines should continue to work.  In V2 they are
define strings to the go32 info block structure; so you may have to add
a #include <go32.h> for compiling.  We discussed this and felt this
would help flag migration problems.

- Raw text -


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