aboutsummaryrefslogtreecommitdiff
path: root/src/devices/oprom/yabel/biosemu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/oprom/yabel/biosemu.c')
-rw-r--r--src/devices/oprom/yabel/biosemu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/devices/oprom/yabel/biosemu.c b/src/devices/oprom/yabel/biosemu.c
index 8d7795971f..2a2ca312cb 100644
--- a/src/devices/oprom/yabel/biosemu.c
+++ b/src/devices/oprom/yabel/biosemu.c
@@ -44,6 +44,12 @@ static X86EMU_pioFuncs my_pio_funcs = {
/* interrupt function override array (see biosemu.h) */
yabel_handleIntFunc yabel_intFuncArray[256];
+void
+mainboard_interrupt_handlers(int interrupt, yabel_handleIntFunc func)
+{
+ yabel_intFuncArray[interrupt] = func;
+}
+
/* main entry into YABEL biosemu, arguments are:
* *biosmem = pointer to virtual memory
* biosmem_size = size of the virtual memory