mirror of
https://github.com/holub/mame
synced 2025-06-06 21:03:47 +03:00
hd64180rp: Fix major address space configuration error (nw)
This commit is contained in:
parent
12c08b06c8
commit
7c5bf64d9a
@ -123,7 +123,7 @@ hd64180rp_device::hd64180rp_device(const machine_config &mconfig, const char *ta
|
||||
: z180_device(mconfig, HD64180RP, tag, owner, clock, false, address_map_constructor())
|
||||
{
|
||||
// 64-pin DIP versions omit A19
|
||||
set_data_width(19);
|
||||
set_address_width(19);
|
||||
}
|
||||
|
||||
z8s180_device::z8s180_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
|
||||
@ -451,10 +451,10 @@ static std::unique_ptr<uint8_t[]> SZHVC_sub;
|
||||
#include "z180op.hxx"
|
||||
|
||||
|
||||
void z180_device::set_data_width(int bits)
|
||||
void z180_device::set_address_width(int bits)
|
||||
{
|
||||
m_program_config.m_data_width = bits;
|
||||
m_decrypted_opcodes_config.m_data_width = bits;
|
||||
m_program_config.m_addr_width = bits;
|
||||
m_decrypted_opcodes_config.m_addr_width = bits;
|
||||
}
|
||||
|
||||
device_memory_interface::space_config_vector z180_device::memory_space_config() const
|
||||
|
@ -147,7 +147,7 @@ protected:
|
||||
address_space_config m_io_config;
|
||||
address_space_config m_decrypted_opcodes_config;
|
||||
|
||||
void set_data_width(int bits);
|
||||
void set_address_width(int bits);
|
||||
|
||||
private:
|
||||
int memory_wait_states() const { return (m_dcntl & 0xc0) >> 6; }
|
||||
|
Loading…
Reference in New Issue
Block a user