summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar Robbbert <Robbbert@users.noreply.github.com>2018-05-27 01:39:34 +1000
committerGravatarGravatar Robbbert <Robbbert@users.noreply.github.com>2018-05-27 01:39:34 +1000
commit3bf53341613c3f22d706b6abf10b832b4a21ccaa (patch) (github)
treeb699ba79eebce2c1d4a8b304b0b0e13cc000624d
parent98aeb64c3c16843e2be02223ffc644f41ad5724a (diff)
downloadmame-3bf53341613c3f22d706b6abf10b832b4a21ccaa.tar.bz2
mame-3bf53341613c3f22d706b6abf10b832b4a21ccaa.zip
(nw) quick protection before freeze
-rw-r--r--src/mame/drivers/atari_s1.cpp7
-rw-r--r--src/mame/drivers/jeutel.cpp5
-rw-r--r--src/mame/drivers/rowamet.cpp5
-rw-r--r--src/mame/drivers/spectra.cpp5
-rw-r--r--src/mame/drivers/unior.cpp5
-rw-r--r--src/mame/drivers/univac.cpp5
6 files changed, 23 insertions, 9 deletions
diff --git a/src/mame/drivers/atari_s1.cpp b/src/mame/drivers/atari_s1.cpp
index 037996c9080..7b4e6849dbc 100644
--- a/src/mame/drivers/atari_s1.cpp
+++ b/src/mame/drivers/atari_s1.cpp
@@ -75,6 +75,10 @@ public:
, m_digits(*this, "digit%u", 0U)
{ }
+ void midearth(machine_config &config);
+ void atari_s1(machine_config &config);
+ void atarians(machine_config &config);
+protected:
DECLARE_READ8_MEMBER(m1080_r);
DECLARE_WRITE8_MEMBER(m1080_w);
DECLARE_READ8_MEMBER(m1084_r);
@@ -90,9 +94,6 @@ public:
DECLARE_WRITE8_MEMBER(midearth_w);
TIMER_DEVICE_CALLBACK_MEMBER(nmi);
TIMER_DEVICE_CALLBACK_MEMBER(timer_s);
- void midearth(machine_config &config);
- void atari_s1(machine_config &config);
- void atarians(machine_config &config);
void atari_s1_map(address_map &map);
void atarians_map(address_map &map);
void midearth_map(address_map &map);
diff --git a/src/mame/drivers/jeutel.cpp b/src/mame/drivers/jeutel.cpp
index 7b81d56782f..7c3e32d5541 100644
--- a/src/mame/drivers/jeutel.cpp
+++ b/src/mame/drivers/jeutel.cpp
@@ -40,17 +40,20 @@ public:
{ }
void init_jeutel();
+ void jeutel(machine_config &config);
+
+protected:
DECLARE_READ8_MEMBER(portb_r);
DECLARE_WRITE8_MEMBER(porta_w);
DECLARE_WRITE8_MEMBER(ppi0a_w);
DECLARE_WRITE8_MEMBER(ppi0b_w);
DECLARE_WRITE8_MEMBER(sndcmd_w);
TIMER_DEVICE_CALLBACK_MEMBER(timer_a);
- void jeutel(machine_config &config);
void jeutel_cpu2(address_map &map);
void jeutel_cpu3(address_map &map);
void jeutel_cpu3_io(address_map &map);
void jeutel_map(address_map &map);
+
private:
bool m_timer_a;
uint8_t m_sndcmd;
diff --git a/src/mame/drivers/rowamet.cpp b/src/mame/drivers/rowamet.cpp
index 653d039887c..74188c8f5a8 100644
--- a/src/mame/drivers/rowamet.cpp
+++ b/src/mame/drivers/rowamet.cpp
@@ -45,15 +45,18 @@ public:
, m_digits(*this, "digit%u", 0U)
{ }
+ void rowamet(machine_config &config);
+
+protected:
DECLARE_READ8_MEMBER(sound_r);
DECLARE_WRITE8_MEMBER(mute_w);
DECLARE_READ8_MEMBER(io_r);
DECLARE_WRITE8_MEMBER(io_w);
TIMER_DEVICE_CALLBACK_MEMBER(timer_a);
- void rowamet(machine_config &config);
void rowamet_map(address_map &map);
void rowamet_sub_io(address_map &map);
void rowamet_sub_map(address_map &map);
+
private:
uint8_t m_out_offs;
uint8_t m_sndcmd;
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;
diff --git a/src/mame/drivers/unior.cpp b/src/mame/drivers/unior.cpp
index aaedeb1cfd4..bc772d7e75e 100644
--- a/src/mame/drivers/unior.cpp
+++ b/src/mame/drivers/unior.cpp
@@ -61,6 +61,9 @@ public:
, m_p_vram(*this, "vram")
{ }
+ void unior(machine_config &config);
+
+protected:
DECLARE_WRITE8_MEMBER(vram_w);
DECLARE_WRITE8_MEMBER(scroll_w);
DECLARE_READ8_MEMBER(ppi0_b_r);
@@ -75,9 +78,9 @@ public:
DECLARE_READ8_MEMBER(dma_r);
I8275_DRAW_CHARACTER_MEMBER(display_pixels);
- void unior(machine_config &config);
void unior_io(address_map &map);
void unior_mem(address_map &map);
+
private:
uint8_t m_4c;
uint8_t m_4e;
diff --git a/src/mame/drivers/univac.cpp b/src/mame/drivers/univac.cpp
index da5d92964c8..dbe8490dcf4 100644
--- a/src/mame/drivers/univac.cpp
+++ b/src/mame/drivers/univac.cpp
@@ -74,6 +74,9 @@ public:
, m_framecnt(0)
{ }
+ void uts20(machine_config &config);
+
+protected:
DECLARE_READ8_MEMBER(ram_r);
DECLARE_READ8_MEMBER(bank_r);
DECLARE_WRITE8_MEMBER(ram_w);
@@ -86,10 +89,8 @@ public:
u32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- void uts20(machine_config &config);
void io_map(address_map &map);
void mem_map(address_map &map);
-protected:
virtual void machine_start() override;
virtual void machine_reset() override;
virtual void device_post_load() override;