README.AmigaOS
author Ryan C. Gordon
Thu, 18 Aug 2005 06:06:02 +0000
changeset 1118 65f4b2dd46b7
parent 21 75a95f82bc1f
child 3888 6d2e1961661a
permissions -rw-r--r--
Date: Wed, 17 Aug 2005 11:23:40 -0400
From: Matt L <prometheus.uw@gmail.com>
To: "Ryan C. Gordon" <icculus@clutteredmind.org>
Subject: SDL Patch

Hio,

I saw your last call on the mailing list. Here's a patch which I
submitted about two weeks ago which hasn't made it in.

In the current sdl.m4, there's a bug where if your configure.ac, you
have AC_LANG(C++) specified, it won't properly compile and link the SDL
test program when you run the configure script. This is because only the
default CFLAGS is overriden in sdl.m4, and in the patch below, I've
fixed it so it overrides CXXFLAGS as well, allowing it to work with g++.
     1 This is the porting of 1.2.0 version of SDL (the latest stable one)
     2 to AmigaOS/68k.
     3 
     4 All the bugs known of the past version have been corrected. And I've
     5 added all the new SDL features.
     6 
     7 This version of SDL needs Cybergraphx V3 (r69+) or CyberGraphX V4
     8 and AHI v3+. Probably it works also with P96 or CGXAga, but it's 
     9 untested.
    10 
    11 This version is available as linked library for SAS/C and GCC, only 68k this 
    12 time, a powerup (ppcemu compatible) and a morphos version will be ready quite 
    13 soon (i hope).
    14 
    15 Implemented:
    16 
    17 - 8/16/24/32bit video modes, both fullscreen and windowed.
    18 - Hardware surfaces.
    19 - CGX blitting acceleration.
    20 - CGX colorkey blitting acceleration.
    21 - AHI audio (8/16 bit, with any audio format), always uses unit 0 for now.
    22 - Thread support (maybe not 100% compatible with other implementations)
    23 - Semaphores 
    24 - Window resizing and backdrop windows (NEW)
    25 - Joystick/Joypad support.
    26 
    27 To do:
    28 
    29 - CDRom audio playing support
    30 - OpenGL (A guy was working on it but I've lost his tracks :( )
    31 
    32 The SAS/C library is distributed with debug info attached, to strip debug info 
    33 simply add STRIPDEBUG argument to the linker.
    34 
    35 NOTE: SDL includes debug output using kprintf, to disable it add to your 
    36 project a function like this:
    37 
    38 void kprintf(char *a,...)
    39 {
    40 }
    41 
    42 Otherwise you can redirect the debug to a console window with sushi, sashimi or
    43 similar tools (the default output is the internal serial port). 
    44 
    45 For info, support, bugfix and other feel free to mail me:
    46 
    47 Gabriele Greco (gabriele.greco@aruba.it)
    48 
    49 You can find also a small SDL Amiga page at:
    50 http://ggreco.interfree.it/sdl.html