README.MiNT
author Sam Lantinga <slouken@libsdl.org>
Thu, 06 May 2004 15:55:06 +0000
changeset 886 05c551e5bc64
parent 724 6b3dfe0198bb
child 963 92c247cec42d
permissions -rw-r--r--
Date: Sat, 24 Apr 2004 15:13:32 +0300
From: "Mike Gorchak"
Subject: SDL updates for the QNX6

1. Updated the README.QNX
2. Updated libtool scripts, which are shipped with SDL for QNX6 support.
3. Added some code to support the new QNX 6.3.0, which is in beta now.
4. Added code to detect the hw features, which driver supports.
5. Added hw alpha blits code.
6. Fixed bug when application switches to fullscreen more the 2 times. (afte\
r that window becames always stay on top).
7. Updated a bit README for the tests.
8. Added information about acceleration show in the testalpha.c test.
9. Added small fixes to the testoverlay2.c test.
10. Added alpha and cc+alpha blits benchmarks to the testvidinfo.c test.
     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 (Ikbd, Hardware)
    52 Audio (Hardware, XBIOS, GSXB, MCSN, STFA, /dev/audio if threads enabled)
    53 Threads (Multitasking OS only via GNU pth library)
    54 Shared object loader (using LDG library from http://ldg.atari.org/)
    55 Audio CD (MetaDOS)
    56 
    57 - Driver combinations:
    58 Video	Kbd	Mouse	Timer	Joystick
    59 xbios	ikbd	ikbd	vbl(2)	ikbd
    60 xbios	gemdos	xbios	vbl(2)	xbios
    61 xbios	bios	xbios	vbl(2)	xbios
    62 gem	gem	gem(1)	vbl(2)	xbios
    63 
    64 (1) GEM does not report relative mouse motion, so xbios mouse driver is used
    65 to report this type event.
    66 
    67 (2) If you build SDL with threads using the GNU pth library, timers are
    68 supported via the pth library.
    69 
    70 ==============================================================================
    71 V.  Environment variables:
    72 
    73 SDL_VIDEODRIVER:
    74 	Set to 'xbios' to force xbios video driver
    75 	Set to 'gem' to force gem video driver
    76 
    77 SDL_AUDIODRIVER:
    78 	Set to 'mint_gsxb' to force Atari GSXB audio driver
    79 	Set to 'mint_mcsn' to force Atari MCSN audio driver
    80 	Set to 'mint_stfa' to force Atari STFA audio driver
    81 	Set to 'mint_xbios' to force Atari Xbios audio driver
    82 	Set to 'mint_dma8' to force Atari 8 bits DMA audio driver
    83 	Set to 'audio' to force Sun /dev/audio audio driver
    84 	Set to 'disk' to force disk-writing audio driver
    85 
    86 SDL_ATARI_EVENTSDRIVER
    87 	Set to 'ikbd' to force IKBD 6301 keyboard driver
    88 	Set to 'gemdos' to force gemdos keyboard driver
    89 	Set to 'bios' to force bios keyboard driver
    90 
    91 SDL_JOYSTICK_ATARI:
    92 	Use any of these strings in the environment variable to enable or
    93 	disable a joystick:
    94 
    95 	'ikbd-joy1-[on|off]' for IKBD joystick on port 1 (hardware access)
    96 	'xbios-joy1-[on|off]' for IKBD joystick on port 1 (xbios access)
    97 	'porta-pad-[on|off]' for joypad on port A
    98 	'porta-joy0-[on|off]' for joystick 0 on port A
    99 	'porta-joy1-[on|off]' for joystick 1 on port A
   100 	'porta-lp-[on|off]' for lightpen on port A
   101 	'porta-anpad-[on|off]' for analog paddle on port A
   102 	'portb-pad-[on|off]' for joypad on port B
   103 	'portb-joy0-[on|off]' for joystick 0 on port B
   104 	'portb-joy1-[on|off]' for joystick 1 on port B
   105 	'portb-anpad-[on|off]' for analog paddle on port B
   106 
   107 	Default configuration is:
   108 		'ikbd-joy1-on' (if IKBD events driver enabled)
   109 		'xbios-joy1-on' (if gemdos/bios/gem events driver enabled)
   110 		'porta-pad-on portb-pad-on' (if available on the machine)
   111 
   112 	port[a|b]-[pad|joy?|lp|anpad]-* strings are mutually exclusives.
   113 	On such a port, you can only use a joypad OR 1 or 2 joysticks OR
   114 	a lightpen OR an analog paddle. You must disable joypad before
   115 	setting another controller.
   116 
   117 	The second joystick port on IKBD is used by the mouse, so not usable.
   118 
   119 	Joypads are multibuttons controller (Atari Jaguar console-like).
   120 	Joysticks are 1 button, 2 axis controllers.
   121 	Lightpen and analog paddle are 2 buttons, 2 axis controllers. The 2
   122 	buttons are those affected to 1 button joysticks on the same port.
   123 
   124 ==============================================================================
   125 VI.  More informations about drivers:
   126 
   127 Xbios video:
   128 	Video chip is detected using the _VDO cookie.
   129 	Screen enhancers are not supported, but could be if you know how to
   130 	use them.
   131 
   132 	ST, STE, Mega ST, Mega STE:
   133 		320x200x4 bits, shades of grey, available only for the purpose
   134 		of testing SDL.
   135 	TT:
   136 		320x480x8 and 320x240x8 (software double-lined mode).
   137 	Falcon:
   138 		All modes supported by the current monitor (RVB or VGA).
   139 	Clones and any machine with monochrome monitor:
   140 		Not supported.
   141 
   142 Gem video:
   143 	Automatically used if xbios not available.
   144 
   145 	All machines:
   146 		Only the current resolution, if 8 bits or higher depth.
   147 
   148 IKBD keyboard, mouse and joystick driver:
   149 	Available if _MCH cookie is ST, Mega ST, STE, Mega STE, TT or Falcon.
   150 
   151 	Hades has an IKBD, but xbios is not available for video, so IKBD
   152 	driver is disabled.
   153 
   154 Gemdos and bios keyboard driver:
   155 	Available on all machines.
   156 
   157 Mouse and joystick xbios driver:
   158 	Available on all machines (I think).
   159 
   160 Joypad driver:
   161 	Available if _MCH cookie is STE or Falcon.
   162 
   163 PTH timer driver:
   164 	Available with multitasking OS.
   165 
   166 VBL timer driver:
   167 	Available on all machines (I think).
   168 
   169 Audio drivers:
   170 	Cookies _SND, MCSN, STFA and GSXB used to detect supported audio
   171 	capabilities.
   172 
   173 	STE, Mega STE, TT:
   174 		8 bits DMA (hardware access)
   175 		STFA, MCSN or GSXB driver if installed
   176 	Falcon:
   177 		8 bits DMA (hardware access)
   178 		Xbios functions
   179 		STFA, MCSN or GSXB driver if installed
   180 	Other machines:
   181 		STFA, MCSN or GSXB driver if installed
   182 
   183 	STFA driver:
   184 		http://removers.free.fr/softs/stfa.html
   185 	GSXB driver:
   186 		http://assemsoft.atari.org/gsxb/
   187 	MacSound driver:
   188 		http://jf.omnis.ch/software/tos/
   189 	MagicSound driver (MCSN,GSXB compatible):
   190 		http://perso.wanadoo.fr/didierm/
   191 	X-Sound driver (GSXB compatible):
   192 		http://www.uni-ulm.de/~s_thuth/atari/xsound_e.html
   193 
   194 -- 
   195 Patrice Mandin <pmandin@caramail.com>
   196 http://membres.lycos.fr/pmandin/