mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-17 07:12:15 +08:00
SVN r4218
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.
This commit is contained in:
@@ -527,7 +527,7 @@ void DOS_SetupMemory(void) {
|
|||||||
|
|
||||||
assert(DOS_IHSEG != 0);
|
assert(DOS_IHSEG != 0);
|
||||||
ihseg = DOS_IHSEG;
|
ihseg = DOS_IHSEG;
|
||||||
ihofs = 0x08;
|
ihofs = 0xF4;
|
||||||
|
|
||||||
real_writeb(ihseg,ihofs,(Bit8u)0xCF); //An IRET Instruction
|
real_writeb(ihseg,ihofs,(Bit8u)0xCF); //An IRET Instruction
|
||||||
RealSetVec(0x01,RealMake(ihseg,ihofs)); //BioMenace (offset!=4)
|
RealSetVec(0x01,RealMake(ihseg,ihofs)); //BioMenace (offset!=4)
|
||||||
|
Reference in New Issue
Block a user