projects
/
dosemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f329142
)
Implement INT 21h AH=1Eh CP/M compatibility function
author
Robert Pengelly
<robertapengelly@hotmail.com>
Thu, 29 Oct 2026 11:31:57 +0000
(11:31 +0000)
committer
Robert Pengelly
<robertapengelly@hotmail.com>
Thu, 29 Oct 2026 11:31:57 +0000
(11:31 +0000)
interrupts.c
patch
|
blob
|
history
diff --git
a/interrupts.c
b/interrupts.c
index 1a425aa93acb3581727f487812fb60e19d292a4e..79a268280b922e0799e7b804ee8edbd5f20a1f70 100644
(file)
--- a/
interrupts.c
+++ b/
interrupts.c
@@
-6883,6
+6883,15
@@
static void int_21 (CPU8086 *cpu) {
}
+ case 0x1E: { /* Null Function for CP/M Compatibility */
+
+ set_reg8 (cpu, REG_AX, 0x00);
+ cpu->flags &= ~FLAG_CF;
+
+ break;
+
+ }
+
case 0x25: { /* Set Interrupt Vector */
uint8_t int_num = cpu->regs[REG_AX] & 0x00FF; /* AL */