[NTVDM]
[reactos.git] / reactos / subsystems / ntvdm / emulator.c
index 983e4dd..004418a 100644 (file)
@@ -22,6 +22,7 @@
 #include "clock.h"
 #include "bios/rom.h"
 #include "hardware/cmos.h"
+#include "hardware/dma.h"
 #include "hardware/keyboard.h"
 #include "hardware/mouse.h"
 #include "hardware/pic.h"
@@ -626,6 +627,7 @@ BOOLEAN EmulatorInitialize(HANDLE ConsoleInput, HANDLE ConsoleOutput)
     CpuInitialize();
 
     /* Initialize DMA */
+    DmaInitialize();
 
     /* Initialize the PIC, the PIT, the CMOS and the PC Speaker */
     PicInitialize();
@@ -706,6 +708,8 @@ VOID EmulatorCleanup(VOID)
     // PitCleanup();
     // PicCleanup();
 
+    // DmaCleanup();
+
     CpuCleanup();
 
 #ifdef STANDALONE