about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emu/x64run.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/emu/x64run.c b/src/emu/x64run.c
index e56a0431..9d28ae27 100644
--- a/src/emu/x64run.c
+++ b/src/emu/x64run.c
@@ -1871,6 +1871,16 @@ x64emurun:
             }
             #endif
             break;
+        case 0xF1:                      /* INT1 */
+            if(!rex.is32bits) {
+                unimp = 1;
+                goto fini;
+            }
+            emu->old_ip = R_RIP;
+            #ifndef TEST_INTERPRETER
+            emit_signal(emu, SIGSEGV, (void*)R_RIP, 128);
+            #endif
+            break;
 
         case 0xF4:                      /* HLT */
             // this is a privilege opcode...