51 |
|
|
52 |
|
// Interrupt flags |
53 |
|
enum { |
54 |
< |
INTFLAG_60HZ = 1, // 60Hz VBL |
55 |
< |
INTFLAG_SERIAL = 2, // Serial driver |
56 |
< |
INTFLAG_ETHER = 4, // Ethernet driver |
57 |
< |
INTFLAG_AUDIO = 8, // Audio block read |
58 |
< |
INTFLAG_TIMER = 16 // Time Manager |
54 |
> |
INTFLAG_60HZ = 1, // 60.15Hz VBL |
55 |
> |
INTFLAG_1HZ = 2, // ~1Hz interrupt |
56 |
> |
INTFLAG_SERIAL = 4, // Serial driver |
57 |
> |
INTFLAG_ETHER = 8, // Ethernet driver |
58 |
> |
INTFLAG_AUDIO = 16, // Audio block read |
59 |
> |
INTFLAG_TIMER = 32, // Time Manager |
60 |
> |
INTFLAG_NMI = 64 // NMI |
61 |
|
}; |
62 |
|
|
63 |
|
extern uint32 InterruptFlags; // Currently pending interrupts |
64 |
|
extern void SetInterruptFlag(uint32 flag); // Set/clear interrupt flags |
65 |
|
extern void ClearInterruptFlag(uint32 flag); |
66 |
+ |
extern void TriggerNMI(void); |
67 |
|
|
68 |
|
#endif |