summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cgenie.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/cgenie.cpp')
-rw-r--r--src/mame/drivers/cgenie.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/cgenie.cpp b/src/mame/drivers/cgenie.cpp
index 6756cf3c3dc..3423ce62cdb 100644
--- a/src/mame/drivers/cgenie.cpp
+++ b/src/mame/drivers/cgenie.cpp
@@ -80,8 +80,8 @@ private:
required_device<rs232_port_device> m_rs232;
required_device<expansion_slot_device> m_exp;
required_memory_region m_char_rom;
- required_shared_ptr<UINT8> m_color_ram;
- required_shared_ptr<UINT8> m_font_ram;
+ required_shared_ptr<uint8_t> m_color_ram;
+ required_shared_ptr<uint8_t> m_font_ram;
required_ioport_array<8> m_keyboard;
static const rgb_t m_palette_bg[];
@@ -91,7 +91,7 @@ private:
const rgb_t *m_palette;
rgb_t m_background_color;
- UINT8 m_control;
+ uint8_t m_control;
int m_rs232_rx;
int m_rs232_dcd;
@@ -219,7 +219,7 @@ INPUT_PORTS_END
READ8_MEMBER( cgenie_state::keyboard_r )
{
- UINT8 data = 0;
+ uint8_t data = 0;
for (int i = 0; i < 8; i++)
if (BIT(offset, i))
@@ -260,7 +260,7 @@ WRITE8_MEMBER( cgenie_state::control_w )
READ8_MEMBER( cgenie_state::control_r )
{
- UINT8 data = 0;
+ uint8_t data = 0;
data |= m_cassette->input() > 0 ? 1 : 0;
data |= m_rs232_rx << 1;
@@ -332,8 +332,8 @@ MC6845_UPDATE_ROW( cgenie_state::crtc_update_row )
for (int column = 0; column < x_count; column++)
{
- UINT8 code = m_ram->pointer()[ma + column];
- UINT8 color = m_color_ram[(ma & 0xbff) + column];
+ uint8_t code = m_ram->pointer()[ma + column];
+ uint8_t color = m_color_ram[(ma & 0xbff) + column];
// gfx mode?
if (BIT(m_control, 5))
@@ -347,7 +347,7 @@ MC6845_UPDATE_ROW( cgenie_state::crtc_update_row )
}
else
{
- UINT8 gfx = 0;
+ uint8_t gfx = 0;
// cursor visible?
if (cursor_x == column)