SDL-1.2.14 runtime and development kit for os2klibc

SDL/2 official :  http://sdl.netlabs.org/en/site/index.xml
                  ftp://ftp.netlabs.org/pub/sdl/


System Requirement:

 - CPU: Pentium or above
 - OS/2 Warp V4 with FP5+ (or Warp V3 with FP33+, maybe)
 - kLIBC 0.6.3 (ftp://ftp.netlabs.org/pub/gcc/libc-0_6_3-csd3.wpi)
 - And your favorite SDL-based apps;)

  Headers, libraries and config tool (sdl-config) are suitable for gcc 4.4.1.
  (It may also work with gcc 3.3.5 csd 3)


Installation:

 1. Check your LIBPATH and remove all old DLLs (kSDL12.dll).
 2. Copy new kSDL12.dll into your LIBPATH.


New Environment Variables for Configuraion (os2klibc version specific):

  SDL_VIDEO_FORCE16BPP
    Use always 16bit surface internally. (os2dive only)
    (It may improve spped and stability on 16M-coloured desktop...)
  SDL_VIDEO_FORCE24BPP
    Use always 24bit surface internally. (os2dive only)
  SDL_VIDEO_SWAP_RGB
    Swap Red colormap and Blue one. Mostly for buggy display drivers.
    (os2dive and os2vman)
  SDL_DISABLE_SYSTEMIM
    Disable DBCS IME and omit extra NLS states. 
    Usable for full-console emulators (like dosbox, qemu and Virtualbox).

  eg) set SDL_VIDEO_FORCE16BPP=1

  and you should read SDL/2 origial README.
  (share\doc\SDL-1.2.14\README.OS2-20080804)


History:

2009-04-19
 - Sync Caetano and Doodle's port (for version 1.2.10) with SDL-1.2.13
 - Built with GCC 4.3.3. (Compiling with the OpenWatcom is not tested)
 - DLL name : kSDL12.dll
 - Import library : SDL.a, SDL.lib
 - for backward compatibility:
     SDL12.dll (export APIs by name and ordinal)
     SDL12.a, SDL12.lib (import symbols by name, without ordinals)
 - Disable DBCS IME and NLS extra keyboard-state when the environment variable
   SDL_DISABLE_SYSTEMIM=1 (for "console" emulators such as VirtualBox, qemu
   and dosbox...)

2009-05-06
 - bugfix (compliance for gcc)

2009-11-06
 - Based on SDL-1.2.14
 - Built with gcc 4.4.1
 - Fix 24bit RGB colormap (os2dive, os2vman)
 - New configuration switches (environment variables)
     SDL_VIDEO_FORCE16BPP  (os2dive) always use 16bit R565 colormap
     SDL_VIDEO_FORCE24BPP  (os2dive) always use 24bit BGR3 colormap
     SDL_VIDEO_SWAP_RGB    (os2dive, os2vman)
                           swap RGB3(RGB4) and BGR3(BGR4) colormap
 - Workaround for Virtual PC (with Additional Display Driver)
   When running under VPC:
     + video driver "os2dive" as default
     + colormap fallback to 16bit R565
 - some refactoring src/video/os2* (work-in-progress)

