Author: aandrejevic
Date: Sun Oct 20 15:01:28 2013
New Revision: 60724
URL:
http://svn.reactos.org/svn/reactos?rev=60724&view=rev
Log:
[NTVDM]
Implement the "Get Default Drive" DOS command.
Modified:
branches/ntvdm/subsystems/ntvdm/dos.c
Modified: branches/ntvdm/subsystems/ntvdm/dos.c
URL:
http://svn.reactos.org/svn/reactos/branches/ntvdm/subsystems/ntvdm/dos.c?re…
==============================================================================
--- branches/ntvdm/subsystems/ntvdm/dos.c [iso-8859-1] (original)
+++ branches/ntvdm/subsystems/ntvdm/dos.c [iso-8859-1] Sun Oct 20 15:01:28 2013
@@ -1446,6 +1446,15 @@
break;
}
+ /* Get Default Drive */
+ case 0x19:
+ {
+ EmulatorSetRegister(EMULATOR_REG_AX,
+ (Eax & 0xFFFFFF00) | CurrentDrive);
+
+ break;
+ }
+
/* Set Disk Transfer Area */
case 0x1A:
{