summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/c10.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/c10.cpp')
-rw-r--r--src/mame/drivers/c10.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/drivers/c10.cpp b/src/mame/drivers/c10.cpp
index 1a5bb2ee87c..3d094b5d806 100644
--- a/src/mame/drivers/c10.cpp
+++ b/src/mame/drivers/c10.cpp
@@ -30,11 +30,11 @@ public:
m_p_videoram(*this, "p_videoram"){ }
required_device<cpu_device> m_maincpu;
- const UINT8 *m_p_chargen;
- required_shared_ptr<UINT8> m_p_videoram;
+ const uint8_t *m_p_chargen;
+ required_shared_ptr<uint8_t> m_p_videoram;
virtual void machine_reset() override;
virtual void video_start() override;
- UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
DECLARE_DRIVER_INIT(c10);
protected:
@@ -86,11 +86,11 @@ void c10_state::video_start()
/* This system appears to have inline attribute bytes of unknown meaning.
Currently they are ignored. The word at FAB5 looks like it might be cursor location. */
-UINT32 c10_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
+uint32_t c10_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- //static UINT8 framecnt=0;
- UINT8 y,ra,chr,gfx;
- UINT16 sy=0,ma=0,x,xx;
+ //static uint8_t framecnt=0;
+ uint8_t y,ra,chr,gfx;
+ uint16_t sy=0,ma=0,x,xx;
//framecnt++;
@@ -98,7 +98,7 @@ UINT32 c10_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, con
{
for (ra = 0; ra < 10; ra++)
{
- UINT16 *p = &bitmap.pix16(sy++);
+ uint16_t *p = &bitmap.pix16(sy++);
xx = ma;
for (x = ma; x < ma + 80; x++)
@@ -172,7 +172,7 @@ MACHINE_CONFIG_END
DRIVER_INIT_MEMBER(c10_state,c10)
{
- UINT8 *RAM = memregion("maincpu")->base();
+ uint8_t *RAM = memregion("maincpu")->base();
membank("boot")->configure_entries(0, 2, &RAM[0x0000], 0x8000);
}