Remove some unnecessary things from prior commits; oops.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4063
This commit is contained in:
parent
29bb526d20
commit
34f99e9261
2 changed files with 1 additions and 9 deletions
|
@ -20,7 +20,6 @@
|
|||
#include "dosbox.h"
|
||||
#include "mem.h"
|
||||
#include "dos_inc.h"
|
||||
#include "callback.h"
|
||||
|
||||
#define UMB_START_SEG 0x9fff
|
||||
|
||||
|
@ -387,17 +386,10 @@ bool DOS_LinkUMBsToMemChain(Bit16u linkstate) {
|
|||
}
|
||||
|
||||
|
||||
static Bitu DOS_default_handler(void) {
|
||||
LOG(LOG_CPU,LOG_ERROR)("DOS rerouted Interrupt Called %X",lastint);
|
||||
return CBRET_NONE;
|
||||
}
|
||||
|
||||
static CALLBACK_HandlerObject callbackhandler;
|
||||
void DOS_SetupMemory(void) {
|
||||
/* Let dos claim a few bios interrupts. Makes DOSBox more compatible with
|
||||
* buggy games, which compare against the interrupt table. (probably a
|
||||
* broken linked list implementation) */
|
||||
callbackhandler.Allocate(&DOS_default_handler,"DOS default int");
|
||||
Bit16u ihseg = 0x70;
|
||||
Bit16u ihofs = 0x08;
|
||||
real_writeb(ihseg,ihofs,(Bit8u)0xCF); //An IRET Instruction
|
||||
|
|
|
@ -1197,7 +1197,7 @@ att_text16:
|
|||
att_data[ct]=ct;
|
||||
att_data[ct+8]=ct+0x38;
|
||||
}
|
||||
if (IS_EGAVGA_ARCH) att_data[0x06]=0x14; //Odd Color 6 yellow/brown.
|
||||
att_data[0x06]=0x14; //Odd Color 6 yellow/brown.
|
||||
}
|
||||
break;
|
||||
case M_CGA2:
|
||||
|
|
Loading…
Add table
Reference in a new issue