www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/05/06:31:58

From: Dave Pearson <davep AT hagbard DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: SVGALIB stuff
Date: Tue, 3 Dec 1996 15:59:48 GMT
Organization: Hagbard's World (A Private Internet Host)
Lines: 34
Sender: usenet AT hagbard DOT demon DOT co DOT uk
Message-ID: <slrn5a8jjh.19r.davep@hagbard.demon.co.uk>
References: <Pine DOT SGI DOT 3 DOT 93 DOT 961203164559 DOT 21151H-100000 AT gibson DOT eee DOT upd DOT edu DOT ph>
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Apparently-To: djgpp AT delorie DOT com

Orlando Andico <orly AT gibson DOT eee DOT upd DOT edu DOT ph> wrote:

> The author of RHIDE said that the main part of porting RHIDE to Linux
> would be porting TVision right? as I understand it, the main obstacle
> (blobstacle?) is cursor-addressable text output (you would normally use
> Curses for this, which is quite inefficient for fast output).

The slang library is a good replacement for Curses and is a lot faster.
Also, TVision has been ported to Linux anyway (don't know how good or
complete the port is, never looked at it myself).

> I had this idea though: is it possible to write text to the Linux console
> screen using direct writes into the video RAM? i.e. the old "poke it into
> 0xb0000 or 0xb8000 trick"? after all, the Linux kernel leaves the upper
> 384K of the lower 1MB untouched..
> 
> I was thinking, if at the minimum a cursor-positioning function and a
> text-with-attributes output function could be written, all the rest of the
> <conio.h> functions could be re-expressed in terms of that and the entire
> TVision could be ported.
> 
> Is something wrong with my grand vision? (one thing I can think of is, it
> will play hell with the virtual consoles!!!)

One very obvious problem is that it would only work (if it could work at
all) on the console. Not much use if you work from a telnet session or
an xterm for example.

-- 
Take a look in Hagbard's World: |     w3ng - The WWW Norton Guide reader.
http://www.acemake.com/hagbard  |  ng2html - The NG to HTML converter.
Also available in the UK:       |       eg - Norton Guide reader for OS/2.
http://www.hagbard.demon.co.uk  |   dgscan - DGROUP scanner for Clipper.

- Raw text -


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