summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/centronics/epson_lx800.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2022-06-16 12:47:52 +0200
committer Olivier Galibert <galibert@pobox.com>2025-04-29 23:06:41 +0200
commit45d4cd52a8194f2ef9e0383cfb2e2a35634af6ff (patch)
tree4e8d8fcb7382a5e9e0bce5ec59939bcfbe67155a /src/devices/bus/centronics/epson_lx800.cpp
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/bus/centronics/epson_lx800.cpp')
-rw-r--r--src/devices/bus/centronics/epson_lx800.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/centronics/epson_lx800.cpp b/src/devices/bus/centronics/epson_lx800.cpp
index 3733c92cb2b..acb70a8fb38 100644
--- a/src/devices/bus/centronics/epson_lx800.cpp
+++ b/src/devices/bus/centronics/epson_lx800.cpp
@@ -89,11 +89,11 @@ void epson_lx800_device::device_add_mconfig(machine_config &config)
/* audio hardware */
SPEAKER(config, "mono").front_center();
- BEEP(config, m_beep, 4000); // ?
+ BEEP(config, m_beep, XTAL::u(4000)); // ?
m_beep->add_route(ALL_OUTPUTS, "mono", 0.05);
/* gate array */
- e05a03_device &ic3b(E05A03(config, "ic3b", 0));
+ e05a03_device &ic3b(E05A03(config, "ic3b"));
ic3b.pe_lp_wr_callback().set_output("paperout_led");
ic3b.reso_wr_callback().set(FUNC(epson_lx800_device::reset_w));
ic3b.pe_wr_callback().set(FUNC(epson_lx800_device::centronics_pe_w));
@@ -176,12 +176,12 @@ ioport_constructor epson_lx800_device::device_input_ports() const
// epson_lx800_device - constructor
//-------------------------------------------------
-epson_lx800_device::epson_lx800_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
+epson_lx800_device::epson_lx800_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) :
epson_lx800_device(mconfig, EPSON_LX800, tag, owner, clock)
{
}
-epson_lx800_device::epson_lx800_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) :
+epson_lx800_device::epson_lx800_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock) :
device_t(mconfig, type, tag, owner, clock),
device_centronics_peripheral_interface(mconfig, *this),
m_maincpu(*this, "maincpu"),