From owner-freebsd-ports Tue Oct 3 23:55:57 1995 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA22527 for ports-outgoing; Tue, 3 Oct 1995 23:55:57 -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 XAA22521 ; Tue, 3 Oct 1995 23:55:49 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id HAA05590; Wed, 4 Oct 1995 07:55:43 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id HAA22702; Wed, 4 Oct 1995 07:55:42 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id HAA20908; Wed, 4 Oct 1995 07:48:05 +0100 From: J Wunsch Message-Id: <199510040648.HAA20908@uriah.heep.sax.de> Subject: Re: pcemu, run a few more dos commands To: nox@jelal.hb.north.de (Juergen Lock) Date: Wed, 4 Oct 1995 07:48:04 +0100 (MET) Cc: joerg@FreeBSD.org, ports@FreeBSD.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199510031745.SAA03001@saturn> from "Juergen Lock" at Oct 3, 95 06:45:05 pm 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: 1546 Sender: owner-ports@FreeBSD.org Precedence: bulk As Juergen Lock wrote: > > This should drop right into pcemu/patches, makes it emulate a few more > instructions (mostly 80186). I still don't have a real intel CPU manual > so some of this isn't perfect, (like does anyone know what the second > arg to enter does exactly? i haven't yet seen it used...) but it does > increase the number of working programs considerably i think. > > though i still couldn't get keyb gr working... :) Thanks. (I don't have keyb gr working either, btw.) My German 80286 doc says: Der erste Operand gibt die Größre des dynamisch zugewiesenen Speicherbereichs des Unterprogramms im Stack an. Der zweite Operand bezeichnet die Schachtelungstiefe (das Niveau) des Unterprogramms innerhalb des Quellprogramms in der Hochsprache. Er bestimmt, wie viele Stackrahmenpoionter (:-) vom übergeordneten Programm in den neuen Stackrahmen kopiert werden. Das Register BP wird als Stackrahmenpointer (fram poniter) benutzt. Ist der zweite Operand 0, wird BP in den Stack gebracht, BP auf SP gesetzt und SP um den Wert des ersten Operanden erniedrigt (Speicherplatzreservierung für lokale Variablen). So it looks that only 0 has a real meaning. Are you aware of other missing instructions (i think DAD or something)? Are you willing to maintain this further? David Hedley is not going to touch the code right now. I need some days to look into this. -- 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. ;-)