Impossible. To play DAC it requires either processor to write the decibel byte to a port, and thus the output frequency is directly linked to the processor cycles; it's all of a "manual" work, and that's why fully Z80-based drivers usually play DAC with a bad quality. Since 68k is already too busy with the game engine itself, the 68k-based sound driver sends playback requests to a mini-player at z80, meant to handle the DAC channel. That's right, the 68k doesn't waste any time with DAC, but it's the 68k sequence playback mechanism in itself who takes that high CPU percentage.
I have decided that I'll reserve some more time and focus on optimizing the 68k driver, and use this one for the arcade builds only (the Genesis version could still use the z80-based driver). And so far I have figured most of what necessary to work with this platform (for now on the palettes; the rest is all the same as the Genesis).
Thank you anyways =)
Edited by CrazyMonkey (02/17/16 04:42 AM)
|