mirror of
https://github.com/reactos/reactos.git
synced 2024-08-04 10:30:59 +00:00
ed874b41fc
Implement basic VDD support: implement the (un)register & dispatch call BOP (called BOP_3RDPARTY): see "Undocumented DOS" by Schulman et al. page 267 (as always ;) ), as well as: http://www.ragestorm.net/tutorial?id=27 - "Tutorial - Calling Win32 from DOS" http://www.airborn.com.au/layout/vddtest.html - "DOS to 32 bit DLL under XP - an example" (almost the same explanations as the previous article) http://sta.c64.org/blog/dosvddaccess.html - "Accessing Windows device drivers from DOS programs" and... ... your lovely Win2k / Win2k3 DDK section: "Device Technologies/Other Devices/Devices Requiring VDDs" !! Ready to test? :D svn path=/branches/ntvdm/; revision=61283
30 lines
586 B
CMake
30 lines
586 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/fast486)
|
|
|
|
spec2def(ntvdm.exe ntvdm.spec)
|
|
|
|
list(APPEND SOURCE
|
|
bios.c
|
|
bop.c
|
|
cmos.c
|
|
dos.c
|
|
emulator.c
|
|
int32.c
|
|
io.c
|
|
pic.c
|
|
ps2.c
|
|
registers.c
|
|
speaker.c
|
|
timer.c
|
|
vddsup.c
|
|
vga.c
|
|
ntvdm.c
|
|
ntvdm.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/ntvdm.def)
|
|
|
|
add_executable(ntvdm ${SOURCE})
|
|
set_module_type(ntvdm win32cui UNICODE)
|
|
target_link_libraries(ntvdm fast486)
|
|
add_importlibs(ntvdm msvcrt user32 gdi32 kernel32 ntdll)
|
|
add_cd_file(TARGET ntvdm DESTINATION reactos/system32 FOR all)
|