From f39a69a51dbb3b3a2030f6bb4eacd8e66aeffd71 Mon Sep 17 00:00:00 2001 From: Ove Kaaven Date: Mon, 13 Nov 2000 04:12:12 +0000 Subject: [PATCH] Use the virtual real-mode interrupt table if low DOS memory isn't mapped. --- msdos/interrupts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/msdos/interrupts.c b/msdos/interrupts.c index d065401c6e9..c8662e520bd 100644 --- a/msdos/interrupts.c +++ b/msdos/interrupts.c @@ -64,7 +64,7 @@ void INT_SetPMHandler( BYTE intnum, FARPROC16 handler ) */ FARPROC16 INT_GetRMHandler( BYTE intnum ) { - return ((FARPROC16*)DOSMEM_MemoryBase())[intnum]; + return ((FARPROC16*)DOSMEM_SystemBase())[intnum]; } @@ -77,7 +77,7 @@ void INT_SetRMHandler( BYTE intnum, FARPROC16 handler ) { TRACE("Set real mode interrupt vector %02x <- %04x:%04x\n", intnum, HIWORD(handler), LOWORD(handler) ); - ((FARPROC16*)DOSMEM_MemoryBase())[intnum] = handler; + ((FARPROC16*)DOSMEM_SystemBase())[intnum] = handler; }