1
0
Fork 0

Report correct value for people requesting memory allocation strategy.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@300
This commit is contained in:
Sjoerd van der Berg 2002-09-24 21:48:18 +00:00
parent 52f4e4a2fb
commit c35855909e

View file

@ -704,7 +704,15 @@ static Bitu DOS_21Handler(void) {
LOG_DEBUG("DOS:57:Getting/Setting File Date is faked",reg_ah);
break;
case 0x58: /* Get/Set Memory allocation strategy */
LOG_DEBUG("DOS:58:Not Supported Set//Get memory allocation");
switch (reg_al) {
case 0: /* Get Strategy */
reg_ax=0; //Low memory first fit
break;
case 1: /* Set Strategy */
break;
default:
LOG_DEBUG("DOS:58:Not Supported Set//Get memory allocation call %X",reg_al);
}
break;
case 0x59: /* Get Extended error information */
reg_ax=dos.errorcode;