projects
/
dosemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7392a0
)
Implement BIOS INT 11h equipment detection
author
Robert Pengelly
<robertapengelly@hotmail.com>
Sun, 18 Oct 2026 15:47:03 +0000
(16:47 +0100)
committer
Robert Pengelly
<robertapengelly@hotmail.com>
Sun, 18 Oct 2026 15:47:03 +0000
(16:47 +0100)
interrupts.c
patch
|
blob
|
history
diff --git
a/interrupts.c
b/interrupts.c
index b1f965a18c6de0e729af4fafa14f47120f51267c..896fbe2fbb3924d7eeb77143f80f513836641e4f 100644
(file)
--- a/
interrupts.c
+++ b/
interrupts.c
@@
-7786,6
+7786,12
@@
void native_interrupt (CPU8086 *cpu, uint8_t interrupt_number) {
int_10 (cpu);
break;
+
+ case 0x11:
+
+ /* BIOS equipment list: floppy drive and 80-column colour display. */
+ cpu->regs[REG_AX] = 0x0021;
+ break;
case 0x13: