How do interrupts work on the Intel 8080? I have searched Google and in Intel\'s official documentation (197X), and I\'ve found only a little description about this. I need a d
I finally find it!
I create a variable called bus where interruption opcode goes. Then, I called a function to handle the interruption:
void i8080::interruption()
{
// only for RST
cycles -= cycles_table[bus];
instruction[bus]();
INT = false;
}
INT is true when needs an interruption. EI and DI instructions handle INTE.
When INT and INTE is true interruption is executed.