README.MiNT
author Sam Lantinga <slouken@libsdl.org>
Thu, 07 Mar 2002 20:23:11 +0000
changeset 302 8a86bdf34f0f
parent 281 c5010ab8ba35
child 305 9c6613983e85
permissions -rw-r--r--
Added Atari joystick support (thanks Patrice!)
     1 
     2 ==============================================================================
     3 Using the Simple DirectMedia Layer on Atari
     4 ==============================================================================
     5 
     6 ==============================================================================
     7 I.  Building the Simple DirectMedia Layer libraries:
     8     (This step isn't necessary if you have the SDL binary distribution)
     9 
    10   Do the classic configure, with --disable-shared --enable-static and:
    11 
    12     Tos version (should run everywhere):
    13       --disable-audio --disable-threads
    14     Tos does not support threads, so can not support audio, maybe in a future
    15     version audio support will be added via interrupts.
    16 
    17     MiNT version (maybe Magic, only for multitasking OS):
    18       --disable-pthreads --enable-pth
    19     Mint and Magic may supports threads, so audio can be used with current
    20     devices, like Sun audio, or disk-writing support. Like Tos, interrupt
    21     audio without threads is more suited for Atari machines.
    22 
    23   Then you can make ; make install it.
    24 
    25 ==============================================================================
    26 II. Building the Simple DirectMedia Layer test programs:
    27 
    28   Do the classic configure, then make.
    29 
    30   Run them !
    31 
    32 ==============================================================================
    33 III.  Enjoy! :)
    34 
    35   If you have a project you'd like me to know about, or want to ask questions,
    36   go ahead and join the SDL developer's mailing list by sending e-mail to:
    37 
    38 	sdl-request@libsdl.org
    39 
    40   and put "subscribe" into the subject of the message. Or alternatively you
    41   can use the web interface:
    42 
    43 	http://www.libsdl.org/mailman/listinfo/sdl
    44   
    45 ==============================================================================
    46 IV.  What is supported:
    47 
    48 Keyboard (GEMDOS, BIOS, Ikbd)
    49 Mouse (XBIOS, GEM, Ikbd)
    50 Video (XBIOS (Fullscreen), GEM (Windowed and Fullscreen))
    51 Timer (VBL vector)
    52 Joystick and joypad support (Ikbd, Hardware)
    53 
    54 - What is missing:
    55 Audio support (TOS)
    56 CDROM support (Metados, /dev/cdrom)
    57 Threads support (TOS)
    58 
    59 - Driver combinations:
    60 Video	Kbd	Mouse	Timer	Jstick	Joypads
    61 xbios	ikbd	ikbd	vbl	ikbd	hardware
    62 xbios	gemdos	xbios	vbl	-	hardware
    63 xbios	bios	xbios	vbl	-	hardware
    64 gem	gem	gem	vbl	-	hardware
    65 
    66 ==============================================================================
    67 V.  Environment variables:
    68 
    69 SDL_ATARI_EVENTSDRIVER
    70 	Set to 'ikbd' to force IKBD 6301 keyboard driver
    71 	Set to 'gemdos' to force gemdos keyboard driver
    72 	Set to 'bios' to force bios keyboard driver
    73 
    74 SDL_VIDEODRIVER:
    75 	Set to 'xbios' to force xbios video driver
    76 	Set to 'gem' to force gem video driver
    77 
    78 SDL_JOYSTICK_ATARI:
    79 	Use any of these strings in the environment variable to enable or
    80 	disable a joystick:
    81 
    82 	'ikbd-joy1-[on|off]' for IKBD joystick on port 1
    83 	'porta-pad-[on|off]' for joypad on port A
    84 	'porta-joy0-[on|off]' for joystick 0 on port A
    85 	'porta-joy1-[on|off]' for joystick 1 on port A
    86 	'porta-lp-[on|off]' for lightpen on port A
    87 	'porta-anpad-[on|off]' for analog paddle on port A
    88 	'portb-pad-[on|off]' for joypad on port B
    89 	'portb-joy0-[on|off]' for joystick 0 on port B
    90 	'portb-joy1-[on|off]' for joystick 1 on port B
    91 	'portb-anpad-[on|off]' for analog paddle on port B
    92 
    93 	Default configuration is:
    94 		'ikbd-joy1-on' (if IKBD events driver enabled)
    95 		'porta-pad-on portb-pad-on' (if available on the machine)
    96 
    97 	port[a|b]-[pad|joy?|lp|anpad]-* strings are mutually exclusives.
    98 	On such a port, you can only use a joypad OR 1 or 2 joysticks OR
    99 	a lightpen OR an analog paddle. You must disable joypad before
   100 	setting another controller.
   101 
   102 	IKBD joystick only available when the IKBD events driver is enabled.
   103 	The second joystick port on IKBD is used by the mouse, so not usable.
   104 
   105 	Joypads are multibuttons controller (Atari Jaguar console-like).
   106 	Joysticks are 1 button, 2 axis controllers.
   107 	Lightpen and analog paddle are 2 buttons, 2 axis controllers. The 2
   108 	buttons are those affected to 1 button joysticks on the same port.
   109 
   110 -- 
   111 Patrice Mandin <pmandin@caramail.com>
   112 http://www.multimania.com/pmandin