From owner-freebsd-emulation Fri Sep 20 03:46:49 1996 Return-Path: owner-emulation Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA00756 for emulation-outgoing; Fri, 20 Sep 1996 03:46:49 -0700 (PDT) Received: from ra.dkuug.dk (ra.dkuug.dk [193.88.44.193]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id DAA00717; Fri, 20 Sep 1996 03:46:44 -0700 (PDT) Received: (from sos@localhost) by ra.dkuug.dk (8.6.12/8.6.12) id MAA03725; Fri, 20 Sep 1996 12:45:35 +0200 Message-Id: <199609201045.MAA03725@ra.dkuug.dk> Subject: Re: New doscmd available for testing/munching To: pialkin@abel.pdmi.ras.ru (Alexey Pialkin) Date: Fri, 20 Sep 1996 12:45:35 +0200 (MET DST) Cc: msmith@atrad.adelaide.edu.au, sos@freebsd.org, j_mini@efn.org, emulation@freebsd.org In-Reply-To: <199609201033.OAA19193@abel.pdmi.ras.ru> from "Alexey Pialkin" at Sep 20, 96 02:33:46 pm From: sos@freebsd.org Reply-to: sos@freebsd.org X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In reply to Alexey Pialkin who wrote: > > 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. > > Great.. The most funny thing that i am trying to do the same thing :( And no > result.. BTW problem is with mmap the screen memory onto emulation buffer .. > Somthing wrong there .. But what ? What I meant was that I don't think that we can do a mmap onto memory thats is mapped directly to HW adressees, ask Dyson about this, he will know how to if at all possible. There is nothing syscons has to do with this, its strictly a vm problem... > > ... 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 > As I said ask Dyson, I'n not sure this works at all in the curretn VM system... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Soren Schmidt (sos@FreeBSD.org) FreeBSD Core Team So much code to hack -- so little time.