www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/22/08:29:26

From: hesslinm AT pigeon DOT qut DOT edu DOT au (hessling mark )
Newsgroups: comp.os.msdos.djgpp
Subject: Re: lynx 2.7 and pdcurses under DOS.
Date: 22 Mar 1997 11:20:54 GMT
Organization: Queensland University of Technology, Australia
Lines: 29
Distribution: world
Message-ID: <5h0fam$ren@dove.qut.edu.au>
References: <Pine DOT BSI DOT 3 DOT 91 DOT 970316114005 DOT 10222B-100000 AT msn DOT globaldialog DOT com>
Reply-To: M DOT Hessling AT qut DOT edu DOT au
NNTP-Posting-Host: pigeon.qut.edu.au
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


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