Developing a Sega Dreamcast AICA Sound Driver

General Dreamcast discussion applies here. Before posting here please check the other forums in the Dreamcast section to see if your topic would fit better in those categories.
Forum rules
Please check the other forums in the Dreamcast section before posting here to see if your topic would fit better in those categories. Example: A new game/homebrew release would go in the New Releases/Homebrew/Emulation section: http://dreamcast-talk.com/forum/viewforum.php?f=5 or if you're having an issue with getting your Dreamcast to work or a game to boot it would go in the Support section: http://dreamcast-talk.com/forum/viewforum.php?f=42
User avatar
Cyndanera
Developer
Posts: 23
Dreamcast Games you play Online: Sonic Adventure 2
Location: USA
Contact:

Developing a Sega Dreamcast AICA Sound Driver

Post by Cyndanera »

Writing a Sound Driver for the Sega Dreamcast Sound Processor(AICA)
Programmed in C & ARM Assembly
Last edited by Cyndanera on Thu Jul 25, 2024 10:32 am, edited 3 times in total.
Cheers,

christuserloeser
shadow
Posts: 10

Re: Developing a Sega Dreamcast AICA Sound Driver

Post by christuserloeser »

That is fantastic! Keep up the good work!!!

User avatar
Cyndanera
Developer
Posts: 23
Dreamcast Games you play Online: Sonic Adventure 2
Location: USA
Contact:

Re: Developing a Sega Dreamcast AICA Sound Driver

Post by Cyndanera »

christuserloeser wrote:That is fantastic! Keep up the good work!!!
Thank you! :D
Also here's a pic of my physical copy of ARM Software Developer Toolkit 2.51
Attachments
ARM Software Developer Toolkit 2.51 CD-ROM
ARM Software Developer Toolkit 2.51 CD-ROM
Cheers,

Noah101
noob
Posts: 1

Re: Developing a Sega Dreamcast AICA Sound Driver

Post by Noah101 »

Cyndanera wrote:
christuserloeser wrote:That is fantastic! Keep up the good work!!!
Thank you! :D example
Also here's a pic of my physical copy of ARM Software Developer Toolkit 2.51
That is absolutely great! Don't let up on the solid work!!!

User avatar
Cyndanera
Developer
Posts: 23
Dreamcast Games you play Online: Sonic Adventure 2
Location: USA
Contact:

Re: Developing a Sega Dreamcast AICA Sound Driver

Post by Cyndanera »

Noah101 wrote:
Cyndanera wrote:
christuserloeser wrote:That is fantastic! Keep up the good work!!!
Thank you! :D example
Also here's a pic of my physical copy of ARM Software Developer Toolkit 2.51
That is absolutely great! Don't let up on the solid work!!!
Thanks I also got more pics of it for you guys to see :)
Attachments
20231207_171224_HDR.jpg
20231207_171156_HDR.jpg
Cheers,

christuserloeser
shadow
Posts: 10

Re: Developing a Sega Dreamcast AICA Sound Driver

Post by christuserloeser »

Cyndanera wrote:ToDo list:
Add FM(YM3438), PSG, and Noise support
That'd be amazing! Keep up the good work!

User avatar
Cyndanera
Developer
Posts: 23
Dreamcast Games you play Online: Sonic Adventure 2
Location: USA
Contact:

Re: Developing a Sega Dreamcast AICA Sound Driver

Post by Cyndanera »

Here's some updates on the software and hardware, pics I thought you guys would enjoy! ;)
I now use ARM Developer Suite 1.2 aka Metrowerks Codewarrior for ARM and in the process in ordering debugging hardware for ARM boards.
I got ARM Developer Suite 1.2 missing disc 2 files from ARM Support, they were very helpful even when it was no longer supported. :D
I also use this stuff when I'm working on ARM based Electronics. :)
Attachments
ARM_MultiTrace_Multi_ICE_W_Accessories_View1.jpg
ads12.png
Cheers,

User avatar
Cyndanera
Developer
Posts: 23
Dreamcast Games you play Online: Sonic Adventure 2
Location: USA
Contact:

Re: Developing a Sega Dreamcast AICA Sound Driver

Post by Cyndanera »

Here's my DSP IDE, I've been working on.
If we can make a DSP Assembler for Saturn or Dreamcast I can custom my DSP IDE code for these sound chips. :)
Attachments
dspIDE_01.jpg
Cheers,

User avatar
Cyndanera
Developer
Posts: 23
Dreamcast Games you play Online: Sonic Adventure 2
Location: USA
Contact:

Re: Developing a Sega Dreamcast AICA Sound Driver

Post by Cyndanera »

If anyone has reverse engineering info or docs, tools on the Dreamcast DSP, please feel free to share with me so I can write DSP microcode, thanks. :)
I currently have updated the sound driver a bit.
Using ARM Developer Suit 1.2(ADS)

Supported:
64 Channels
ADSR, Mixing, Resampling
Volume, Panning and Pitch Control
Music Sequence(midi like)
Sequence Archives(used for SFX)
Sound Banks(Instrument Data)
Wave Data Archives(Samples)
Streams(PCM, ADPCM)

ToDo list:
Add FM(YM3438), PSG, and Noise
Add Dolby Pro Logic II
Add Reverb
Write DSP microcode for the Sound driver

Yamaha ACIA Chip:
DSP Processor

Code: Select all

            128 step
            Dynamically loadable
            Multiple effects
                Reverb, Chorus, Flange
                Delay, Parametric EQ., etc.
                Q-Sound
        18 channel digital mixer
            level and pan
ARM7 Embedded Processor(ARM7DI)

Code: Select all

            32bit
            25 MHz/17 MIPS
            2 MB Memory
            shared by
                Sound driver
                PCM/Tone Data
                DSP Program and Work RAM
                Streaming Buffers
                Sequence Data
Attachments
cw_dc_aica_drv.png
Cheers,

User avatar
Cyndanera
Developer
Posts: 23
Dreamcast Games you play Online: Sonic Adventure 2
Location: USA
Contact:

Re: Developing a Sega Dreamcast AICA Sound Driver

Post by Cyndanera »

Inside the Sega Dreamcast Yamaha AICA Sound chip
Be sure to checkout this doc! :D
https://segaretro.org/File:AICA_E.pdf
Attachments
Screenshot 2024-08-02 180043.png
Screenshot 2024-08-02 180043.png (7.79 KiB) Viewed 2851 times
Screenshot 2024-08-02 180042.png
Cheers,

  • Similar Topics
    Replies
    Views
    Last post