From: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Subject: /dev/dsp driver for Dreamcast AICA
Date: Mon, 31 Dec 2001 14:39:56 CST [thread overview]
Message-ID: <3c2a05be@news1.homechoice.co.uk> (raw)
A sound (/dev/dsp) driver is now available for pre-release testing on the
Dreamcast (SH4) platform.
Those of you who feel confident (and have a console) with the idea of
compiling a new module for the kernel may wish to try the /dev/dsp sound
driver I have written for Linux on the Sega Dreamcast.
The two source files you need are at:
http://www.mcmen.demon.co.uk/linuxdc/aica/aica.c
and
http://www.mcmen.demon.co.uk/linuxdc/aica/arm7.h
What you need to know etc...
The driver acts as an extended wrap around to what essentially is Dan
Potter's KOS code - ie it loads and runs some basic ARM7 code that drives
the DC's sound processor and controls that through polling.
The driver is written to comply with the OSS/Free standard and to get it to
run you need to compile the OSS soundcore.o module - this is available from
the linuxsh CVS as well as many other places.
Be careful about compiling the rest of the OSS stuff - on my kernel
(2.4.10-pre6) the DMA code appears to cause real problems.
You may also need to export a couple of additional variable from the kerenel
(I did, but can't speak for other versions of the kernel).
Performance....
Seems fine with 8 and 16 bit mono, but is a little bit jerky with stereo and
complex code (eg MP3s).
I have been able to compile SoX and MAD and play sounds with both (though
only one MP3 so far with MAD).
Sound from PRBOOM (but not MIDI music) seems also to work.
What next...
Marcus Brown is working on DMA which should greatly improve performance.
So no one should regard this as an opportunity to do anything other than to
test a pre-release version of the code.
Please feel free to let me know what problems or comments you have.
--
Adrian McMenamin
adrian@mcmen.demon.co.uk
##########################################################################
# Send submissions for comp.os.linux.announce to: cola@stump.algebra.com #
# PLEASE remember a short description of the software and the LOCATION. #
# This group is archived at http://stump.algebra.com/~cola/ #
##########################################################################
reply other threads:[~2001-12-31 20:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox