diff options
author | 2016-10-22 13:13:17 +0200 | |
---|---|---|
committer | 2016-10-22 13:13:17 +0200 | |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/devices/machine/pdc.cpp | |
parent | 333bff8de64dfaeb98134000412796b4fdef970b (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/devices/machine/pdc.cpp')
-rw-r--r-- | src/devices/machine/pdc.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/machine/pdc.cpp b/src/devices/machine/pdc.cpp index 445aeae094b..12dce85aa7f 100644 --- a/src/devices/machine/pdc.cpp +++ b/src/devices/machine/pdc.cpp @@ -306,7 +306,7 @@ ioport_constructor pdc_device::device_input_ports() const // pdc_device - constructor //------------------------------------------------- -pdc_device::pdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : +pdc_device::pdc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, PDC, "ROLM PDC", tag, owner, clock, "pdc", __FILE__), m_pdccpu(*this, Z80_TAG), m_dma8237(*this, FDCDMA_TAG), @@ -388,7 +388,7 @@ WRITE8_MEMBER(pdc_device::i8237_dma_mem_w) READ8_MEMBER(pdc_device::i8237_fdc_dma_r) { - UINT8 ret = m_fdc->dma_r(); + uint8_t ret = m_fdc->dma_r(); if(TRACE_PDC_DMA) logerror("PDC: 8237 DMA CHANNEL 0 READ ADDRESS: %08X, DATA: %02X\n", offset, ret ); return ret; } @@ -401,8 +401,8 @@ WRITE8_MEMBER(pdc_device::i8237_fdc_dma_w) READ8_MEMBER(pdc_device::m68k_dma_r) { - UINT32 address; - UINT8 data; + uint32_t address; + uint8_t data; address = fdd_68k_dma_address++; data = m_m68k_r_cb(address); @@ -476,7 +476,7 @@ WRITE8_MEMBER(pdc_device::p0_7_w) READ8_MEMBER(pdc_device::fdd_68k_r) { - UINT8 address = offset + 0x21; + uint8_t address = offset + 0x21; switch(address) { default: @@ -486,7 +486,7 @@ READ8_MEMBER(pdc_device::fdd_68k_r) } WRITE8_MEMBER(pdc_device::fdd_68k_w) { - UINT8 address = offset + 0x21; + uint8_t address = offset + 0x21; switch(address) { case 0x21: /* Port 21: ?? */ @@ -546,7 +546,7 @@ READ8_MEMBER(pdc_device::p38_r) READ8_MEMBER(pdc_device::p39_r) { - UINT8 data = 1; + uint8_t data = 1; if(b_fdc_irq) data |= 8; // Set bit 3 if(TRACE_PDC_CMD) logerror("PDC: Port 0x39 READ: %02X, PC: %X\n", data, space.device().safe_pc()); return data; @@ -554,7 +554,7 @@ READ8_MEMBER(pdc_device::p39_r) WRITE8_MEMBER(pdc_device::p50_5f_w) { - UINT8 address = 0x50 + offset; + uint8_t address = 0x50 + offset; switch(address) { case 0x52: |