summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mc10.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
commitddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch)
treea70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/mame/drivers/mc10.cpp
parent333bff8de64dfaeb98134000412796b4fdef970b (diff)
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/mame/drivers/mc10.cpp')
-rw-r--r--src/mame/drivers/mc10.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mame/drivers/mc10.cpp b/src/mame/drivers/mc10.cpp
index 1817a096725..71387f8cb1c 100644
--- a/src/mame/drivers/mc10.cpp
+++ b/src/mame/drivers/mc10.cpp
@@ -54,15 +54,15 @@ public:
required_device<cassette_image_device> m_cassette;
required_device<printer_image_device> m_printer;
- UINT8 *m_ram_base;
- UINT32 m_ram_size;
- UINT8 m_keyboard_strobe;
- UINT8 m_port2;
+ uint8_t *m_ram_base;
+ uint32_t m_ram_size;
+ uint8_t m_keyboard_strobe;
+ uint8_t m_port2;
// printer
- UINT8 m_pr_buffer;
- UINT8 m_pr_counter;
- UINT8 m_pr_state;
+ uint8_t m_pr_buffer;
+ uint8_t m_pr_counter;
+ uint8_t m_pr_state;
DECLARE_READ8_MEMBER( mc10_bfff_r );
DECLARE_WRITE8_MEMBER( mc10_bfff_w );
@@ -84,7 +84,7 @@ public:
READ8_MEMBER( mc10_state::mc10_bfff_r )
{
- UINT8 result = 0xff;
+ uint8_t result = 0xff;
if (!BIT(m_keyboard_strobe, 0)) result &= ioport("pb0")->read();
if (!BIT(m_keyboard_strobe, 1)) result &= ioport("pb1")->read();
@@ -100,7 +100,7 @@ READ8_MEMBER( mc10_state::mc10_bfff_r )
READ8_MEMBER( mc10_state::alice90_bfff_r )
{
- UINT8 result = 0xff;
+ uint8_t result = 0xff;
if (!BIT(m_keyboard_strobe, 7)) result &= ioport("pb7")->read();
else
@@ -160,7 +160,7 @@ WRITE8_MEMBER( mc10_state::mc10_port1_w )
READ8_MEMBER( mc10_state::mc10_port2_r )
{
- UINT8 result = 0xeb;
+ uint8_t result = 0xeb;
/* bit 1, keyboard line pa6 */
if (!BIT(m_keyboard_strobe, 0)) result &= ioport("pb0")->read() >> 5;
@@ -225,7 +225,7 @@ READ8_MEMBER( mc10_state::mc6847_videoram_r )
TIMER_DEVICE_CALLBACK_MEMBER(mc10_state::alice32_scanline)
{
- m_ef9345->update_scanline((UINT16)param);
+ m_ef9345->update_scanline((uint16_t)param);
}
/***************************************************************************