Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Atari MiNT: added more audio drivers
  • Loading branch information
pmandin committed Jul 7, 2003
1 parent 3aabe60 commit 2c51509
Show file tree
Hide file tree
Showing 16 changed files with 2,538 additions and 618 deletions.
43 changes: 30 additions & 13 deletions README.MiNT
Expand Up @@ -49,18 +49,18 @@ Mouse (XBIOS, GEM, Ikbd)
Video (XBIOS (Fullscreen), GEM (Windowed and Fullscreen))
Timer (VBL vector, GNU pth library)
Joystick and joypad support (Ikbd, Hardware)
Audio support (Hardware, XBIOS, GSXB, /dev/audio if threads enabled)
Audio support (Hardware, XBIOS, GSXB, MCSN, STFA, /dev/audio if threads enabled)
Threads support (Multitasking OS only via GNU pth library)

- What is missing:
CDROM support (Metados, /dev/cdrom)

- Driver combinations:
Video Kbd Mouse Timer Jstick Joypads
xbios ikbd ikbd vbl(2) ikbd hardware
xbios gemdos xbios vbl(2) xbios hardware
xbios bios xbios vbl(2) xbios hardware
gem gem gem(1) vbl(2) xbios hardware
Video Kbd Mouse Timer Joystick
xbios ikbd ikbd vbl(2) ikbd
xbios gemdos xbios vbl(2) xbios
xbios bios xbios vbl(2) xbios
gem gem gem(1) vbl(2) xbios

(1) GEM does not report relative mouse motion, so xbios mouse driver is used
to report this type event.
Expand All @@ -76,7 +76,11 @@ SDL_VIDEODRIVER:
Set to 'gem' to force gem video driver

SDL_AUDIODRIVER:
Set to 'mint' to force Atari audio driver
Set to 'mint_gsxb' to force Atari GSXB audio driver
Set to 'mint_mcsn' to force Atari MCSN audio driver
Set to 'mint_stfa' to force Atari STFA audio driver
Set to 'mint_xbios' to force Atari Xbios audio driver
Set to 'mint_dma8' to force Atari 8 bits DMA audio driver
Set to 'audio' to force Sun /dev/audio audio driver
Set to 'disk' to force disk-writing audio driver

Expand Down Expand Up @@ -163,17 +167,30 @@ PTH timer driver:
VBL timer driver:
Available on all machines (I think).

Audio driver:
Cookie _SND is used to detect supported audio capabilities
Audio drivers:
Cookies _SND, MCSN, STFA and GSXB used to detect supported audio
capabilities.

STE, Mega STE, TT:
8 bits DMA (hardware access)

Falcon, machines with GSXB driver:
STFA, MCSN or GSXB driver if installed
Falcon:
8 bits DMA (hardware access)
Xbios functions

STFA, MCSN or GSXB driver if installed
Other machines:
Not supported
STFA, MCSN or GSXB driver if installed

STFA driver:
http://removers.free.fr/softs/stfa.html
GSXB driver:
http://assemsoft.atari.org/gsxb/
MacSound driver:
http://jf.omnis.ch/software/tos/
MagicSound driver (MCSN,GSXB compatible):
http://perso.wanadoo.fr/didierm/
X-Sound driver (GSXB compatible):
http://www.uni-ulm.de/~s_thuth/atari/xsound_e.html

--
Patrice Mandin <pmandin@caramail.com>
Expand Down
6 changes: 5 additions & 1 deletion src/audio/SDL_audio.c
Expand Up @@ -84,7 +84,11 @@ static AudioBootStrap *bootstrap[] = {
&AHI_bootstrap,
#endif
#ifdef MINTAUDIO_SUPPORT
&MINTAUDIO_bootstrap,
&MINTAUDIO_GSXB_bootstrap,
&MINTAUDIO_MCSN_bootstrap,
&MINTAUDIO_STFA_bootstrap,
&MINTAUDIO_XBIOS_bootstrap,
&MINTAUDIO_DMA8_bootstrap,
#endif
#ifdef DISKAUD_SUPPORT
&DISKAUD_bootstrap,
Expand Down
6 changes: 5 additions & 1 deletion src/audio/SDL_sysaudio.h
Expand Up @@ -148,7 +148,11 @@ extern AudioBootStrap SNDMGR_bootstrap;
extern AudioBootStrap AHI_bootstrap;
#endif
#ifdef MINTAUDIO_SUPPORT
extern AudioBootStrap MINTAUDIO_bootstrap;
extern AudioBootStrap MINTAUDIO_GSXB_bootstrap;
extern AudioBootStrap MINTAUDIO_MCSN_bootstrap;
extern AudioBootStrap MINTAUDIO_STFA_bootstrap;
extern AudioBootStrap MINTAUDIO_XBIOS_bootstrap;
extern AudioBootStrap MINTAUDIO_DMA8_bootstrap;
#endif
#ifdef DISKAUD_SUPPORT
extern AudioBootStrap DISKAUD_bootstrap;
Expand Down
19 changes: 12 additions & 7 deletions src/audio/mint/Makefile.am
@@ -1,14 +1,19 @@

## Makefile.am for SDL using Xbios/Dma/whatever available audio functions

noinst_LTLIBRARIES = libaudio_mintaudio.la
libaudio_mintaudio_la_SOURCES = $(SRCS)

# The SDL audio driver sources
SRCS = SDL_mintaudio.c \
SRCS = \
SDL_mintaudio.c \
SDL_mintaudio.h \
SDL_mintaudiointerrupt.S \
SDL_mintaudiointerrupt_s.h \
SDL_mintaudiodma.h \
SDL_mintaudiogsxb.h

SDL_mintaudio_dma8.c \
SDL_mintaudio_dma8.h \
SDL_mintaudio_gsxb.c \
SDL_mintaudio_gsxb.h \
SDL_mintaudio_it.S \
SDL_mintaudio_mcsn.c \
SDL_mintaudio_mcsn.h \
SDL_mintaudio_stfa.c \
SDL_mintaudio_stfa.h \
SDL_mintaudio_xbios.c

0 comments on commit 2c51509

Please sign in to comment.