diff options
Diffstat (limited to 'src/devices/bus/bbc/userport/beebspch.cpp')
-rw-r--r-- | src/devices/bus/bbc/userport/beebspch.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/bbc/userport/beebspch.cpp b/src/devices/bus/bbc/userport/beebspch.cpp index 728d8ae6658..666802ea546 100644 --- a/src/devices/bus/bbc/userport/beebspch.cpp +++ b/src/devices/bus/bbc/userport/beebspch.cpp @@ -47,7 +47,7 @@ const tiny_rom_entry *bbc_beebspch_device::device_rom_region() const void bbc_beebspch_device::device_add_mconfig(machine_config &config) { SPEAKER(config, "mono").front_center(); - SP0256(config, m_nsp, 3120000); // TODO: generated by a LS269 + SP0256(config, m_nsp, XTAL::u(3120000)); // TODO: generated by a LS269 m_nsp->data_request_callback().set(FUNC(bbc_beebspch_device::cb1_w)); m_nsp->standby_callback().set(FUNC(bbc_beebspch_device::cb2_w)); m_nsp->add_route(ALL_OUTPUTS, "mono", 1.0); @@ -62,7 +62,7 @@ void bbc_beebspch_device::device_add_mconfig(machine_config &config) // bbc_beebspch_device - constructor //------------------------------------------------- -bbc_beebspch_device::bbc_beebspch_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) +bbc_beebspch_device::bbc_beebspch_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : device_t(mconfig, BBC_BEEBSPCH, tag, owner, clock) , device_bbc_userport_interface(mconfig, *this) , m_nsp(*this, "sp0256") @@ -88,11 +88,11 @@ void bbc_beebspch_device::pb_w(uint8_t data) { case 0x40: // intonation high - m_nsp->set_clock(3800000); // TODO: the exact frequency is unknown + m_nsp->set_clock(XTAL::u(3800000)); // TODO: the exact frequency is unknown break; case 0x80: // intonation low - m_nsp->set_clock(3500000); // CK / 4 ?? + m_nsp->set_clock(XTAL::u(3500000)); // CK / 4 ?? break; } |