mirror of
https://github.com/reactos/reactos.git
synced 2025-05-21 10:05:35 +00:00
[NTVDM]: Start to organize the code...
svn path=/branches/ntvdm/; revision=61583
This commit is contained in:
parent
af24ac79df
commit
3d36bf4451
20 changed files with 37 additions and 28 deletions
|
@ -1,23 +1,25 @@
|
||||||
|
|
||||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/fast486)
|
include_directories(
|
||||||
|
${REACTOS_SOURCE_DIR}/include/reactos/libs/fast486
|
||||||
|
ntvdm)
|
||||||
|
|
||||||
spec2def(ntvdm.exe ntvdm.spec)
|
spec2def(ntvdm.exe ntvdm.spec)
|
||||||
|
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
bios.c
|
bios/bios.c
|
||||||
|
hardware/cmos.c
|
||||||
|
hardware/pic.c
|
||||||
|
hardware/ps2.c
|
||||||
|
hardware/speaker.c
|
||||||
|
hardware/timer.c
|
||||||
|
hardware/vga.c
|
||||||
|
dos/dos.c
|
||||||
bop.c
|
bop.c
|
||||||
cmos.c
|
|
||||||
dos.c
|
|
||||||
emulator.c
|
emulator.c
|
||||||
int32.c
|
int32.c
|
||||||
io.c
|
io.c
|
||||||
pic.c
|
|
||||||
ps2.c
|
|
||||||
registers.c
|
registers.c
|
||||||
speaker.c
|
|
||||||
timer.c
|
|
||||||
vddsup.c
|
vddsup.c
|
||||||
vga.c
|
|
||||||
ntvdm.c
|
ntvdm.c
|
||||||
ntvdm.rc
|
ntvdm.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/ntvdm.def)
|
${CMAKE_CURRENT_BINARY_DIR}/ntvdm.def)
|
||||||
|
|
|
@ -14,10 +14,10 @@
|
||||||
#include "bios.h"
|
#include "bios.h"
|
||||||
|
|
||||||
#include "io.h"
|
#include "io.h"
|
||||||
#include "vga.h"
|
#include "hardware/vga.h"
|
||||||
#include "pic.h"
|
#include "hardware/pic.h"
|
||||||
#include "ps2.h"
|
#include "hardware/ps2.h"
|
||||||
#include "timer.h"
|
#include "hardware/timer.h"
|
||||||
|
|
||||||
#include "int32.h"
|
#include "int32.h"
|
||||||
#include "registers.h"
|
#include "registers.h"
|
|
@ -13,7 +13,7 @@
|
||||||
#include "emulator.h"
|
#include "emulator.h"
|
||||||
#include "dos.h"
|
#include "dos.h"
|
||||||
|
|
||||||
#include "bios.h"
|
#include "bios/bios.h"
|
||||||
#include "bop.h"
|
#include "bop.h"
|
||||||
#include "int32.h"
|
#include "int32.h"
|
||||||
#include "registers.h"
|
#include "registers.h"
|
|
@ -11,13 +11,13 @@
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
|
|
||||||
#include "emulator.h"
|
#include "emulator.h"
|
||||||
#include "bios.h"
|
#include "bios/bios.h"
|
||||||
#include "bop.h"
|
#include "bop.h"
|
||||||
#include "vddsup.h"
|
#include "vddsup.h"
|
||||||
#include "io.h"
|
#include "io.h"
|
||||||
#include "registers.h"
|
#include "registers.h"
|
||||||
#include "vga.h"
|
#include "hardware/vga.h"
|
||||||
#include "pic.h"
|
#include "hardware/pic.h"
|
||||||
|
|
||||||
// HACK
|
// HACK
|
||||||
typedef INT VDM_MODE;
|
typedef INT VDM_MODE;
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
#include "emulator.h"
|
#include "emulator.h"
|
||||||
#include "cmos.h"
|
#include "cmos.h"
|
||||||
#include "io.h"
|
#include "io.h"
|
||||||
#include "bios.h"
|
#include "bios/bios.h"
|
||||||
#include "pic.h"
|
#include "pic.h"
|
||||||
|
|
||||||
/* PRIVATE VARIABLES **********************************************************/
|
/* PRIVATE VARIABLES **********************************************************/
|
|
@ -14,7 +14,7 @@
|
||||||
#include "vga.h"
|
#include "vga.h"
|
||||||
|
|
||||||
#include "io.h"
|
#include "io.h"
|
||||||
#include "bios.h"
|
#include "bios/bios.h"
|
||||||
|
|
||||||
/* PRIVATE VARIABLES **********************************************************/
|
/* PRIVATE VARIABLES **********************************************************/
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
#include "int32.h"
|
#include "int32.h"
|
||||||
|
|
||||||
#include "bop.h"
|
#include "bop.h"
|
||||||
#include "bios.h"
|
#include "bios/bios.h"
|
||||||
#include "registers.h"
|
#include "registers.h"
|
||||||
|
|
||||||
/* PRIVATE VARIABLES **********************************************************/
|
/* PRIVATE VARIABLES **********************************************************/
|
||||||
|
|
|
@ -12,14 +12,15 @@
|
||||||
|
|
||||||
#include "ntvdm.h"
|
#include "ntvdm.h"
|
||||||
#include "emulator.h"
|
#include "emulator.h"
|
||||||
#include "cmos.h"
|
|
||||||
#include "bios.h"
|
#include "bios/bios.h"
|
||||||
#include "speaker.h"
|
#include "hardware/cmos.h"
|
||||||
#include "vga.h"
|
#include "hardware/pic.h"
|
||||||
#include "dos.h"
|
#include "hardware/ps2.h"
|
||||||
#include "timer.h"
|
#include "hardware/speaker.h"
|
||||||
#include "pic.h"
|
#include "hardware/timer.h"
|
||||||
#include "ps2.h"
|
#include "hardware/vga.h"
|
||||||
|
#include "dos/dos.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Activate this line if you want to be able to test NTVDM with:
|
* Activate this line if you want to be able to test NTVDM with:
|
||||||
|
@ -142,6 +143,12 @@ INT wmain(INT argc, WCHAR *argv[])
|
||||||
/* Initialize the PC Speaker */
|
/* Initialize the PC Speaker */
|
||||||
SpeakerInitialize();
|
SpeakerInitialize();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Initialize the system BIOS */
|
/* Initialize the system BIOS */
|
||||||
if (!BiosInitialize())
|
if (!BiosInitialize())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue