diff options
author | 2022-06-16 12:47:52 +0200 | |
---|---|---|
committer | 2025-04-29 23:06:41 +0200 | |
commit | 45d4cd52a8194f2ef9e0383cfb2e2a35634af6ff (patch) | |
tree | 4e8d8fcb7382a5e9e0bce5ec59939bcfbe67155a /src/devices/bus/ieee488/hp9895.cpp | |
parent | 5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff) |
full xtal conversionxtal
Diffstat (limited to 'src/devices/bus/ieee488/hp9895.cpp')
-rw-r--r-- | src/devices/bus/ieee488/hp9895.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/ieee488/hp9895.cpp b/src/devices/bus/ieee488/hp9895.cpp index aead54c0a18..fa9f4cd8925 100644 --- a/src/devices/bus/ieee488/hp9895.cpp +++ b/src/devices/bus/ieee488/hp9895.cpp @@ -132,7 +132,7 @@ static const uint8_t xv_drive_masks[] = { BIT_MASK(REG_XV_DRIVE1_BIT) }; -hp9895_device::hp9895_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) +hp9895_device::hp9895_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : device_t(mconfig, HP9895, tag, owner, clock), device_ieee488_interface(mconfig, *this), m_cpu(*this , "cpu"), @@ -870,12 +870,12 @@ const tiny_rom_entry *hp9895_device::device_rom_region() const void hp9895_device::device_add_mconfig(machine_config &config) { - Z80(config, m_cpu, 4000000); + Z80(config, m_cpu, XTAL::u(4000000)); m_cpu->set_addrmap(AS_PROGRAM, &hp9895_device::z80_program_map); m_cpu->set_addrmap(AS_IO, &hp9895_device::z80_io_map); m_cpu->refresh_cb().set(FUNC(hp9895_device::z80_m1_w)); - PHI(config, m_phi, 0); + PHI(config, m_phi); m_phi->eoi_write_cb().set(FUNC(hp9895_device::phi_eoi_w)); m_phi->dav_write_cb().set(FUNC(hp9895_device::phi_dav_w)); m_phi->nrfd_write_cb().set(FUNC(hp9895_device::phi_nrfd_w)); |