diff options
Diffstat (limited to 'src/devices/cpu/amis2000/amis2000.h')
-rw-r--r-- | src/devices/cpu/amis2000/amis2000.h | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/src/devices/cpu/amis2000/amis2000.h b/src/devices/cpu/amis2000/amis2000.h index 50f6973db8f..e6f5a0f3236 100644 --- a/src/devices/cpu/amis2000/amis2000.h +++ b/src/devices/cpu/amis2000/amis2000.h @@ -39,22 +39,7 @@ public: protected: // construction/destruction - amis2000_base_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, u8 bu_bits, u8 callstack_bits, u8 callstack_depth, int prgwidth, address_map_constructor program, int datawidth, address_map_constructor data) - : cpu_device(mconfig, type, tag, owner, clock) - , m_program_config("program", ENDIANNESS_BIG, 8, prgwidth, 0, program) - , m_data_config("data", ENDIANNESS_BIG, 8, datawidth, 0, data) - , m_bu_bits(bu_bits) - , m_callstack_bits(callstack_bits) - , m_callstack_depth(callstack_depth) - , m_7seg_table(nullptr) - , m_read_k(*this) - , m_read_i(*this) - , m_read_d(*this) - , m_write_d(*this) - , m_write_a(*this) - , m_write_f(*this) - { - } + amis2000_base_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, u8 bu_bits, u8 callstack_bits, u8 callstack_depth, int prgwidth, address_map_constructor program, int datawidth, address_map_constructor data); // device-level overrides virtual void device_start() override; @@ -82,13 +67,15 @@ protected: address_space *m_program; address_space *m_data; + int m_icount; + int m_state_count; + u8 m_bu_bits; u16 m_bu_mask; u8 m_callstack_bits; // number of program counter bits held in callstack u16 m_callstack_mask; u8 m_callstack_depth; // callstack levels: 3 on 2000/2150, 5 on 2200/2400 u16 m_callstack[5]; // max 5 - int m_icount; u16 m_pc; // 13-bit program counter u8 m_ppr; // prepared page register (PP 1) u8 m_pbr; // prepared bank register (PP 2) |