Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 1995 07:48:04 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        nox@jelal.hb.north.de (Juergen Lock)
Cc:        joerg@FreeBSD.org, ports@FreeBSD.org
Subject:   Re: pcemu, run a few more dos commands
Message-ID:  <199510040648.HAA20908@uriah.heep.sax.de>
In-Reply-To: <199510031745.SAA03001@saturn> from "Juergen Lock" at Oct 3, 95 06:45:05 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510040648.HAA20908>