1
0
Fork 0

zero reported extended memory size if xms/ems/dpmi is loaded

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1437
This commit is contained in:
Sjoerd van der Berg 2003-11-14 00:04:27 +00:00
parent b6a4b0fb5c
commit 8f5af81299
4 changed files with 18 additions and 6 deletions

View file

@ -583,6 +583,7 @@ static Bitu INT67_Handler(void) {
void EMS_Init(Section* sec) {
Section_prop * section=static_cast<Section_prop *>(sec);
if (!section->Get_bool("ems")) return;
BIOS_ZeroExtendedSize();
call_int67=CALLBACK_Allocate();
CALLBACK_Setup(call_int67,&INT67_Handler,CB_IRET);
/* Register the ems device */