summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/pk8000.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/pk8000.h')
-rw-r--r--src/mame/includes/pk8000.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/mame/includes/pk8000.h b/src/mame/includes/pk8000.h
index 3636f234ffe..946a755f1a7 100644
--- a/src/mame/includes/pk8000.h
+++ b/src/mame/includes/pk8000.h
@@ -10,6 +10,13 @@ public:
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
+ DECLARE_PALETTE_INIT(pk8000);
+
+ DECLARE_READ8_MEMBER(_84_porta_r);
+ DECLARE_WRITE8_MEMBER(_84_porta_w);
+ DECLARE_WRITE8_MEMBER(_84_portc_w);
+
+protected:
DECLARE_READ8_MEMBER(video_color_r);
DECLARE_WRITE8_MEMBER(video_color_w);
DECLARE_READ8_MEMBER(text_start_r);
@@ -22,15 +29,9 @@ public:
DECLARE_WRITE8_MEMBER(color_start_w);
DECLARE_READ8_MEMBER(color_r);
DECLARE_WRITE8_MEMBER(color_w);
- DECLARE_READ8_MEMBER(_84_porta_r);
- DECLARE_WRITE8_MEMBER(_84_porta_w);
- DECLARE_WRITE8_MEMBER(_84_portc_w);
-
- DECLARE_PALETTE_INIT(pk8000);
uint32_t video_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, uint8_t *videomem);
-protected:
uint8_t m_text_start;
uint8_t m_chargen_start;
uint8_t m_video_start;