From 701663b574bbfc218d598a85f57b480770c668f4 Mon Sep 17 00:00:00 2001 From: ripsaw8080 Date: Tue, 23 Apr 2019 09:50:56 +0000 Subject: [PATCH] Use a more compatible offset for DOS redirected interrupt vector. Works around a null pointer bug in the notes dropdown list of Jack the Ripper. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4218 --- src/dos/dos_memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dos/dos_memory.cpp b/src/dos/dos_memory.cpp index fa78e73e..6037eec0 100644 --- a/src/dos/dos_memory.cpp +++ b/src/dos/dos_memory.cpp @@ -384,7 +384,7 @@ void DOS_SetupMemory(void) { * buggy games, which compare against the interrupt table. (probably a * broken linked list implementation) */ Bit16u ihseg = 0x70; - Bit16u ihofs = 0x08; + Bit16u ihofs = 0xF4; real_writeb(ihseg,ihofs,(Bit8u)0xCF); //An IRET Instruction RealSetVec(0x01,RealMake(ihseg,ihofs)); //BioMenace (offset!=4) RealSetVec(0x02,RealMake(ihseg,ihofs)); //BioMenace (segment<0x8000)