README.MiNT
author Sam Lantinga <slouken@libsdl.org>
Sun, 09 Feb 2003 02:58:40 +0000
changeset 596 475f969e8c01
parent 557 0ce5a68278fd
child 644 594422ab8f9f
permissions -rw-r--r--
CVS should ignore files automatically generated by building on MacOS X
     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-threads
    14     Tos does not support threads.
    15 
    16     MiNT version (maybe Magic, only for multitasking OS):
    17       --disable-pthreads --enable-pth
    18     Mint and Magic may supports threads, so audio can be used with current
    19     devices, like Sun audio, or disk-writing support. Like Tos, interrupt
    20     audio without threads is more suited for Atari machines.
    21 
    22   Then you can make ; make install it.
    23 
    24 ==============================================================================
    25 II. Building the Simple DirectMedia Layer test programs:
    26 
    27   Do the classic configure, then make.
    28 
    29   Run them !
    30 
    31 ==============================================================================
    32 III.  Enjoy! :)
    33 
    34   If you have a project you'd like me to know about, or want to ask questions,
    35   go ahead and join the SDL developer's mailing list by sending e-mail to:
    36 
    37 	sdl-request@libsdl.org
    38 
    39   and put "subscribe" into the subject of the message. Or alternatively you
    40   can use the web interface:
    41 
    42 	http://www.libsdl.org/mailman/listinfo/sdl
    43   
    44 ==============================================================================
    45 IV.  What is supported:
    46 
    47 Keyboard (GEMDOS, BIOS, GEM, Ikbd)
    48 Mouse (XBIOS, GEM, Ikbd)
    49 Video (XBIOS (Fullscreen), GEM (Windowed and Fullscreen))
    50 Timer (VBL vector, GNU pth library)
    51 Joystick and joypad support (Ikbd, Hardware)
    52 Audio support (Hardware, XBIOS, GSXB, /dev/audio if threads enabled)
    53 Threads support (Multitasking OS only via GNU pth library)
    54 
    55 - What is missing:
    56 CDROM support (Metados, /dev/cdrom)
    57 
    58 - Driver combinations:
    59 Video	Kbd	Mouse	Timer	Jstick	Joypads
    60 xbios	ikbd	ikbd	vbl(2)	ikbd	hardware
    61 xbios	gemdos	xbios	vbl(2)	xbios	hardware
    62 xbios	bios	xbios	vbl(2)	xbios	hardware
    63 gem	gem	gem(1)	vbl(2)	xbios	hardware
    64 
    65 (1) GEM does not report relative mouse motion, so xbios mouse driver is used
    66 to report this type event.
    67 
    68 (2) If you build SDL with threads using the GNU pth library, timers are
    69 supported via the pth library.
    70 
    71 ==============================================================================
    72 V.  Environment variables:
    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_AUDIODRIVER:
    79 	Set to 'mint' to force Atari audio driver
    80 	Set to 'audio' to force Sun /dev/audio audio driver
    81 	Set to 'disk' to force disk-writing audio driver
    82 
    83 SDL_ATARI_EVENTSDRIVER
    84 	Set to 'ikbd' to force IKBD 6301 keyboard driver
    85 	Set to 'gemdos' to force gemdos keyboard driver
    86 	Set to 'bios' to force bios keyboard driver
    87 
    88 SDL_JOYSTICK_ATARI:
    89 	Use any of these strings in the environment variable to enable or
    90 	disable a joystick:
    91 
    92 	'ikbd-joy1-[on|off]' for IKBD joystick on port 1 (hardware access)
    93 	'xbios-joy1-[on|off]' for IKBD joystick on port 1 (xbios access)
    94 	'porta-pad-[on|off]' for joypad on port A
    95 	'porta-joy0-[on|off]' for joystick 0 on port A
    96 	'porta-joy1-[on|off]' for joystick 1 on port A
    97 	'porta-lp-[on|off]' for lightpen on port A
    98 	'porta-anpad-[on|off]' for analog paddle on port A
    99 	'portb-pad-[on|off]' for joypad on port B
   100 	'portb-joy0-[on|off]' for joystick 0 on port B
   101 	'portb-joy1-[on|off]' for joystick 1 on port B
   102 	'portb-anpad-[on|off]' for analog paddle on port B
   103 
   104 	Default configuration is:
   105 		'ikbd-joy1-on' (if IKBD events driver enabled)
   106 		'xbios-joy1-on' (if gemdos/bios/gem events driver enabled)
   107 		'porta-pad-on portb-pad-on' (if available on the machine)
   108 
   109 	port[a|b]-[pad|joy?|lp|anpad]-* strings are mutually exclusives.
   110 	On such a port, you can only use a joypad OR 1 or 2 joysticks OR
   111 	a lightpen OR an analog paddle. You must disable joypad before
   112 	setting another controller.
   113 
   114 	The second joystick port on IKBD is used by the mouse, so not usable.
   115 
   116 	Joypads are multibuttons controller (Atari Jaguar console-like).
   117 	Joysticks are 1 button, 2 axis controllers.
   118 	Lightpen and analog paddle are 2 buttons, 2 axis controllers. The 2
   119 	buttons are those affected to 1 button joysticks on the same port.
   120 
   121 ==============================================================================
   122 VI.  More informations about drivers:
   123 
   124 Xbios video:
   125 	Video chip is detected using the _VDO cookie.
   126 	Screen enhancers are not supported, but could be if you know how to
   127 	use them.
   128 
   129 	ST, STE, Mega ST, Mega STE:
   130 		320x200x4 bits, shades of grey, available only for the purpose
   131 		of testing SDL.
   132 	TT:
   133 		320x480x8 and 320x240x8 (software double-lined mode).
   134 	Falcon:
   135 		All modes supported by the current monitor (RVB or VGA).
   136 	Clones and any machine with monochrome monitor:
   137 		Not supported.
   138 
   139 Gem video:
   140 	Automatically used if xbios not available.
   141 
   142 	All machines:
   143 		Only the current resolution, if 8 bits or higher depth.
   144 
   145 IKBD keyboard, mouse and joystick driver:
   146 	Available if _MCH cookie is ST, Mega ST, STE, Mega STE, TT or Falcon.
   147 
   148 	Hades has an IKBD, but xbios is not available for video, so IKBD
   149 	driver is disabled.
   150 
   151 Gemdos and bios keyboard driver:
   152 	Available on all machines.
   153 
   154 Mouse and joystick xbios driver:
   155 	Available on all machines (I think).
   156 
   157 Joypad driver:
   158 	Available if _MCH cookie is STE or Falcon.
   159 
   160 PTH timer driver:
   161 	Available with multitasking OS.
   162 
   163 VBL timer driver:
   164 	Available on all machines (I think).
   165 
   166 Audio driver:
   167 	Cookie _SND is used to detect supported audio capabilities
   168 
   169 	STE, Mega STE, TT:
   170 		8 bits DMA (hardware access)
   171 
   172 	Falcon, machines with GSXB driver:
   173 		Xbios functions
   174 
   175 	Other machines:
   176 		Not supported
   177 
   178 -- 
   179 Patrice Mandin <pmandin@caramail.com>
   180 http://membres.lycos.fr/pmandin/