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:
parent
5d874b4efb
commit
87f990907d
3 changed files with 40 additions and 11 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue