Mail Archives: djgpp/1997/03/22/08:29:26
John Schucker (gwynn AT globaldialog DOT com) wrote:
: So setting direct_video in curses won't work? It should, because I had
: my display messed up, well actually I had things mapped into video
: memory, and it thought it was a CGA, and it used BIOS writes, so
: something in curses can do it.
It should and does work. PDCurses determines what your video card is
and if a CGA, it uses BIOS calls, otherwise it uses direct video memory
writes.
The reason for the BIOS calls for CGA were the good old days when you
used to get "snow" on your CGA monitor if you used direct memory writes.
I suppose I have to ask the question: Why do you want to use BIOS calls
instead of direct memory writes ?
The current PDCurses 2.3 I am working on has the ability to specify
whether to use BIOS calls or direct video writes by setting an environment
variable. This version has yet to be packaged for DJGPP, but will be
once I finish some other more pressing work.
Cheers, Mark
------------------------------------------------------------------------
Mark Hessling Email: M DOT Hessling AT qut DOT edu DOT au
PO Box 203 Phone: +617 3802 0800
Bellara http://www.lightlink.com/hessling/
QLD 4507 **** Maintainer PDCurses & REXX/SQL ****
Australia ************* Author of THE ************
------------------------------------------------------------------------
- Raw text -