summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mmd1.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/mmd1.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/mmd1.cpp')
-rw-r--r--src/mame/drivers/mmd1.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/mmd1.cpp b/src/mame/drivers/mmd1.cpp
index 690a58e2568..890b7c39c13 100644
--- a/src/mame/drivers/mmd1.cpp
+++ b/src/mame/drivers/mmd1.cpp
@@ -169,8 +169,8 @@ public:
DECLARE_WRITE8_MEMBER(mmd2_digit_w);
DECLARE_WRITE8_MEMBER(mmd2_status_callback);
DECLARE_WRITE_LINE_MEMBER(mmd2_inte_callback);
- UINT8 m_return_code;
- UINT8 m_digit;
+ uint8_t m_return_code;
+ uint8_t m_digit;
DECLARE_DRIVER_INIT(mmd2);
DECLARE_MACHINE_RESET(mmd1);
DECLARE_MACHINE_RESET(mmd2);
@@ -217,9 +217,9 @@ WRITE8_MEMBER( mmd1_state::mmd1_port2_w )
// keyboard has a keydown and a keyup code. Keyup = last keydown + bit 7 set
READ8_MEMBER( mmd1_state::mmd1_keyboard_r )
{
- UINT8 line1 = ioport("LINE1")->read();
- UINT8 line2 = ioport("LINE2")->read();
- UINT8 i, data = 0xff;
+ uint8_t line1 = ioport("LINE1")->read();
+ uint8_t line2 = ioport("LINE2")->read();
+ uint8_t i, data = 0xff;
for (i = 0; i < 8; i++)
@@ -381,7 +381,7 @@ READ8_MEMBER( mmd1_state::mmd2_bank_r )
READ8_MEMBER( mmd1_state::mmd2_01_r )
{
// need to add cassin, ttyin bits
- UINT8 data = 0x87;
+ uint8_t data = 0x87;
data |= ioport("DSW")->read();
return data;
}
@@ -399,7 +399,7 @@ WRITE8_MEMBER( mmd1_state::mmd2_digit_w )
READ8_MEMBER( mmd1_state::mmd2_kbd_r )
{
- UINT8 data = 0xff;
+ uint8_t data = 0xff;
if (m_digit < 4)
{
@@ -448,7 +448,7 @@ DRIVER_INIT_MEMBER(mmd1_state,mmd2)
We preset all banks here, so that bankswitching will incur no speed penalty.
0000/0400 indicate ROMs, D800/DC00/E400 indicate RAM, 8000 is a dummy write area for ROM banks.
*/
- UINT8 *p_ram = memregion("maincpu")->base();
+ uint8_t *p_ram = memregion("maincpu")->base();
membank("bank1")->configure_entry(0, &p_ram[0x0000]);
membank("bank1")->configure_entry(1, &p_ram[0xd800]);
membank("bank1")->configure_entry(2, &p_ram[0x0c00]);