README.MiNT
author Sam Lantinga <slouken@libsdl.org>
Fri, 31 May 2002 04:45:46 +0000
changeset 385 daa944f00154
parent 319 189a6a3416c7
child 398 d219b0e02f5f
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@319
    48
Keyboard (GEMDOS, BIOS, GEM, 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@319
    64
gem	gem	gem(*)	vbl	xbios	hardware
slouken@319
    65
slouken@319
    66
(*) GEM does not report relative mouse motion, so xbios mouse driver is used
slouken@319
    67
to report this type event.
slouken@281
    68
slouken@281
    69
==============================================================================
slouken@281
    70
V.  Environment variables:
slouken@281
    71
slouken@281
    72
SDL_ATARI_EVENTSDRIVER
slouken@281
    73
	Set to 'ikbd' to force IKBD 6301 keyboard driver
slouken@281
    74
	Set to 'gemdos' to force gemdos keyboard driver
slouken@281
    75
	Set to 'bios' to force bios keyboard driver
slouken@281
    76
slouken@281
    77
SDL_VIDEODRIVER:
slouken@281
    78
	Set to 'xbios' to force xbios video driver
slouken@281
    79
	Set to 'gem' to force gem video driver
slouken@281
    80
slouken@302
    81
SDL_JOYSTICK_ATARI:
slouken@302
    82
	Use any of these strings in the environment variable to enable or
slouken@302
    83
	disable a joystick:
slouken@302
    84
slouken@305
    85
	'ikbd-joy1-[on|off]' for IKBD joystick on port 1 (hardware access)
slouken@305
    86
	'xbios-joy1-[on|off]' for IKBD joystick on port 1 (xbios access)
slouken@302
    87
	'porta-pad-[on|off]' for joypad on port A
slouken@302
    88
	'porta-joy0-[on|off]' for joystick 0 on port A
slouken@302
    89
	'porta-joy1-[on|off]' for joystick 1 on port A
slouken@302
    90
	'porta-lp-[on|off]' for lightpen on port A
slouken@302
    91
	'porta-anpad-[on|off]' for analog paddle on port A
slouken@302
    92
	'portb-pad-[on|off]' for joypad on port B
slouken@302
    93
	'portb-joy0-[on|off]' for joystick 0 on port B
slouken@302
    94
	'portb-joy1-[on|off]' for joystick 1 on port B
slouken@302
    95
	'portb-anpad-[on|off]' for analog paddle on port B
slouken@302
    96
slouken@302
    97
	Default configuration is:
slouken@302
    98
		'ikbd-joy1-on' (if IKBD events driver enabled)
slouken@305
    99
		'xbios-joy1-on' (if gemdos/bios/gem events driver enabled)
slouken@302
   100
		'porta-pad-on portb-pad-on' (if available on the machine)
slouken@302
   101
slouken@302
   102
	port[a|b]-[pad|joy?|lp|anpad]-* strings are mutually exclusives.
slouken@302
   103
	On such a port, you can only use a joypad OR 1 or 2 joysticks OR
slouken@302
   104
	a lightpen OR an analog paddle. You must disable joypad before
slouken@302
   105
	setting another controller.
slouken@302
   106
slouken@302
   107
	The second joystick port on IKBD is used by the mouse, so not usable.
slouken@302
   108
slouken@302
   109
	Joypads are multibuttons controller (Atari Jaguar console-like).
slouken@302
   110
	Joysticks are 1 button, 2 axis controllers.
slouken@302
   111
	Lightpen and analog paddle are 2 buttons, 2 axis controllers. The 2
slouken@302
   112
	buttons are those affected to 1 button joysticks on the same port.
slouken@302
   113
slouken@319
   114
==============================================================================
slouken@319
   115
VI.  More informations about drivers:
slouken@319
   116
slouken@319
   117
Xbios video:
slouken@319
   118
	Video chip is detected using the _VDO cookie.
slouken@319
   119
	Screen enhancers are not supported, but could be if you know how to
slouken@319
   120
	use them.
slouken@319
   121
slouken@319
   122
	ST, STE, Mega ST, Mega STE:
slouken@319
   123
		320x200x4 bits, shades of grey, available only for the purpose
slouken@319
   124
		of testing SDL.
slouken@319
   125
	TT:
slouken@319
   126
		320x480x8 and 320x240x8 (software double-lined mode).
slouken@319
   127
	Falcon:
slouken@319
   128
		All modes supported by the current monitor (RVB or VGA).
slouken@319
   129
	Clones and any machine with monochrome monitor:
slouken@319
   130
		Not supported.
slouken@319
   131
slouken@319
   132
Gem video:
slouken@319
   133
	Automatically used if xbios not available.
slouken@319
   134
slouken@319
   135
	All machines:
slouken@319
   136
		Only the current resolution, if 8 bits or higher depth.
slouken@319
   137
slouken@319
   138
IKBD keyboard, mouse and joystick driver:
slouken@319
   139
	Available if _MCH cookie is ST, Mega ST, STE, Mega STE, TT or Falcon.
slouken@319
   140
slouken@319
   141
	Hades has an IKBD, but xbios is not available for video, so IKBD
slouken@319
   142
	driver is disabled.
slouken@319
   143
slouken@319
   144
Gemdos and bios keyboard driver:
slouken@319
   145
	Available on all machines.
slouken@319
   146
slouken@319
   147
Mouse and joystick xbios driver:
slouken@319
   148
	Available on all machines (I think).
slouken@319
   149
slouken@319
   150
Joypad driver:
slouken@319
   151
	Available if _MCH cookie is STE or Falcon.
slouken@319
   152
slouken@319
   153
VBL timer driver:
slouken@319
   154
	Available all machines (I think).
slouken@319
   155
slouken@281
   156
-- 
slouken@281
   157
Patrice Mandin <pmandin@caramail.com>
slouken@314
   158
http://membres.lycos.fr/pmandin/