From ddb290d5f615019c33c42b8d94e5a5254cabcf33 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 22 Oct 2016 13:13:17 +0200 Subject: 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 --- src/devices/machine/8530scc.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/devices/machine/8530scc.cpp') diff --git a/src/devices/machine/8530scc.cpp b/src/devices/machine/8530scc.cpp index 88cd30a3388..ee7631d241c 100644 --- a/src/devices/machine/8530scc.cpp +++ b/src/devices/machine/8530scc.cpp @@ -25,7 +25,7 @@ const device_type SCC8530 = &device_creator; IMPLEMENTATION ***************************************************************************/ -scc8530_t::scc8530_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : +scc8530_t::scc8530_t(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, SCC8530, "Zilog 8530 SCC (Legacy)", tag, owner, clock, "scc8530l", __FILE__), mode(0), reg(0), status(0), IRQV(0), MasterIRQEnable(0), lastIRQStat(0), IRQType(), intrq_cb(*this) { @@ -214,7 +214,7 @@ void scc8530_t::acknowledge() scc_getareg -------------------------------------------------*/ -UINT8 scc8530_t::getareg() +uint8_t scc8530_t::getareg() { /* Not yet implemented */ #if LOG_SCC @@ -223,7 +223,7 @@ UINT8 scc8530_t::getareg() if (reg == 0) { - UINT8 rv = 0; + uint8_t rv = 0; Chan *ourCh = &channel[0]; @@ -246,7 +246,7 @@ UINT8 scc8530_t::getareg() scc_getareg -------------------------------------------------*/ -UINT8 scc8530_t::getbreg() +uint8_t scc8530_t::getbreg() { #if LOG_SCC printf("SCC: port B reg %i read 0x%02x\n", reg, channel[1].reg_val[reg]); @@ -254,7 +254,7 @@ UINT8 scc8530_t::getbreg() if (reg == 0) { - UINT8 rv = 0; + uint8_t rv = 0; Chan *ourCh = &channel[1]; @@ -285,7 +285,7 @@ UINT8 scc8530_t::getbreg() scc_putreg -------------------------------------------------*/ -void scc8530_t::putreg(int ch, UINT8 data) +void scc8530_t::putreg(int ch, uint8_t data) { Chan *pChan = &channel[ch]; @@ -417,7 +417,7 @@ void scc8530_t::putreg(int ch, UINT8 data) scc8530_get_reg_a -------------------------------------------------*/ -UINT8 scc8530_t::get_reg_a(int reg) +uint8_t scc8530_t::get_reg_a(int reg) { return channel[0].reg_val[reg]; } @@ -428,7 +428,7 @@ UINT8 scc8530_t::get_reg_a(int reg) scc8530_get_reg_b -------------------------------------------------*/ -UINT8 scc8530_t::get_reg_b(int reg) +uint8_t scc8530_t::get_reg_b(int reg) { return channel[1].reg_val[reg]; } @@ -439,7 +439,7 @@ UINT8 scc8530_t::get_reg_b(int reg) scc8530_set_reg_a -------------------------------------------------*/ -void scc8530_t::set_reg_a(int reg, UINT8 data) +void scc8530_t::set_reg_a(int reg, uint8_t data) { channel[0].reg_val[reg] = data; } @@ -450,7 +450,7 @@ void scc8530_t::set_reg_a(int reg, UINT8 data) scc8530_set_reg_b -------------------------------------------------*/ -void scc8530_t::set_reg_b(int reg, UINT8 data) +void scc8530_t::set_reg_b(int reg, uint8_t data) { channel[1].reg_val[reg] = data; } @@ -474,9 +474,9 @@ READ8_MEMBER(scc8530_t::reg_r) // port for either SCC channel. //------------------------------------------------- -UINT8 scc8530_t::read_reg(int offset) +uint8_t scc8530_t::read_reg(int offset) { - UINT8 result = 0; + uint8_t result = 0; switch(offset) { @@ -518,7 +518,7 @@ WRITE8_MEMBER( scc8530_t::reg_w ) // port for either SCC channel. //------------------------------------------------- -void scc8530_t::write_reg(int offset, UINT8 data) +void scc8530_t::write_reg(int offset, uint8_t data) { //offset & 3; -- cgit v1.2.3