(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?