mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[NTVDM]
Code organization: - Create directory hardware/video where to put all video emulation (VGA currently, and maybe other things in the future); - Create directory hardware/sound where to put all sound emulation (PC speaker currently, and maybe other things in the future); - timer.c/h --> pit.c/h; - Adjust the necessary includes and the cmakefiles; - Remove unneeded includes; - NTVDM is allowed to have its own VS project ^^ svn path=/trunk/; revision=65430
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
|
||||
PROJECT(NTVDM)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/fast486)
|
||||
|
||||
spec2def(ntvdm.exe ntvdm.spec)
|
||||
|
||||
list(APPEND SOURCE
|
||||
@@ -19,10 +22,10 @@ list(APPEND SOURCE
|
||||
hardware/keyboard.c
|
||||
hardware/mouse.c
|
||||
hardware/pic.c
|
||||
hardware/pit.c
|
||||
hardware/ps2.c
|
||||
hardware/speaker.c
|
||||
hardware/timer.c
|
||||
hardware/vga.c
|
||||
hardware/sound/speaker.c
|
||||
hardware/video/vga.c
|
||||
dos/dos32krnl/bios.c
|
||||
dos/dos32krnl/dos.c
|
||||
dos/dos32krnl/dosfiles.c
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#include "io.h"
|
||||
#include "hardware/cmos.h"
|
||||
#include "hardware/pic.h"
|
||||
#include "hardware/timer.h"
|
||||
#include "hardware/pit.h"
|
||||
|
||||
/* Extra PSDK/NDK Headers */
|
||||
#include <ndk/kefuncs.h>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
// #include "vidbios.h"
|
||||
|
||||
#include "io.h"
|
||||
#include "hardware/vga.h"
|
||||
#include "hardware/video/vga.h"
|
||||
|
||||
/* DEFINES ********************************************************************/
|
||||
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
|
||||
#include "hardware/cmos.h"
|
||||
#include "hardware/ps2.h"
|
||||
#include "hardware/timer.h"
|
||||
#include "hardware/vga.h"
|
||||
#include "hardware/pit.h"
|
||||
#include "hardware/video/vga.h"
|
||||
|
||||
/* Extra PSDK/NDK Headers */
|
||||
#include <ndk/kefuncs.h>
|
||||
|
||||
@@ -24,9 +24,9 @@
|
||||
#include "hardware/mouse.h"
|
||||
#include "hardware/pic.h"
|
||||
#include "hardware/ps2.h"
|
||||
#include "hardware/speaker.h"
|
||||
#include "hardware/timer.h"
|
||||
#include "hardware/vga.h"
|
||||
#include "hardware/sound/speaker.h"
|
||||
#include "hardware/pit.h"
|
||||
#include "hardware/video/vga.h"
|
||||
|
||||
#include "io.h"
|
||||
|
||||
|
||||
@@ -26,9 +26,9 @@
|
||||
#include "hardware/mouse.h"
|
||||
#include "hardware/pic.h"
|
||||
#include "hardware/ps2.h"
|
||||
#include "hardware/speaker.h"
|
||||
#include "hardware/timer.h"
|
||||
#include "hardware/vga.h"
|
||||
#include "hardware/sound/speaker.h"
|
||||
#include "hardware/pit.h"
|
||||
#include "hardware/video/vga.h"
|
||||
|
||||
#include "vddsup.h"
|
||||
#include "io.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* COPYRIGHT: GPL - See COPYING in the top level directory
|
||||
* PROJECT: ReactOS Virtual DOS Machine
|
||||
* FILE: timer.c
|
||||
* FILE: pit.c
|
||||
* PURPOSE: Programmable Interval Timer emulation -
|
||||
* i82C54/8254 compatible
|
||||
* PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
#include "emulator.h"
|
||||
#include "io.h"
|
||||
#include "timer.h"
|
||||
#include "pit.h"
|
||||
#include "pic.h"
|
||||
|
||||
/* PRIVATE VARIABLES **********************************************************/
|
||||
@@ -1,15 +1,15 @@
|
||||
/*
|
||||
* COPYRIGHT: GPL - See COPYING in the top level directory
|
||||
* PROJECT: ReactOS Virtual DOS Machine
|
||||
* FILE: timer.h
|
||||
* FILE: pit.h
|
||||
* PURPOSE: Programmable Interval Timer emulation -
|
||||
* i82C54/8254 compatible
|
||||
* PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
|
||||
* Hermes Belusca-Maito (hermes.belusca@sfr.fr)
|
||||
*/
|
||||
|
||||
#ifndef _TIMER_H_
|
||||
#define _TIMER_H_
|
||||
#ifndef _PIT_H_
|
||||
#define _PIT_H_
|
||||
|
||||
/* INCLUDES *******************************************************************/
|
||||
|
||||
@@ -84,6 +84,6 @@ VOID PitClock(DWORD Count);
|
||||
|
||||
VOID PitInitialize(VOID);
|
||||
|
||||
#endif // _TIMER_H_
|
||||
#endif // _PIT_H_
|
||||
|
||||
/* EOF */
|
||||
+1
-1
@@ -12,7 +12,7 @@
|
||||
|
||||
#include "emulator.h"
|
||||
#include "speaker.h"
|
||||
#include "timer.h"
|
||||
#include "hardware/pit.h"
|
||||
|
||||
/* Extra PSDK/NDK Headers */
|
||||
#include <ndk/iofuncs.h>
|
||||
@@ -14,11 +14,7 @@
|
||||
#include "emulator.h"
|
||||
#include "cpu/cpu.h"
|
||||
|
||||
#include "clock.h"
|
||||
#include "hardware/ps2.h"
|
||||
#include "hardware/vga.h"
|
||||
#include "bios/bios.h"
|
||||
#include "dos/dem.h"
|
||||
|
||||
#include "resource.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user