1
0
Fork 0

Support for memory allocation strategy: last matching block

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@535
This commit is contained in:
Ulf Wohlers 2002-11-25 11:37:04 +00:00
parent 5d874b4efb
commit 87f990907d
3 changed files with 40 additions and 11 deletions

View file

@ -679,9 +679,10 @@ static Bitu DOS_21Handler(void) {
case 0x58: /* Get/Set Memory allocation strategy */
switch (reg_al) {
case 0: /* Get Strategy */
reg_ax=0; //Low memory first fit
reg_ax=DOS_GetMemAllocStrategy();
break;
case 1: /* Set Strategy */
DOS_SetMemAllocStrategy(reg_bx);
break;
default:
LOG_DEBUG("DOS:58:Not Supported Set//Get memory allocation call %X",reg_al);