--- Frodo4/Src/CPUC64.h 2003/07/01 17:51:17 1.2 +++ 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-2003 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 @@ -112,7 +112,6 @@ private: void write_zp(uint16 adr, uint8 byte); void new_config(void); - void jump(uint16 adr); void illegal_op(uint8 op, uint16 at); void illegal_jump(uint16 at, uint16 to); @@ -145,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