diff options
author | fulivi <fulivi@users.noreply.github.com> | 2021-03-07 19:31:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-07 13:31:39 -0500 |
commit | 3fe689f03fddb5b921bbec5e631cb3e1ead8f232 (patch) | |
tree | 279219061f011860ab8b7b6da467f795c1cddea9 /src/mame | |
parent | 61caa1450b534a90fa09f20c084ed45893098725 (diff) |
HP9845: added synchronous I/O for RS232 port and HP98046 module (#7695)
* rs232: added device for synchronous I/O
* hp9845: implemented external clocking in hp98046 serial module
Co-authored-by: ajrhacker <ajrhacker@users.noreply.github.com>
Diffstat (limited to 'src/mame')
-rw-r--r-- | src/mame/drivers/hp9845.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mame/drivers/hp9845.cpp b/src/mame/drivers/hp9845.cpp index ed279a0d64c..7976c54cbc9 100644 --- a/src/mame/drivers/hp9845.cpp +++ b/src/mame/drivers/hp9845.cpp @@ -3641,11 +3641,14 @@ void hp9845_base_state::ppu_io_map(address_map &map) void hp9845_base_state::hp9845_base(machine_config &config) { HP_5061_3001(config , m_lpu , 5700000); + // Clock scaling takes into account the slowdown caused by DRAM refresh + m_lpu->set_clock_scale(0.93); m_lpu->set_addrmap(AS_PROGRAM , &hp9845_base_state::global_mem_map); m_lpu->set_9845_boot_mode(true); m_lpu->set_rw_cycles(6 , 6); m_lpu->set_relative_mode(true); HP_5061_3001(config , m_ppu , 5700000); + m_ppu->set_clock_scale(0.93); m_ppu->set_addrmap(AS_PROGRAM , &hp9845_base_state::global_mem_map); m_ppu->set_addrmap(AS_IO , &hp9845_base_state::ppu_io_map); m_ppu->set_9845_boot_mode(true); |