From a37904dd8676be177d9303733a7f0b19a859bf38 Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 25 May 2003 23:10:30 +0000 Subject: fwait fix (aka DOS Navigator fix) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@187 c046a42c-6fe2-441c-8c8c-71466251a162 --- translate-i386.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/translate-i386.c b/translate-i386.c index 9ef7a3b..359fe61 100644 --- a/translate-i386.c +++ b/translate-i386.c @@ -112,7 +112,6 @@ extern int loglevel; #define PREFIX_LOCK 0x04 #define PREFIX_DATA 0x08 #define PREFIX_ADR 0x10 -#define PREFIX_FWAIT 0x20 typedef struct DisasContext { /* current insn context */ @@ -1440,9 +1439,6 @@ long disas_insn(DisasContext *s, uint8_t *pc_start) case 0x67: prefixes |= PREFIX_ADR; goto next_byte; - case 0x9b: - prefixes |= PREFIX_FWAIT; - goto next_byte; } if (prefixes & PREFIX_DATA) @@ -3256,6 +3252,8 @@ long disas_insn(DisasContext *s, uint8_t *pc_start) /* misc */ case 0x90: /* nop */ break; + case 0x9b: /* fwait */ + break; case 0xcc: /* int3 */ gen_exception(s, EXCP03_INT3, s->pc - s->cs_base); break; -- cgit v1.1