Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Oct 1995 10:14:59 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        didier@aida.org (Didier Derny)
Cc:        hackers@freebsd.org
Subject:   Re: direct acces to the text screen memory
Message-ID:  <199510080915.KAA00387@uriah.heep.sax.de>
In-Reply-To: <Pine.BSF.3.91.951008092824.926A-100000@aida> from "Didier Derny" at Oct 8, 95 09:30:08 am

next in thread | previous in thread | raw e-mail | index | archive | help
As Didier Derny wrote:
> 
> Is there any way to write directly in the text screen memory.
> 
> I'm writing a commodore 8000 emulation and the use of ANSI sequences
> to write in the screen is extremely slow.

There is a way (you could mmap() the frame buffer), but using
something like curses is strongly recommended instead.  This way, your
emulation will automagically also run inside an xterm or on a serial
terminal.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510080915.KAA00387>