harbaum/galagino

Emulate Donkey Kong audio CPU

Closed this issue · 2 comments

Currently Donkey Kong uses sampled audio and it's an ugly endeavor to find/create/convert matching sound bits . But on the real arcade machine most of the audio is actually generated by a program running in a intel 8049 compatible CPU.

Emulating the audio CPU itself would make Donkey Kong audio be "correct". At least for those sounds generated by the audio CPU. This means we have to implement a 8048 emulator as none matching this project seem to exist.

The 8048 derived audio CPU in donkey kong runs at twice the clock as the main z80 cpu. The single main z80 of donkey kong is no problem at all for the esp32. The combination of the main z80 @ 3Mhz together with the 8048 @ 6Mhz is definitely more challenging.

Done