From owner-freebsd-emulation Sat Sep 28 00:41:30 1996 Return-Path: owner-emulation Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA06895 for emulation-outgoing; Sat, 28 Sep 1996 00:41:30 -0700 (PDT) Received: from abel.pdmi.ras.ru ([194.88.2.5]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA06838 for ; Sat, 28 Sep 1996 00:41:24 -0700 (PDT) Received: (from root@localhost) by abel.pdmi.ras.ru (8.7.5/8.7.3) id LAA00820; Sat, 28 Sep 1996 11:40:44 +0400 (MSD) From: Alexey Pialkin Message-Id: <199609280740.LAA00820@abel.pdmi.ras.ru> Subject: Re: New doscmd available for testing/munching To: j_mini@efn.org (Jonathan Mini) Date: Sat, 28 Sep 1996 11:40:44 +0400 (MSD) Cc: msmith@atrad.adelaide.edu.au, emulation@FreeBSD.org In-Reply-To: from "Jonathan Mini" at Sep 26, 96 02:59:43 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-emulation@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > > Actually, you mmap /dev/vga which roots at the base of video memory. This > > > is much cleaner, not to mention safer. > > > > BTW, why ? > > Say you're running on a SVGA/VESA 2.x video card and FreeBSD has code in > it to use that (hah and double hah) -- VESA 2.x allows the card to create > a linear framebuffer in the WAY-UP-HIGH mem addrs like 4G range. Using > this, video memory for the cons wouldn't BE at 0xA000 like you're trying > to map. But /dev/vga would be properly redirected. Hmmm. Never seen any card that will make linear access memory for _text_ mode somewhere over 1 mb :) Alexey Pialkin