Subject: Re: port-i386/825: no support for Virtual 8086 mode
To: None <sommerfeld@orchard.medford.ma.us>
From: John Kohl <jtk@atria.com>
List: port-i386
Date: 03/06/1995 08:24:10
(Sorry about the duplicate Bill, I just noticed you cc'ed the port-i386
list).

If you look carefully at the diffs to code in sys_machdep.c, you'll see
that ds and es are set from the vm86-specific part of the trap frame.
It therefore makes no sense to copy the "generic trap frame" versions of
ds/es into the processor state--they'll get overwritten at the time of
an iret to VM86 mode.

==John

p.s. Next stop is porting dosemu from linux--anybody wanna help?