[NTVDM]: Zero-fill memory with RtlZeroMemory (that exists also in NT mode), and use...
[reactos.git] / reactos / subsystems / ntvdm / dos / dos32krnl / bios.c
index 32057e5..5c0fbcc 100644 (file)
@@ -1,8 +1,8 @@
 /*
  * COPYRIGHT:       GPL - See COPYING in the top level directory
  * PROJECT:         ReactOS Virtual DOS Machine
- * FILE:            dos.c
- * PURPOSE:         VDM DOS Kernel
+ * FILE:            dos/dos32krnl/bios.c
+ * PURPOSE:         DOS32 Bios
  * PROGRAMMERS:     Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
  */
 
@@ -11,7 +11,7 @@
 #define NDEBUG
 
 #include "emulator.h"
-#include "callback.h"
+#include "int32.h"
 
 #include "dos.h"
 
@@ -31,6 +31,8 @@ CHAR DosReadCharacter(WORD FileHandle)
     CHAR Character = '\0';
     WORD BytesRead;
 
+    DPRINT("DosReadCharacter\n");
+
     /* Use the file reading function */
     DosReadFile(FileHandle, &Character, 1, &BytesRead);
 
@@ -166,7 +168,7 @@ BOOLEAN DosBIOSInitialize(VOID)
 #if 0
 
     /* Clear the current directory buffer */
-    ZeroMemory(CurrentDirectories, sizeof(CurrentDirectories));
+    RtlZeroMemory(CurrentDirectories, sizeof(CurrentDirectories));
 
     /* Get the current directory */
     if (!GetCurrentDirectoryA(MAX_PATH, CurrentDirectory))