summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/pastelg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/pastelg.h')
-rw-r--r--src/mame/includes/pastelg.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/mame/includes/pastelg.h b/src/mame/includes/pastelg.h
index 0bcc7bf012e..96e454d2873 100644
--- a/src/mame/includes/pastelg.h
+++ b/src/mame/includes/pastelg.h
@@ -12,11 +12,13 @@ public:
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_nb1413m3(*this, "nb1413m3"),
- m_screen(*this, "screen") { }
+ m_screen(*this, "screen"),
+ m_clut(*this, "clut") { }
required_device<cpu_device> m_maincpu;
required_device<nb1413m3_device> m_nb1413m3;
required_device<screen_device> m_screen;
+ required_shared_ptr<UINT8> m_clut;
UINT8 m_mux_data;
int m_blitter_destx;
@@ -31,25 +33,28 @@ public:
int m_blitter_direction_y;
int m_palbank;
UINT8 *m_videoram;
- UINT8 *m_clut;
int m_flipscreen_old;
+
DECLARE_READ8_MEMBER(pastelg_sndrom_r);
DECLARE_READ8_MEMBER(pastelg_irq_ack_r);
DECLARE_READ8_MEMBER(threeds_inputport1_r);
DECLARE_READ8_MEMBER(threeds_inputport2_r);
DECLARE_WRITE8_MEMBER(threeds_inputportsel_w);
- DECLARE_WRITE8_MEMBER(pastelg_clut_w);
DECLARE_WRITE8_MEMBER(pastelg_blitter_w);
DECLARE_WRITE8_MEMBER(threeds_romsel_w);
DECLARE_WRITE8_MEMBER(threeds_output_w);
DECLARE_READ8_MEMBER(threeds_rom_readback_r);
DECLARE_WRITE8_MEMBER(pastelg_romsel_w);
+
DECLARE_CUSTOM_INPUT_MEMBER(nb1413m3_busyflag_r);
DECLARE_CUSTOM_INPUT_MEMBER(nb1413m3_hackbusyflag_r);
+
+ virtual void machine_start();
virtual void video_start();
+
DECLARE_PALETTE_INIT(pastelg);
UINT32 screen_update_pastelg(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- int pastelg_blitter_src_addr_r(address_space &space);
+ int pastelg_blitter_src_addr_r();
void pastelg_vramflip();
void pastelg_gfxdraw();
@@ -57,5 +62,3 @@ protected:
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
};
-/*----------- defined in video/pastelg.c -----------*/
-int pastelg_blitter_src_addr_r(address_space &space);