README.MiNT
author Sam Lantinga <slouken@libsdl.org>
Mon, 11 Mar 2002 17:38:56 +0000
changeset 309 2de77f7b7a28
parent 305 9c6613983e85
child 314 bff64eba7721
permissions -rw-r--r--
*** empty log message ***
     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	xbios	hardware
    63 xbios	bios	xbios	vbl	xbios	hardware
    64 gem	gem	gem	vbl	xbios	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 (hardware access)
    83 	'xbios-joy1-[on|off]' for IKBD joystick on port 1 (xbios access)
    84 	'porta-pad-[on|off]' for joypad on port A
    85 	'porta-joy0-[on|off]' for joystick 0 on port A
    86 	'porta-joy1-[on|off]' for joystick 1 on port A
    87 	'porta-lp-[on|off]' for lightpen on port A
    88 	'porta-anpad-[on|off]' for analog paddle on port A
    89 	'portb-pad-[on|off]' for joypad on port B
    90 	'portb-joy0-[on|off]' for joystick 0 on port B
    91 	'portb-joy1-[on|off]' for joystick 1 on port B
    92 	'portb-anpad-[on|off]' for analog paddle on port B
    93 
    94 	Default configuration is:
    95 		'ikbd-joy1-on' (if IKBD events driver enabled)
    96 		'xbios-joy1-on' (if gemdos/bios/gem events driver enabled)
    97 		'porta-pad-on portb-pad-on' (if available on the machine)
    98 
    99 	port[a|b]-[pad|joy?|lp|anpad]-* strings are mutually exclusives.
   100 	On such a port, you can only use a joypad OR 1 or 2 joysticks OR
   101 	a lightpen OR an analog paddle. You must disable joypad before
   102 	setting another controller.
   103 
   104 	The second joystick port on IKBD is used by the mouse, so not usable.
   105 
   106 	Joypads are multibuttons controller (Atari Jaguar console-like).
   107 	Joysticks are 1 button, 2 axis controllers.
   108 	Lightpen and analog paddle are 2 buttons, 2 axis controllers. The 2
   109 	buttons are those affected to 1 button joysticks on the same port.
   110 
   111 -- 
   112 Patrice Mandin <pmandin@caramail.com>
   113 http://www.multimania.com/pmandin