From owner-freebsd-hackers Fri Apr 12 05:58:19 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA00664 for hackers-outgoing; Fri, 12 Apr 1996 05:58:19 -0700 (PDT) Received: from ra.dkuug.dk (ra.dkuug.dk [193.88.44.193]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id FAA00659 for ; Fri, 12 Apr 1996 05:58:16 -0700 (PDT) Received: (from sos@localhost) by ra.dkuug.dk (8.6.12/8.6.12) id OAA06528; Fri, 12 Apr 1996 14:55:07 +0200 Message-Id: <199604121255.OAA06528@ra.dkuug.dk> Subject: Re: DOS emulator; Silly questions ... To: root@VexedVox.stud.pu.ru (Alexey Pialkin) Date: Fri, 12 Apr 1996 14:55:07 +0200 (MET DST) Cc: hackers@freebsd.org (FreeBSD hackers) In-Reply-To: <199604121208.QAA00362@localhost> from "Alexey Pialkin" at Apr 12, 96 04:08:39 pm From: sos@freebsd.org Reply-to: sos@freebsd.org X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In reply to Alexey Pialkin who wrote: > > > > 2. Has anybody gotten it to compile and work ??? > > > > Apparently a couple people have. I did a quick one-through on it, but > > didn't pursue the 'PCCONS' stuff. I suspect we'll see some more noise > > on the lists when it gets more stable. > > The main problem with doscmd is a different way of signals support in > FreeBSD & BSDI. BSDI uses syscall sigreturn and as i undestand it's parametrs > & some internal realization much differ from FreeBSD realization. But a signals > is very important part of VM86 emulation in doscmd. They are not that different in this respect (yet), but you need to change both the signal sending and the sigreturn functions to get this to work Allso you'll need a couple of little asm helpfunctions to fiddle with stack layout depending on what frame you want the system to belive you are giving it. > Yestaday i patch my kernel & make sigreturn to be able to setup VM86 but some > time after i got Trap in kernel..:( Will try to fix it today.... This isn't real VM86 its an emulation of that... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Soren Schmidt (sos@FreeBSD.org) FreeBSD Core Team So much code to hack -- so little time.