summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/spectra.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/spectra.cpp')
-rw-r--r--src/mame/drivers/spectra.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mame/drivers/spectra.cpp b/src/mame/drivers/spectra.cpp
index 9170c7d8b7c..9c2adec6e45 100644
--- a/src/mame/drivers/spectra.cpp
+++ b/src/mame/drivers/spectra.cpp
@@ -57,14 +57,17 @@ public:
, m_digits(*this, "digit%u", 0U)
{ }
+ void spectra(machine_config &config);
+
+protected:
DECLARE_READ8_MEMBER(porta_r);
DECLARE_READ8_MEMBER(portb_r);
DECLARE_WRITE8_MEMBER(porta_w);
DECLARE_WRITE8_MEMBER(portb_w);
TIMER_DEVICE_CALLBACK_MEMBER(nmitimer);
TIMER_DEVICE_CALLBACK_MEMBER(outtimer);
- void spectra(machine_config &config);
void spectra_map(address_map &map);
+
private:
uint8_t m_porta;
uint8_t m_portb;