From: Robert Pengelly Date: Thu, 29 Oct 2026 11:31:57 +0000 (+0000) Subject: Implement INT 21h AH=1Eh CP/M compatibility function X-Git-Url: https://git.candlhat.org/?a=commitdiff_plain;h=6d634947b598abe42796c1d17a0579f3f5949e66;p=dosemu.git Implement INT 21h AH=1Eh CP/M compatibility function --- diff --git a/interrupts.c b/interrupts.c index 1a425aa..79a2682 100644 --- 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 */