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/machine/i82357.cpp | |
parent | 5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff) |
full xtal conversionxtal
Diffstat (limited to 'src/devices/machine/i82357.cpp')
-rw-r--r-- | src/devices/machine/i82357.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/machine/i82357.cpp b/src/devices/machine/i82357.cpp index 91de890a03d..d3bf1c1757f 100644 --- a/src/devices/machine/i82357.cpp +++ b/src/devices/machine/i82357.cpp @@ -30,7 +30,7 @@ DEFINE_DEVICE_TYPE(I82357, i82357_device, "i82357", "Intel 82357 Integrated System Peripheral") -i82357_device::i82357_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) +i82357_device::i82357_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : device_t(mconfig, I82357, tag, owner, clock) , m_pic(*this, "pic%u", 0) , m_pit(*this, "pit%u", 0) @@ -43,7 +43,7 @@ i82357_device::i82357_device(const machine_config &mconfig, const char *tag, dev void i82357_device::device_add_mconfig(machine_config &config) { - PIC8259(config, m_pic[0], 0); + PIC8259(config, m_pic[0]); m_pic[0]->in_sp_callback().set_constant(1); m_pic[0]->read_slave_ack_callback().set( [this](offs_t offset) -> u8 @@ -54,12 +54,12 @@ void i82357_device::device_add_mconfig(machine_config &config) return 0; }); - PIC8259(config, m_pic[1], 0); + PIC8259(config, m_pic[1]); m_pic[1]->out_int_callback().set(m_pic[0], FUNC(pic8259_device::ir2_w)); m_pic[1]->in_sp_callback().set_constant(0); - PIT8254(config, m_pit[0], 0); - PIT8254(config, m_pit[1], 0); + PIT8254(config, m_pit[0]); + PIT8254(config, m_pit[1]); // timer 1 counter 0: system timer m_pit[0]->set_clk<0>(clock() / 12); |