[NTVDM]
[reactos.git] / subsystems / ntvdm / dos.c
index bd531ca..147daaf 100644 (file)
@@ -2330,6 +2330,8 @@ VOID DosInt21h(LPWORD Stack)
 
         /* Internal - Get Current Process ID (Get PSP Address) */
         case 0x51:
+        /* Get Current PSP Address */
+        case 0x62:
         {
             /*
              * Identical to the documented AH=62h.
@@ -2396,24 +2398,6 @@ VOID DosInt21h(LPWORD Stack)
             break;
         }
 
-        /* Get Current PSP Address */
-        case 0x62:
-        {
-            /*
-             * Identical to the undocumented AH=51h.
-             * See Ralf Brown: http://www.ctyme.com/intr/rb-3140.htm
-             * for more information.
-             */
-            setAH(0x51); // Call the internal function.
-            /*
-             * Instead of calling ourselves really recursively as in:
-             * DosInt21h(Stack);
-             * prefer resetting the CF flag to let the BOP repeat.
-             */
-            setCF(1);
-            break;
-        }
-
         /* Unsupported */
         default:
         {