summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/statriv2.cpp
diff options
context:
space:
mode:
author David Haywood <hazemamewip@hotmail.com>2018-07-01 20:19:58 +0100
committer ajrhacker <ajrhacker@users.noreply.github.com>2018-07-01 15:19:58 -0400
commite3aae75004d3d6551e9282b1330d53ba1f5d05e2 (patch)
tree17fa92253713e6f94e86e07cd52806395fe4ce1e /src/mame/drivers/statriv2.cpp
parent6e15d298234a0d8140061b7a4be8c617f12c9690 (diff)
private: use (S, T, U, V) (nw) (#3720)
* private: use (S) (nw) * T part 1 (nw) * T part 2 (nw) * U,V (nw)
Diffstat (limited to 'src/mame/drivers/statriv2.cpp')
-rw-r--r--src/mame/drivers/statriv2.cpp27
1 files changed, 17 insertions, 10 deletions
diff --git a/src/mame/drivers/statriv2.cpp b/src/mame/drivers/statriv2.cpp
index f9f0c438915..cc2f62928d4 100644
--- a/src/mame/drivers/statriv2.cpp
+++ b/src/mame/drivers/statriv2.cpp
@@ -94,6 +94,21 @@ public:
, m_palette(*this, "palette")
{ }
+
+ void statriv2(machine_config &config);
+ void funcsino(machine_config &config);
+ void statriv2v(machine_config &config);
+
+ void init_addr_xlh();
+ void init_addr_lhx();
+ void init_addr_lmh();
+ void init_addr_lmhe();
+ void init_addr_xhl();
+ void init_laserdisc();
+
+ DECLARE_CUSTOM_INPUT_MEMBER(latched_coin_r);
+
+private:
required_device<cpu_device> m_maincpu;
required_device<tms9927_device> m_tms;
required_shared_ptr<uint8_t> m_videoram;
@@ -108,14 +123,8 @@ public:
uint8_t m_last_coin;
DECLARE_WRITE8_MEMBER(statriv2_videoram_w);
DECLARE_READ8_MEMBER(question_data_r);
- DECLARE_CUSTOM_INPUT_MEMBER(latched_coin_r);
DECLARE_WRITE8_MEMBER(ppi_portc_hi_w);
- void init_addr_xlh();
- void init_addr_lhx();
- void init_addr_lmh();
- void init_addr_lmhe();
- void init_addr_xhl();
- void init_laserdisc();
+
TILE_GET_INFO_MEMBER(horizontal_tile_info);
TILE_GET_INFO_MEMBER(vertical_tile_info);
virtual void video_start() override;
@@ -123,9 +132,7 @@ public:
DECLARE_VIDEO_START(vertical);
uint32_t screen_update_statriv2(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
INTERRUPT_GEN_MEMBER(statriv2_interrupt);
- void statriv2(machine_config &config);
- void funcsino(machine_config &config);
- void statriv2v(machine_config &config);
+
void statriv2_io_map(address_map &map);
void statriv2_map(address_map &map);
};