summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/pc8401a.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/pc8401a.h')
-rw-r--r--src/mame/includes/pc8401a.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/mame/includes/pc8401a.h b/src/mame/includes/pc8401a.h
index 17117a76819..d01cc5982a3 100644
--- a/src/mame/includes/pc8401a.h
+++ b/src/mame/includes/pc8401a.h
@@ -1,10 +1,10 @@
// license:BSD-3-Clause
// copyright-holders:Curt Coder
-#pragma once
-
#ifndef MAME_INCLUDES_PC8401A_H
#define MAME_INCLUDES_PC8401A_H
+#pragma once
+
#include "cpu/z80/z80.h"
#include "machine/i8255.h"
@@ -83,7 +83,7 @@ public:
DECLARE_WRITE8_MEMBER( port71_w );
DECLARE_READ8_MEMBER( ppi_pc_r );
DECLARE_WRITE8_MEMBER( ppi_pc_w );
- DECLARE_PALETTE_INIT(pc8401a);
+ void pc8401a_palette(palette_device &palette) const;
void scan_keyboard();
void bankswitch(uint8_t data);
@@ -113,10 +113,15 @@ public:
: pc8401a_state(mconfig, type, tag)
{ }
- virtual void video_start() override;
- uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
void pc8500(machine_config &config);
+
+protected:
+ virtual void video_start() override;
+
void pc8500_video(machine_config &config);
+
+private:
+ uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
};
-#endif
+#endif // MAME_INCLUDES_PC8401A_H