--- Frodo4/Src/CPUC64.h 2004/01/12 15:13:20 1.4 +++ Frodo4/Src/CPUC64.h 2010/04/22 15:08:18 1.7 @@ -1,7 +1,7 @@ /* * CPUC64.h - 6510 (C64) emulation (line based) * - * Frodo (C) 1994-1997,2002-2004 Christian Bauer + * Frodo Copyright (C) Christian Bauer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -144,10 +144,17 @@ private: #ifdef FRODO_SC uint32 first_irq_cycle, first_nmi_cycle; + enum { + OPFLAG_IRQ_DISABLED = 0x01, + OPFLAG_IRQ_ENABLED = 0x02, + OPFLAG_INT_DELAYED = 0x04 + }; + uint8 opflags; // Interrupt operation flags + uint8 state, op; // Current state and opcode uint16 ar, ar2; // Address registers uint8 rdbuf; // Data buffer for RMW instructions - uint8 ddr, pr; // Processor port + uint8 ddr, pr, pr_out; // Processor port #else int borrowed_cycles; // Borrowed cycles from next line #endif