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/bus/wangpc/mvc.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/bus/wangpc/mvc.cpp')
-rw-r--r-- | src/devices/bus/wangpc/mvc.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/devices/bus/wangpc/mvc.cpp b/src/devices/bus/wangpc/mvc.cpp index ac5b09a0466..41643c21b87 100644 --- a/src/devices/bus/wangpc/mvc.cpp +++ b/src/devices/bus/wangpc/mvc.cpp @@ -71,7 +71,7 @@ MC6845_UPDATE_ROW( wangpc_mvc_device::crtc_update_row ) for (int sx = 0; sx < 50; sx++) { offs_t addr = (y * 50) + sx; - UINT16 data = m_bitmap_ram[addr]; + uint16_t data = m_bitmap_ram[addr]; for (int bit = 0; bit < 16; bit++) { @@ -86,10 +86,10 @@ MC6845_UPDATE_ROW( wangpc_mvc_device::crtc_update_row ) for (int column = 0; column < x_count; column++) { - UINT16 code = m_video_ram[((ma + column) & 0x7ff)]; - UINT8 attr = code & 0xff; + uint16_t code = m_video_ram[((ma + column) & 0x7ff)]; + uint8_t attr = code & 0xff; - UINT8 new_ra = ra + 1; + uint8_t new_ra = ra + 1; if (ATTR_SUPERSCRIPT) { @@ -101,7 +101,7 @@ MC6845_UPDATE_ROW( wangpc_mvc_device::crtc_update_row ) } offs_t addr = ((code >> 8) << 4) | (new_ra & 0x0f); - UINT16 data = m_char_ram[addr & 0xfff]; + uint16_t data = m_char_ram[addr & 0xfff]; if ((column == cursor_x) || (!ra && ATTR_OVERSCORE) || ((ra == 9) && ATTR_UNDERSCORE)) { @@ -186,7 +186,7 @@ inline void wangpc_mvc_device::set_irq(int state) // wangpc_mvc_device - constructor //------------------------------------------------- -wangpc_mvc_device::wangpc_mvc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : +wangpc_mvc_device::wangpc_mvc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, WANGPC_MVC, "Wang PC Medium Resolution Video Card", tag, owner, clock, "wangpc_mvc", __FILE__), device_wangpcbus_card_interface(mconfig, *this), m_crtc(*this, MC6845_TAG), @@ -232,9 +232,9 @@ void wangpc_mvc_device::device_reset() // wangpcbus_mrdc_r - memory read //------------------------------------------------- -UINT16 wangpc_mvc_device::wangpcbus_mrdc_r(address_space &space, offs_t offset, UINT16 mem_mask) +uint16_t wangpc_mvc_device::wangpcbus_mrdc_r(address_space &space, offs_t offset, uint16_t mem_mask) { - UINT16 data = 0xffff; + uint16_t data = 0xffff; if (OPTION_VRAM) { @@ -260,7 +260,7 @@ UINT16 wangpc_mvc_device::wangpcbus_mrdc_r(address_space &space, offs_t offset, // wangpcbus_amwc_w - memory write //------------------------------------------------- -void wangpc_mvc_device::wangpcbus_amwc_w(address_space &space, offs_t offset, UINT16 mem_mask, UINT16 data) +void wangpc_mvc_device::wangpcbus_amwc_w(address_space &space, offs_t offset, uint16_t mem_mask, uint16_t data) { if (OPTION_VRAM) { @@ -284,9 +284,9 @@ void wangpc_mvc_device::wangpcbus_amwc_w(address_space &space, offs_t offset, UI // wangpcbus_iorc_r - I/O read //------------------------------------------------- -UINT16 wangpc_mvc_device::wangpcbus_iorc_r(address_space &space, offs_t offset, UINT16 mem_mask) +uint16_t wangpc_mvc_device::wangpcbus_iorc_r(address_space &space, offs_t offset, uint16_t mem_mask) { - UINT16 data = 0xffff; + uint16_t data = 0xffff; if (sad(offset)) { @@ -308,7 +308,7 @@ UINT16 wangpc_mvc_device::wangpcbus_iorc_r(address_space &space, offs_t offset, // wangpcbus_aiowc_w - I/O write //------------------------------------------------- -void wangpc_mvc_device::wangpcbus_aiowc_w(address_space &space, offs_t offset, UINT16 mem_mask, UINT16 data) +void wangpc_mvc_device::wangpcbus_aiowc_w(address_space &space, offs_t offset, uint16_t mem_mask, uint16_t data) { if (sad(offset) && ACCESSING_BITS_0_7) { |