SDL  2.0
README-os2.md
Go to the documentation of this file.
1 Simple DirectMedia Layer 2 for OS/2 & eComStation
2 ================================================================================
3 SDL port for OS/2, authored by Andrey Vasilkin <digi@os2.snc.ru>, 2016
4 
5 
6 OpenGL, joystick and audio capture not supported by this port.
7 
8 Additional environment variables (optional) for OS/2 version:
9 
10 SDL_AUDIO_SHARE
11  Values: 0 or 1, default is 0
12  Initializes the device as shareable or exclusively acquired.
13 
14 SDL_VIDEODRIVER
15  Values: DIVE or VMAN, default is DIVE
16  Use video subsystem: Direct interface video extensions (DIVE) or
17  Video Manager (VMAN).
18 
19 You may significantly increase video output speed with OS4 kernel and patched
20 files vman.dll and dive.dll or with latest versions of ACPI support and video
21 driver Panorama.
22 
23 Latest versions of OS/4 kernel:
24  http://gus.biysk.ru/os4/
25  (Info: https://www.os2world.com/wiki/index.php/Phoenix_OS/4)
26 
27 Patched files vman.dll and dive.dll:
28  http://gus.biysk.ru/os4/test/pached_dll/PATCHED_DLL.RAR
29 
30 
31 Compiling:
32 ----------
33 
34 Open Watcom 1.9 or newer is tested. For the new Open Watcom V2 fork, see:
35 https://github.com/open-watcom/ and https://open-watcom.github.io
36 WATCOM ervironment variable must to be set to the Open Watcom install
37 directory. To compile, run: wmake -f Makefile.os2
38 
39 
40 Installing:
41 -----------
42 
43 - eComStation:
44 
45  If you have previously installed SDL2, make a Backup copy of SDL2.dll
46  located in D:\ecs\dll (where D: is disk on which installed eComStation).
47  Stop all programs running with SDL2. Copy SDL2.dll to D:\ecs\dll
48 
49 - OS/2:
50 
51  Copy SDL2.dll to any directory on your LIBPATH. If you have a previous
52  version installed, close all SDL2 applications before replacing the old
53  copy. Also make sure that any other older versions of DLLs are removed
54  from your system.