int21/ax=440d lock/unlock logical/physical volume

simulate success for MS-DOS 7+ SCANDISK etc. --LG


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@662 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2003-08-28 20:55:34 +00:00
parent 7471b8f614
commit f5a65b5992

View File

@ -270,6 +270,11 @@ COUNT DosDevIOctl(lregs * r)
{
return DE_INVLDFUNC;
}
if (r->AL == 0x0D && (r->CX & ~(0x486B-0x084A)) == 0x084A)
{ /* 084A/484A, 084B/484B, 086A/486A, 086B/486B */
r->AX = 0; /* (lock/unlock logical/physical volume) */
break; /* simulate success for MS-DOS 7+ SCANDISK etc. --LG */
}
CharReqHdr.r_command = nMode;
execrh((request FAR *) & CharReqHdr, dpbp->dpb_device);