From 93024dea16fcc10eb881c56bbc82a7c8263ef60d Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 22 May 2007 10:43:03 +0200 Subject: [PATCH] Add Dreamcast AICA firmware Added Dreamcast AICA firmware to alsa-firmware repo. From: Adrian McMenamin --- Makefile.am | 3 ++- aica/Dreamcast_sound.txt | 17 +++++++++++++++++ aica/Makefile.am | 11 +++++++++++ aica/aica_firmware.bin | Bin 0 -> 3408 bytes aica/licence.txt | 8 ++++++++ configure.in | 4 +++- 6 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 aica/Dreamcast_sound.txt create mode 100644 aica/Makefile.am create mode 100644 aica/aica_firmware.bin create mode 100644 aica/licence.txt diff --git a/Makefile.am b/Makefile.am index 41e9800..b768552 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,8 @@ AUTOMAKE_OPTIONS = 1.3 foreign SUBDIRS = hdsploader mixartloader pcxhrloader usx2yloader vxloader echoaudio \ - asihpi emi_26_62 emu korg1212 maestro3 multisound sb16 wavefront ymfpci + asihpi emi_26_62 emu korg1212 maestro3 multisound sb16 wavefront \ + ymfpci aica EXTRA_DIST = depcomp diff --git a/aica/Dreamcast_sound.txt b/aica/Dreamcast_sound.txt new file mode 100644 index 0000000..cc06cee --- /dev/null +++ b/aica/Dreamcast_sound.txt @@ -0,0 +1,17 @@ +SOUND ON THE SEGA DREAMCAST + +The Sega Dreamcast includes a ARM7 processor that seperately handles sound +playback. The ARM7 processor has its own address space which is only partially +accessible to the main SH4 processor. + +The ALSA driver loads data to the ARM7 address space using DMA (which will +run at a good speed). The old OSS driver did not use DMA and so showed +very poor performance at high bit rates. + +The driver also loads some simple firmware (seperately licenced under a +modified BSD licence) which controls the ARM7 processor. Without the +firmware the driver would merely fill the ARM7's address space and would +not playback any sound. + +The firmware, by default, should be loaded to /lib/firmware/ and should +be named aica_firmware.bin. diff --git a/aica/Makefile.am b/aica/Makefile.am new file mode 100644 index 0000000..04bb267 --- /dev/null +++ b/aica/Makefile.am @@ -0,0 +1,11 @@ +firmware_files = aica_firmware.bin + +if USE_HOTPLUG +hotplugfwdir = @HOTPLUGFWDIR@ +hotplugfw_DATA = $(firmware_files) +else +hotplugfwdir = +hotplugfw_DATA = +endif + +EXTRA_DIST = $(firmware_files) Dreamcast_sound.txt license.txt diff --git a/aica/aica_firmware.bin b/aica/aica_firmware.bin new file mode 100644 index 0000000000000000000000000000000000000000..06383fc28b148ec0d5e442fd468d1e356a102571 GIT binary patch literal 3408 zcmd^=e{>vG702JqZkjep$&^%$P0s0rwAvy$PLpzMsUFr!kJS@!Ln&(I;41z;Rf{50 ze|3^gyG?CMNT>u8+ZTe0_=76`z#r&JKok+HMa5cWXNGZ_R%k%2f|d1iH*Y!lga7%% zJ?C@2Z{ECj?|t{)H|r{O;$^VhuncX7b0F&pj(z?mk zI%VY+g|ASm&RU?OI{Y-}#^b9kbyBIpSY>DJ)F|wD1EmIHS+qn)X?HMow&|$0IFeWy z9W`VJ<9V(QoXlWcyMfD za^7k@-Sma@grzc}-#MI!&y?B}rJg)^Q$4w9CD1drQV!Y-*OtpCTPyaZ7JaeAeLr(g z({qPWc^3PZEu8fs=h#Z@Tj%y)hQ4ry<7VQiTc@LidrdAi-U ziujuKCq87)V)iKK#&~w$NL%SK|5I3ypHp04H-A2zwO&!=~ZgPsiR z?bs{vT-sM!nxk*mNi2Ed(2-U2L%)eNUT-Pw_Jup>^>j9$Jj0#wKiZ%8SM96R;zDA5 ziaD_>`y1ISHfD@}xq}+NJCq6?a=}dwl{HeycUk2^$y?UcrF#D^->9Q=y8AajW z*18>x8?~NVs`ZiiMRIfB-mu)Nqq5T*(qmDrx=wO`r{(F%wAvgnZnxZdr9%5&?)|1H z?Ty8DjUQTGs#NIm6VGXhYifwkYl(Zw+iK!$U!#LHUVS_tf463IVEG%v=d&yJPM6C| z(vA*p;5_nusnoY#2QDl(@vSH^AMXoSX3!1fC#$2~HGWV?<&$Mf_V{68aw?G;6xtt5 z?9DsFLh7L;os+&H-goZ`3nTYd;$Mo7Lf6hj&MYy@xh;pYH0?^(I4v)_=heMUXiaKu zZ)!DXvzOB+UT;w7>PzO{Ynk`EX77)+b}F*h=6UW*q^{C`PPPB!{M2GQwODD+*Poh7 zoH>0WchFZok#edv>WLa1YUJo6%gi3XY3e!K)o;b+E9jT=`oh`_IZ!>7-X`bg-s0jj za}hbe=DAu{-c!qJ&Mj(YllQLY$$LM!-AQicE?GslL@&_W(rXgqJJz>RSGlW7<w}q?QFg16ulyMS*a^3zAOKEr4GJjd>0k*`F9_eIf-+r{3n^X zUx*m1u^p8=Xkz2<_W%56skEY6{2JlK&;ry-wZqHdT-haup*sfGzj1bPch!mWlcqF;h98*W3t z0=FB!ihd2gZukaz2OKhd6aALqPW0RG9m99g?-}kwzi;>f`a{Ey(7O#kMt@=`qCYj< zgH9RlMej5G487m*b5!^RJYe`G`k>)gsPGW{+He^Cjp4Vba0DJU{0=h5s1Npu&IQSt!H*0A4jOmH+?% literal 0 HcmV?d00001 diff --git a/aica/licence.txt b/aica/licence.txt new file mode 100644 index 0000000..4b4cdbc --- /dev/null +++ b/aica/licence.txt @@ -0,0 +1,8 @@ +This firmware is licenced under the KOS licence - a modified form of the BSD licence +(for details see http://gamedev.allusion.net/softprj/kos/faq.php). + +It is fully and freely distributable provided the following notice is preserved somewhere +in the code: Copyright (c) Dan Potter 2000. + +The code this firmware was built with is part of the KOS distribution and can also be +reviewed here: http://linuxdc.cvs.sourceforge.net/linuxdc/linux-sh-dc/sound/oss/aica/firmware/ diff --git a/configure.in b/configure.in index ab8bc8c..8fc673f 100644 --- a/configure.in +++ b/configure.in @@ -66,4 +66,6 @@ AC_OUTPUT(Makefile \ multisound/Makefile \ sb16/Makefile \ wavefront/Makefile \ - ymfpci/Makefile) + ymfpci/Makefile \ + aica/Makefile \ +) -- 2.47.1