1
0
Fork 0

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
This commit is contained in:
ripsaw8080 2019-04-23 09:50:56 +00:00
parent 1d01c8d151
commit 701663b574

View file

@ -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)