From owner-freebsd-emulation Fri Sep 20 03:11:28 1996 Return-Path: owner-emulation Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA13595 for emulation-outgoing; Fri, 20 Sep 1996 03:11:28 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id DAA13560; Fri, 20 Sep 1996 03:11:23 -0700 (PDT) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id TAA14497; Fri, 20 Sep 1996 19:41:15 +0930 From: Michael Smith Message-Id: <199609201011.TAA14497@genesis.atrad.adelaide.edu.au> Subject: Re: New doscmd available for testing/munching To: sos@freebsd.org Date: Fri, 20 Sep 1996 19:41:14 +0930 (CST) Cc: pialkin@abel.pdmi.ras.ru, j_mini@efn.org, msmith@atrad.adelaide.edu.au, emulation@freebsd.org In-Reply-To: <199609200851.KAA02961@ra.dkuug.dk> from "sos@freebsd.org" at Sep 20, 96 10:51:16 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk sos@freebsd.org stands accused of saying: > > > > The problem is not with just screen mapping for drawing something(open > > screen memory for drawing is simple just mmap some part of /dev/mem & viola ...) > > My problem is that i am unabl to properly map some shadow screen for 0xA0000-0xB0000 address.... It's highly needable for programs working with screen background.. > > Hmm, I'm not sure we can do that, try ask John Dyson about that, he > is out "mastermind" in vm stuff... My 'conceptual model' for this went something like : - allocate 128K in the emulation process for screen memory. - when vt is activated, copy the area that falls under the physical screen memory to a temporary store. - mmap the screen memory onto your emulation's buffer. - copy your temporary store back. - when vt is deactivated, reverse the process. ... but I really don't know what happens when you mmap() screen memory onto a section of your process' space that is already mapped. Or would you swap between a mapping to screen memory and a file? Or could you map to _both_ screen memory and a file...? > Soren Schmidt (sos@FreeBSD.org) FreeBSD Core Team -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[