summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/spg2xx_io.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/spg2xx_io.h')
-rw-r--r--src/devices/machine/spg2xx_io.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/devices/machine/spg2xx_io.h b/src/devices/machine/spg2xx_io.h
index a077d8554be..d1ddd573283 100644
--- a/src/devices/machine/spg2xx_io.h
+++ b/src/devices/machine/spg2xx_io.h
@@ -66,11 +66,14 @@ protected:
static const device_timer_id TIMER_4KHZ = 6;
static const device_timer_id TIMER_SRC_AB = 7;
static const device_timer_id TIMER_SRC_C = 8;
+ static const device_timer_id TIMER_RNG = 9;
virtual void device_start() override;
virtual void device_reset() override;
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override;
+ uint16_t clock_rng(int which);
+
void update_porta_special_modes();
void update_portb_special_modes();
void do_gpio(uint32_t offset, bool write);
@@ -135,6 +138,8 @@ protected:
emu_timer *m_uart_tx_timer;
emu_timer *m_uart_rx_timer;
+ emu_timer *m_rng_timer;
+
required_device<unsp_device> m_cpu;
required_device<screen_device> m_screen;