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