From 933642091dda56130e8e77a70b422e3a55976c11 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Sun, 11 Sep 2005 13:32:33 +0000 Subject: [PATCH] merged Shadow President and Bio Menace into one hack Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2310 --- src/dos/dos_memory.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/dos/dos_memory.cpp b/src/dos/dos_memory.cpp index c0eff78c..ae0a8cf1 100644 --- a/src/dos/dos_memory.cpp +++ b/src/dos/dos_memory.cpp @@ -362,18 +362,16 @@ void DOS_SetupMemory(void) { * buggy games, which compare against the interrupt table. (probably a * broken linked list implementation) */ // BioMenace (segment of int2<0x8000) - mem_writeb((DOS_MEM_START+1)<<4,0xcf);// iret - RealSetVec(0x02,(DOS_MEM_START+1)<<16); callbackhandler.Allocate(&DOS_default_handler,"DOS default int"); //Shadow president wants int 4 to point to this. real_writeb(0x70,0,(Bit8u)0xFE); //GRP 4 real_writeb(0x70,1,(Bit8u)0x38); //Extra Callback instruction real_writew(0x70,2,callbackhandler.Get_callback()); //The immediate word real_writeb(0x70,4,(Bit8u)0xCF); //An IRET Instruction - real_writed(0,0x04*4,0x700000); - //claim some more ints to this location real_writed(0,0x01*4,0x700000); + real_writed(0,0x02*4,0x700000); //BioMenace real_writed(0,0x03*4,0x700000); + real_writed(0,0x04*4,0x700000); //Shadow President // real_writed(0,0x0f*4,0x700000); //Always a tricky one (soundblaster irq) DOS_MCB mcb((Bit16u)DOS_MEM_START+2);