summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/argo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/argo.cpp')
-rw-r--r--src/mame/drivers/argo.cpp19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/mame/drivers/argo.cpp b/src/mame/drivers/argo.cpp
index eccf3a1447e..8cfe5601103 100644
--- a/src/mame/drivers/argo.cpp
+++ b/src/mame/drivers/argo.cpp
@@ -31,11 +31,6 @@ ToDo:
class argo_state : public driver_device
{
public:
- enum
- {
- TIMER_BOOT
- };
-
argo_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
@@ -43,16 +38,24 @@ public:
, m_p_chargen(*this, "chargen")
{ }
+ void argo(machine_config &config);
+
+ void init_argo();
+
+private:
+ enum
+ {
+ TIMER_BOOT
+ };
+
DECLARE_WRITE8_MEMBER(argo_videoram_w);
DECLARE_READ8_MEMBER(argo_io_r);
DECLARE_WRITE8_MEMBER(argo_io_w);
uint32_t screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
- void init_argo();
- void argo(machine_config &config);
void io_map(address_map &map);
void mem_map(address_map &map);
-private:
+
required_device<cpu_device> m_maincpu;
required_shared_ptr<uint8_t> m_p_videoram;
required_region_ptr<u8> m_p_chargen;