Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Hi,

Thanks for fixing the cascading CTC issue.

I have another issues related to CTC and DMA in CSpect.

I am using DMA code to clear memory buffers, and it seems to affect the timing of the CTCs

When I use DMA and I cycle though the clock speeds using F6, the CTC counter will also speed up/slow down, but not in always predictable ways.

If I remove the DMA code, then using F6 has no effect on the CTCs.

It also seems to be size related with the DMA, smaller moves (eg 255 in size) dont seem to have the same effect on CTC, but large moves (eg $1000) do.

And running on ZXNext hardware works fine. 

(1 edit)

What are your CTC timer values, and I'll try and reproduce...

Edit: Never mind... I see why. Though it's not a simple fix, so it'll have to wait I'm afraid....

Ok, I'll move onto something else not CTC related.

But, is this DMA problem likely to cause issues elsewhere that I should be aware of, or is it limited to CTC?

I've no idea. From what I can tell, it's just the timers due to the way DMA clocks up used TStates. I  have change the DMA a little to be more accurate, though it'll never be perfect - but  that might  help.