Re: RISKY MSX Cart - Proof of concept.
Posted: 12 Jan 2025 18:57
Unfortunately after another hour's of work I have realised that there is not enough processing power to provide SCC emulation.
I have noticed that when there is a lot of reads from ROM / device sounds is getting very badly distorted.eg splash screen and some animations kick in. Other indication was when I added fixed length of read cycle, ending routine a little bit earlier, sound was a little bit better at those animations moments.
I moved data shifting to DAC using DMA and timer, double buffering, I did try to move certain processing of data to already stretched write cycle.
Unfortunately results are still pretty bad, and whole setup becomes less stable.
There is only so optimisations you can do.
Edit
... I haven't tried double buffering with delay.
And dropping to ASM...
I may come back to this feature and try again with different approach later on.
I have noticed that when there is a lot of reads from ROM / device sounds is getting very badly distorted.eg splash screen and some animations kick in. Other indication was when I added fixed length of read cycle, ending routine a little bit earlier, sound was a little bit better at those animations moments.
I moved data shifting to DAC using DMA and timer, double buffering, I did try to move certain processing of data to already stretched write cycle.
Unfortunately results are still pretty bad, and whole setup becomes less stable.
There is only so optimisations you can do.
Edit
... I haven't tried double buffering with delay.
And dropping to ASM...
I may come back to this feature and try again with different approach later on.