1 |
|
/* |
2 |
|
* CPU1541.h - 6502 (1541) emulation (line based) |
3 |
|
* |
4 |
< |
* Frodo (C) 1994-1997,2002-2003 Christian Bauer |
4 |
> |
* Frodo Copyright (C) Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
121 |
|
#ifdef FRODO_SC |
122 |
|
uint32 first_irq_cycle; |
123 |
|
|
124 |
+ |
enum { |
125 |
+ |
OPFLAG_IRQ_DISABLED = 0x01, |
126 |
+ |
OPFLAG_IRQ_ENABLED = 0x02, |
127 |
+ |
OPFLAG_INT_DELAYED = 0x04 |
128 |
+ |
}; |
129 |
+ |
uint8 opflags; // Interrupt operation flags |
130 |
+ |
|
131 |
|
uint8 state, op; // Current state and opcode |
132 |
|
uint16 ar, ar2; // Address registers |
133 |
|
uint8 rdbuf; // Data buffer for RMW instructions |