about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--subx/019syscalls.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/subx/019syscalls.cc b/subx/019syscalls.cc
index ec28515b..77a8d698 100644
--- a/subx/019syscalls.cc
+++ b/subx/019syscalls.cc
@@ -26,6 +26,8 @@ void process_int80() {
   case 4:
     Reg[EAX].i = write(/*file descriptor*/Reg[EBX].u, /*memory buffer*/mem_addr_u8(Reg[ECX].u), /*size*/Reg[EDX].u);
     break;
+  default:
+    raise << HEXWORD << EIP << ": unimplemented syscall " << Reg[EAX].u << '\n' << end();
   }
 }