diff options
Diffstat (limited to 'util/x86emu/yabel/biosemu.h')
-rw-r--r-- | util/x86emu/yabel/biosemu.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/util/x86emu/yabel/biosemu.h b/util/x86emu/yabel/biosemu.h index 7ffd5bcffa2e..20aff6f5c086 100644 --- a/util/x86emu/yabel/biosemu.h +++ b/util/x86emu/yabel/biosemu.h @@ -37,4 +37,12 @@ // Address, there will only be a call to this INT and a RETF #define PNP_INT_NUM 0xFD +/* array of funtion pointers to override generic interrupt handlers + * a YABEL caller can add functions to this array before calling YABEL + * if a interrupt occurs, YABEL checks wether a function is set in + * this array and only runs the generic interrupt handler code, if + * the function pointer is NULL */ +typedef int (* yabel_handleIntFunc)(void); +extern yabel_handleIntFunc yabel_intFuncArray[256]; + #endif |