|
From: Marco van den Heuvel <blackystardust68@ya...> - 2015-06-05 22:27:24
|
Hiya Ronald, The best way to make working NT 3.5x binaries is to use msvc6/vs98, this because both mingw32 and msvc7+ have additional dll requirements which are not supported by Windows NT 3.5x. Windows NT 3.51 lacks Direct-X support and OpenGL support, so both SDL and VICE need to be compiled specifically for Windows NT 3.51, the resulting binary will work on 9x/ME and NT 3.51 and up (NT 4, 2000, XP, 2003, Vista, 2008, 7, 2013, 8.x) though. To make a working VICE SDL binary for Windows NT 3.51 the following needs to be done: - Compile SDL without DX and GL support, this can be done by removing the '#define SDL_AUDIO_DRIVER_DSOUND 1', '#define SDL_VIDEO_DRIVER_DDRAW 1', '#define SDL_VIDEO_OPENGL 1' and '#define SDL_VIDEO_OPENGL_WGL 1' parts from the SDL_config_win32.h file, and by removing the 'Directx.h', 'SDL_dx5audio.c', 'SDL_dx5audio.h', 'SDL_dx5events.c', 'SDL_dx5events_c.h', 'SDL_dx5video.c', 'SDL_dx5video.h', 'SDL_dx5yuv.c' and 'SDL_dx5yuv_c.h' source parts from the SDL.dsp file. - Use the resulting SDLmain.lib, SDL.lib and headers to compile VICE. - The resulting SDL.dll needs to be included in the 'make-bindist' directory. - The needed msvcrt.dll can be taken from Windows NT 4.0. Windows NT 3.50 lacks Direct-X support, OpenGL support and joystick support, so both SDL and VICE need to be compiled specifically for Windows NT 3.50, the resulting binary will work on 9x/ME and NT 3.50 and up (NT 3.51, NT 4, 2000, XP, 2003, Vista, 2008, 7, 2013, 8.x) though. To make a working VICE SDL binary for Windows NT 3.50 the following needs to be done: - Compile SDL without DX, GL and joystick support, this can be done by removing the '#define SDL_AUDIO_DRIVER_DSOUND 1', '#define SDL_VIDEO_DRIVER_DDRAW 1', '#define SDL_VIDEO_OPENGL 1' and '#define SDL_VIDEO_OPENGL_WGL 1' parts from the SDL_config_win32.h file, by adding '#define NO_CHANGEDISPLAYSETTINGS 1' to the SDL_config_win32.h file, and by removing the 'Directx.h', 'SDL_dx5audio.c', 'SDL_dx5audio.h', 'SDL_dx5events.c', 'SDL_dx5events_c.h', 'SDL_dx5video.c', 'SDL_dx5video.h', 'SDL_dx5yuv.c', 'SDL_dx5yuv_c.h', 'SDL_joystick.c', 'SDL_joystick_c.h', 'SDL_mmjoystick.c' and 'SDL_sysjoystick.h' source parts from the SDL.dsp file. - Use the resulting SDLmain.lib, SDL.lib and headers to compile VICE. - The resulting SDL.dll needs to be included in the 'make-bindist' directory. - The needed msvcrt.dll can be taken from Windows NT 4.0. To make things easier, I have uploaded some bindists for you to use: http://sourceforge.net/projects/vice-emu/files/experimental%20binaries/SDLVICE_2.4.20-winnt350.zip/download http://sourceforge.net/projects/vice-emu/files/experimental%20binaries/SDLVICE_2.4.20-winnt351.zip/download Signed, Marco van den Heuvel. |