delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/03/12/18:00:20

Date: Sat, 12 Mar 94 17:25:15 EST
From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock)
To: FIXER AT FAXCSL DOT DCRT DOT NIH DOT GOV
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: SUMMARY - Text screen I/O
Reply-To: babcock AT cfa DOT harvard DOT edu

> IMHO it's unfortunate that you can't write directly to the ScreenPrimary[]
> array under DMPI;... I do consider this a bug in go32, but not a major one.

The "bug" is certainly not in go32.  If you are willing to go to the asm
level, you can write directly to screen memory under go32.  Rather, the
problem is that (1) DPMI 0.9x won't let you access the lower megabyte with
the same selector you use for the rest of the address space, and (2) gcc
doesn't support far pointers, so while you can get a selector pointing at
video memory, you can't do anything with it at the C level.  I gather from
past postings that far pointer support in gcc is not coming soon, if at all.

- Raw text -


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