protected abstract class MOS6526.InterruptSource extends Event
Event.Phase
Modifier and Type | Field and Description |
---|---|
protected byte |
icr
Interrupt control register
|
protected byte |
idr
Interrupt data register
|
protected static byte |
INTERRUPT_REQUEST |
name, next, triggerTime
Constructor and Description |
---|
InterruptSource() |
Modifier and Type | Method and Description |
---|---|
protected byte |
clear()
Clear interrupt state.
|
void |
clearEnabled(byte interruptMask)
Clear selected interrupt control mask bits.
|
void |
reset()
Clear pending interrupts, but do not signal to CPU we lost them.
|
void |
setEnabled(byte interruptMask)
Set interrupt control mask bits.
|
protected void |
trigger(byte interruptMask)
Trigger an interrupt.
|
protected static final byte INTERRUPT_REQUEST
protected byte icr
protected byte idr
protected void trigger(byte interruptMask)
interruptMask
- Interrupt flag numberprotected byte clear()
public void reset()
public void setEnabled(byte interruptMask)
interruptMask
- control mask bitspublic void clearEnabled(byte interruptMask)
interruptMask
- control mask bitsCopyright © 2018 Ken Händel. All rights reserved.