News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_SpDizzy

WinAPE Interrupt Control Status Register value check

Started by SpDizzy, Yesterday at 16:21

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SpDizzy

Hi folks, just a quick question, please.

WinAPE on his Registers Window has an Interrupt Control Status Register 'ICSR'.
Bit 7 on that register indicates that an interrupt has occurred and has not yet been acknowledged.
Is there any way to check this internal register bit via breakpoints window?

You cannot view this attachment.

Also working with Arnold Emulator, so I will like to extend this question to Kevin @arnoldemu about his great emulator. 

Thanks so much for support.

arnoldemu

I don't see a way to do it in Winape. I looked into the breakpoint conditions but I didn't see anything that seemed suitable.

In Arnold emulator you can break on events and one of those is the maskable interrupt but that's when it's been acknowledged rather than when it's been raised. It is good if you didn't know which z80 interrupt mode was active and it happens just before calling the interrupt function itself, otherwise for im1 it's about the same as breakpointing address 0038.

I'm not sure if this helps, were you wanting at the point the interrupt was raised or when it's acknowledged?

SpDizzy

Thanks so much for your response Kevin. That's was I thought, there's no way to catch it.
I want the point an interrupt has been raised, but has not been yet acknowledged due to interrupts being temporary disabled, that is 'IFF1 = 0'.
Working on IM1.

Powered by SMFPacks Menu Editor Mod