projects
/
dosemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4af034d
)
Handle VCPI installation check (INT 67h)
author
Robert Pengelly
<robertapengelly@hotmail.com>
Thu, 22 Oct 2026 06:35:24 +0000
(07:35 +0100)
committer
Robert Pengelly
<robertapengelly@hotmail.com>
Thu, 22 Oct 2026 06:35:24 +0000
(07:35 +0100)
interrupts.c
patch
|
blob
|
history
diff --git
a/interrupts.c
b/interrupts.c
index 9776193b5546c37d4c3d075bfa1c7a7f211f7bb8..81c7336088e68b0929d8de593b266d20e9cefa96 100644
(file)
--- a/
interrupts.c
+++ b/
interrupts.c
@@
-11166,6
+11166,19
@@
void native_interrupt (CPU8086 *cpu, uint8_t interrupt_number) {
int_2F (cpu);
break;
+
+ case 0x67:
+
+ if (cpu->regs[REG_AX] == 0xDE00) {
+ cpu->regs[REG_AX] = 0x8400;
+ } else {
+
+ printf ("Unhandled INT 67h Function: AX=0x%04X\n", cpu->regs[REG_AX]);
+ cpu->regs[REG_AX] = (uint16_t) ((cpu->regs[REG_AX] & 0x00FF) | 0x8400);
+
+ }
+
+ break;
default: