projects
/
dosemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01082b0
)
Preserve interrupt flags when chaining BIOS timer interrupts
author
Robert Pengelly
<robertapengelly@hotmail.com>
Sat, 24 Oct 2026 16:47:24 +0000
(17:47 +0100)
committer
Robert Pengelly
<robertapengelly@hotmail.com>
Sat, 24 Oct 2026 16:47:24 +0000
(17:47 +0100)
interrupts.c
patch
|
blob
|
history
diff --git
a/interrupts.c
b/interrupts.c
index 99cfc249736936b385f3b0ed1ef5f13554e74f40..d561225d49294e92650150915a83b70a410f54b4 100644
(file)
--- a/
interrupts.c
+++ b/
interrupts.c
@@
-11207,9
+11207,10
@@
void native_interrupt (CPU8086 *cpu, uint8_t interrupt_number) {
case 0x08:
bios_timer_refresh (cpu);
-
cpu->pic[0].isr &= (uint8_t) ~1;
+
handle_interrupt (cpu, 0x1C);
+ cpu->flags = saved_flags;
break;