From owner-freebsd-hackers Sun Oct 8 15:05:26 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA13402 for hackers-outgoing; Sun, 8 Oct 1995 15:05:26 -0700 Received: from pancake.remcomp.fr (root@pancake.remcomp.fr [194.51.30.1]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id PAA13397 for ; Sun, 8 Oct 1995 15:05:18 -0700 Received: (from didier@localhost) by aida (8.6.12/8.6.9) id WAA00248; Sun, 8 Oct 1995 22:01:00 +0100 Date: Sun, 8 Oct 1995 22:01:00 +0100 (MET) From: Didier Derny X-Sender: didier@aida To: Julian Elischer cc: joerg_wunsch@uriah.heep.sax.de, hackers@freebsd.org Subject: Re: direct acces to the text screen memory In-Reply-To: <199510082038.NAA13827@ref.tfs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org Precedence: bulk On Sun, 8 Oct 1995, Julian Elischer wrote: > > > > 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. > > for this sort of thing it starts to become attractive to run a local frame > buffer in the program and do totoal screen updates every now and then.. > (I guess you could say that this is what curses does..) > > > > 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. ;-) > > > > The Commodore 8032 directly write in the screen memory. I transform the write operation to the screen memory by an optimized ANSI sequences everything works fine but when the Commodore scroll the screen the entire screen update becomes very slow since it rewrite the entire screen. How can I map the text screen ? -- Didier Derny didier@aida.org --- I boycott everything from: new zealand, australia, denmark, england