From owner-freebsd-hackers Sun Oct 8 02:16:12 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA25518 for hackers-outgoing; Sun, 8 Oct 1995 02:16:12 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id CAA25513 for ; Sun, 8 Oct 1995 02:16:06 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id KAA26313; Sun, 8 Oct 1995 10:16:03 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id KAA19444; Sun, 8 Oct 1995 10:16:03 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id KAA00387; Sun, 8 Oct 1995 10:15:01 +0100 From: J Wunsch Message-Id: <199510080915.KAA00387@uriah.heep.sax.de> Subject: Re: direct acces to the text screen memory To: didier@aida.org (Didier Derny) Date: Sun, 8 Oct 1995 10:14:59 +0100 (MET) Cc: hackers@freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "Didier Derny" at Oct 8, 95 09:30:08 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 583 Sender: owner-hackers@freebsd.org Precedence: bulk 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. ;-)