1 |
|
/* |
2 |
|
* CPUC64.h - 6510 (C64) emulation (line based) |
3 |
|
* |
4 |
< |
* Frodo (C) 1994-1997,2002-2005 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 |
144 |
|
#ifdef FRODO_SC |
145 |
|
uint32 first_irq_cycle, first_nmi_cycle; |
146 |
|
|
147 |
+ |
enum { |
148 |
+ |
OPFLAG_IRQ_DISABLED = 0x01, |
149 |
+ |
OPFLAG_IRQ_ENABLED = 0x02, |
150 |
+ |
OPFLAG_INT_DELAYED = 0x04 |
151 |
+ |
}; |
152 |
+ |
uint8 opflags; // Interrupt operation flags |
153 |
+ |
|
154 |
|
uint8 state, op; // Current state and opcode |
155 |
|
uint16 ar, ar2; // Address registers |
156 |
|
uint8 rdbuf; // Data buffer for RMW instructions |
157 |
< |
uint8 ddr, pr; // Processor port |
157 |
> |
uint8 ddr, pr, pr_out; // Processor port |
158 |
|
#else |
159 |
|
int borrowed_cycles; // Borrowed cycles from next line |
160 |
|
#endif |