From 2c911b659fdf2a4a3795b4f07fbbcc468ee99324 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Sun, 25 Aug 2002 16:38:40 +0000 Subject: [PATCH] Added 0x00 group 7 to generate interrupt 6 Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@219 --- src/cpu/core_16/prefix_of.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/cpu/core_16/prefix_of.h b/src/cpu/core_16/prefix_of.h index e92594d8..951ef21b 100644 --- a/src/cpu/core_16/prefix_of.h +++ b/src/cpu/core_16/prefix_of.h @@ -17,6 +17,18 @@ */ switch(Fetchb()) { + case 0x00: /* GRP 6 */ + { + INTERRUPT(6); + break; + GetRM; + switch (rm & 0x38) { + default: + E_Exit("CPU:GRP6:Illegal call %2X",(rm>>3) &3); + } + } + break; + case 0x01: /* GRP 7 */ { GetRM; @@ -27,7 +39,7 @@ switch(Fetchb()) { else {GetEAa;SaveMw(eaa,0);} break; default: - E_Exit("CPU:GRP7:Illegal call %2X",rm); + E_Exit("CPU:GRP7:Illegal call %2X",(rm>>3) &3); } } break;