From owner-freebsd-emulation Mon Jan 19 05:07:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA24442 for freebsd-emulation-outgoing; Mon, 19 Jan 1998 05:07:20 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA24437 for ; Mon, 19 Jan 1998 05:07:15 -0800 (PST) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id AAA13791; Tue, 20 Jan 1998 00:04:52 +1100 Date: Tue, 20 Jan 1998 00:04:52 +1100 From: Bruce Evans Message-Id: <199801191304.AAA13791@godzilla.zeta.org.au> To: bde@zeta.org.au, mike@smith.net.au Subject: Re: DOSCMD: Problems w/ Quicken Cc: emulation@FreeBSD.ORG, gurney_j@resnet.uoregon.edu, rhh@ct.picker.com, shmit@erols.com Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >> >Yeah, that's all fine, but what I *don't* understand is why it should >> >be trapping as it does claiming that 'movw (%bx),%ax' is an illegal >> >instruction. >> >> When %bx = 0xffff, it should cause exception 13 (general protection) >> in real mode. IIRC, this is one of the main differences between 8086's >> and later86's in real mode. > >A difference implies two different behaviours. A GPF is one, what is >the other (presumably that taken by the 8086)? Doesn't matter. >Would you guess that this might be a CPU-type detection fragment? I would guss it is a bug in the signal handling. GPF should be translated to SIGBUS with code T_PROTFLT + BUS_SEGM_FAULT and sigbus() should generate a different fatal error. Bruce