Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Aug 1996 17:37:37 -0700 (PDT)
From:      John Utz <spaz@u.washington.edu>
To:        Sean Eric Fagan <sef@kithrup.com>
Cc:        jkh@time.cdrom.com, rdmurphy@bu.edu, freebsd-emulation@freebsd.org, plm@xs4all.nl
Subject:   Re: DOS Emulator (was: Re: JDK 1.02)
Message-ID:  <Pine.OSF.3.92a.960828173027.6749A-100000@becker1.u.washington.edu>
In-Reply-To: <199608280504.WAA20215@kithrup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Sean;

	could u take a minute and give a brief exposition as to what we
are seeing here, not a why things are happening ( if u knew that, then we
wouldn't be having this conversation ) but a line by line expansion of
what the messages mean.

	When i look at these messages, the context is ambiguous..when
somebody sez dos or intel and i see XXXX:XXXX i think segment and offset,
which would make sense for the stuff post vm_86_switch, but not for the
first part.

 tnx!

On Tue, 27 Aug 1996, Sean Eric Fagan wrote:
>
> 	# ./doscmd -2 -3 -A -E -D -M -V ../testbins/ls.exe
> 	dosmem = 0x1000 base = 0x1000 avail = 0x9f00 (636K)
> 	init_path(2, /, /usr/home/sef/src/doscmd/doscmd)
> 	init_path(17, /, (null))
> 	env: PATH=C:\USR\HOME\SEF\SRC\DOSCMD\DOSCMD
> 	env: COMSPEC=C:\COMMAND.COM
> 	env: PROMPT=DOS>
> 	0101: alloc (00007, owner 0001)
> 	0000: alloc (106a6, owner 0001) failed
> 	0109: alloc (09ef6, owner 0001)
> 	0109: owner (0109)
> 	0101: owner (0109)
> 	Read 06a6c into 0119
> 	init_cs = 0x7aa
> 	preserving eax (0xffffffff) from trampling.
> 	_switch_vm86
> 	07c9:00fb [fa]cli
> 	07c9:0100 [fb]sti
> 	0119:32a0 [cd]int21:30 0119:32a0/f0000084
> 	0119:32bd [fa]cli
> 	0119:32c4 [fb]sti
> 	0119:3315 [cd]int21:4a 0119:3315/f00000840109: adjust(015c0)
>
> 	0119:352c [cd]int21:30 0119:352c/f0000084
> 	0119:352c [cd]int21:30 0119:352c/f0000084
> 	0119:0000 [00]
> 	ax=0000 bx=0036 cx=0006 dx=06c9
> 	si=0082 di=ffd2 sp=ffd4 bp=004c
> 	cs=0119 ss=06c9 ds=06c9 es=06c9
> 	ip=0 flags=206
> 	00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 	addb   %al,(%bx+%si)
> 	doscmd: fatal error default trap taken
>
> Obviously, we still have some work to do.  I am begging whatever deities
> might be listening that it's not a major flaw in *how* things are done (in
> the kernel at least ;)), but just minor flaws.
>
> I'll make my diffs available on freefall soon, hopefully tonight -- and I'll
> send out a note when they're there, so don't ask for them yet 8-).
>
> Sean.
>

*******************************************************************************
 John Utz	spaz@u.washington.edu
	idiocy is the impulse function in the convolution of life




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.92a.960828173027.6749A-100000>