Miquel wrote: Fri Mar 16, 2018 3:36 pm
If you explain how it crashed perhaps we can help resolve it.
In my experience Video DMA doesn't crash but simply doesn't work instead. Do you know that data must be aligned to 16bit? 1byte data doesn't count. If the game simply stops probably is due to cpu problem, catching and displaying exceptions offers some help it that regard.
What I do is to test the advances weekly, every Saturday, on real hardware.
I test it several times a week, normally, but this time it was almost a week ago because the tv is always occupied...like it is now, which hinders me in the trouble shooting this thing. Will check for alignment issues, thanks! I do export my own asm files so it could maybe be an issue. But I don't think so, come to think about it I just use dc.l and dc.w and I do have .align 2 at the start of those files. But I'll double check that.
But I know what areas I've been doing changes in, so I think I'll figure it out, eventually.
Grind wrote: Fri Mar 16, 2018 3:53 pm
Is the crash a hang, or is there some kind of error message (like address error)?
I know BlastEm has caught some of my hangs, like when my game tried to read cram in write mode. So give that a try if it is hanging.
It did both hang and crash, actually. I just now tried it in Blastem, thanks for the tip, but the problem don't seem to pop up there either. Would have been nice if it had, would made the trouble shoot loop faster.
As soon as the kids are in bed I'll try the versions, one of them is bound to work since I've removed almost all of this weeks changes in one of them.

But I'm guessing on the change to tile-scrolling to have produced this issue. It's the only thing added to the main loop that does something completely new.
Thanks!