triggerIRQ causes an IRQ interrupt to occur on the next cycle
()
| 409 | |
| 410 | // triggerIRQ causes an IRQ interrupt to occur on the next cycle |
| 411 | func (cpu *CPU) triggerIRQ() { |
| 412 | if cpu.I == 0 { |
| 413 | cpu.interrupt = interruptIRQ |
| 414 | } |
| 415 | } |
| 416 | |
| 417 | // stepInfo contains information that the instruction functions use |
| 418 | type stepInfo struct { |
no outgoing calls
no test coverage detected