Skip to content
Discussion options

You must be logged in to vote

Never mind, it was just my arch-nemesis, Lord Prefetch, striking again. add a fullPrefetch before the interrupt made it work as expected.

void
	Moira::setIPL(u8 val)
{
	if (ipl != val) {
		ipl = val;
		flags |= CPU_CHECK_IRQ;

		// Force interrupt as soon as its called
		fullPrefetch<C68000, POLL>();
		checkForIrq(); // TODO: work out why this seems necessary as its surely not correct....
	}
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RR7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant