diff options
author | 2020-04-15 19:26:06 -0400 | |
---|---|---|
committer | 2020-04-15 19:26:06 -0400 | |
commit | 0709c3fe27d0899a0ddea97ac5500bae9949c97e (patch) | |
tree | c59769a83d3b46b5a8446cbefb40d3dbb0b5d9bf /src/devices/cpu/rx01/rx01.h | |
parent | 5c90a13cee8172a78112eeacc0b79a388277dcfd (diff) |
rx01_cpu: Add sector data space in place of scratchpad space (nw)
Diffstat (limited to 'src/devices/cpu/rx01/rx01.h')
-rw-r--r-- | src/devices/cpu/rx01/rx01.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/devices/cpu/rx01/rx01.h b/src/devices/cpu/rx01/rx01.h index 4ff3cba99d9..5c46eefdc79 100644 --- a/src/devices/cpu/rx01/rx01.h +++ b/src/devices/cpu/rx01/rx01.h @@ -54,22 +54,23 @@ protected: virtual void state_string_export(const device_state_entry &entry, std::string &str) const override; private: - void scratchpad_map(address_map &map); - // internal helpers u8 mux_out(); + bool data_in(); bool sep_data(); bool missing_clk(); bool drv_sel_trk0(); + bool sec_buf_in(); bool test_condition(); + void set_bar(u16 bar); void shift_crc(bool data); void set_flag(bool j, bool k); // address spaces address_space_config m_inst_config; - address_space_config m_sp_config; + address_space_config m_data_config; memory_access_cache<0, 0, ENDIANNESS_LITTLE> *m_inst_cache; - memory_access_cache<0, 0, ENDIANNESS_LITTLE> *m_sp_cache; + memory_access_cache<0, 0, ENDIANNESS_LITTLE> *m_data_cache; // internal state u16 m_pc; @@ -81,6 +82,7 @@ private: u8 m_cntr; u8 m_sr; u8 m_spar; + u8 m_sp[16]; u16 m_bar; u16 m_crc; u16 m_flags; |