mirror of
https://github.com/FDOS/kernel.git
synced 2025-04-08 17:15:17 +02:00
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:
parent
7471b8f614
commit
f5a65b5992
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user