1
0
Fork 0

Added Int 21/67: Set file handle count

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@665
This commit is contained in:
Ulf Wohlers 2003-02-14 22:16:19 +00:00
parent e727664414
commit 44e7e65ab5
3 changed files with 23 additions and 5 deletions

View file

@ -784,11 +784,14 @@ static Bitu DOS_21Handler(void) {
}
LOG_ERROR("DOS:Setting code page table is not supported");
break;
case 0x67: /* Set handle countr */
case 0x67: /* Set handle count */
/* Weird call to increase amount of file handles needs to allocate memory if >20 */
LOG_DEBUG("DOS:67:Set Handle Count not working");
CALLBACK_SCF(false);
break;
{
DOS_PSP psp(dos.psp);
psp.SetNumFiles(reg_bx);
CALLBACK_SCF(false);
break;
};
case 0x69: /* Get/Set disk serial number */
{
switch(reg_al) {