summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/thunderj.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/thunderj.h')
-rw-r--r--src/mame/includes/thunderj.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/mame/includes/thunderj.h b/src/mame/includes/thunderj.h
index c83096e38f0..b9f7a1133aa 100644
--- a/src/mame/includes/thunderj.h
+++ b/src/mame/includes/thunderj.h
@@ -10,19 +10,20 @@
#pragma once
-#include "machine/atarigen.h"
#include "audio/atarijsa.h"
#include "video/atarimo.h"
#include "video/atarivad.h"
#include "screen.h"
-class thunderj_state : public atarigen_state
+class thunderj_state : public driver_device
{
public:
thunderj_state(const machine_config &mconfig, device_type type, const char *tag) :
- atarigen_state(mconfig, type, tag),
+ driver_device(mconfig, type, tag),
+ m_screen(*this, "screen"),
m_jsa(*this, "jsa"),
m_vad(*this, "vad"),
+ m_maincpu(*this, "maincpu"),
m_extra(*this, "extra")
{ }
@@ -31,7 +32,7 @@ public:
protected:
virtual void machine_start() override;
- virtual void update_interrupts() override;
+ DECLARE_WRITE_LINE_MEMBER(scanline_int_write_line);
DECLARE_READ16_MEMBER(special_port2_r);
DECLARE_WRITE16_MEMBER(latch_w);
TILE_GET_INFO_MEMBER(get_alpha_tile_info);
@@ -43,8 +44,10 @@ protected:
void main_map(address_map &map);
private:
+ required_device<screen_device> m_screen;
required_device<atari_jsa_ii_device> m_jsa;
required_device<atari_vad_device> m_vad;
+ required_device<cpu_device> m_maincpu;
required_device<cpu_device> m_extra;
uint8_t m_alpha_tile_bank;