Debugger: add red 'IRQ' after the v/h-pos when IRQ is being asserted to the 6502

This commit is contained in:
tomcw
2021-01-31 19:38:06 +00:00
parent fad4dd2ad1
commit fcafa18340
5 changed files with 44 additions and 4 deletions
+5
View File
@@ -193,6 +193,11 @@ void SetActiveCpu(eCpuType cpu)
g_ActiveCPU = cpu;
}
bool IsIrqAsserted(void)
{
return g_bmIRQ ? true : false;
}
bool Is6502InterruptEnabled(void)
{
return !(regs.ps & AF_INTERRUPT);