Ok, I've reverted some code for now. There are still some video timing glitches, but at least they are more bearable now. I bet that something is F up somewhere, the fact that the G65816 cycle count doesn't work properly in the debugger doesn't help either. Any hints are appreciated now.