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:
parent
b6a4b0fb5c
commit
8f5af81299
4 changed files with 18 additions and 6 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue