diff options
Diffstat (limited to 'src/devices/bus/isa/mach32.cpp')
-rw-r--r-- | src/devices/bus/isa/mach32.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/devices/bus/isa/mach32.cpp b/src/devices/bus/isa/mach32.cpp index 2f686745a5d..602147aa060 100644 --- a/src/devices/bus/isa/mach32.cpp +++ b/src/devices/bus/isa/mach32.cpp @@ -75,7 +75,7 @@ void mach32_8514a_device::device_start() // The Graphics Ultra Pro has an ATI68875 // bit 12: Enable internal uC address decode // bit 13-15: Card ID: ID when using multiple controllers -READ16_MEMBER(mach32_8514a_device::mach32_config1_r) +uint16_t mach32_8514a_device::mach32_config1_r() { return 0x0430; // enable VGA, 16-bit ISA, 256Kx16 DRAM, ATI68875 } @@ -95,7 +95,7 @@ READ16_MEMBER(mach32_8514a_device::mach32_config1_r) * bit 15 Draw pixel size to be written * If bits 11 and 15 are both 0, then for compatibility, both will be written */ -WRITE16_MEMBER(mach32_8514a_device::mach32_ge_ext_config_w) +void mach32_8514a_device::mach32_ge_ext_config_w(offs_t offset, uint16_t data, uint16_t mem_mask) { if(offset == 1) { @@ -234,14 +234,14 @@ uint32_t mach32_device::screen_update(screen_device &screen, bitmap_rgb32 &bitma } // mach32 Hardware Pointer -WRITE16_MEMBER(mach32_device::mach32_cursor_l_w) +void mach32_device::mach32_cursor_l_w(offs_t offset, uint16_t data) { if(offset == 1) m_cursor_address = (m_cursor_address & 0xf0000) | data; if(LOG_MACH32) logerror("mach32 HW pointer data address: %05x",m_cursor_address); } -WRITE16_MEMBER(mach32_device::mach32_cursor_h_w) +void mach32_device::mach32_cursor_h_w(offs_t offset, uint16_t data) { if(offset == 1) { @@ -251,19 +251,19 @@ WRITE16_MEMBER(mach32_device::mach32_cursor_h_w) } } -WRITE16_MEMBER(mach32_device::mach32_cursor_pos_h) +void mach32_device::mach32_cursor_pos_h(offs_t offset, uint16_t data) { if(offset == 1) m_cursor_horizontal = data & 0x07ff; } -WRITE16_MEMBER(mach32_device::mach32_cursor_pos_v) +void mach32_device::mach32_cursor_pos_v(offs_t offset, uint16_t data) { if(offset == 1) m_cursor_vertical = data & 0x0fff; } -WRITE16_MEMBER(mach32_device::mach32_cursor_colour_b_w) +void mach32_device::mach32_cursor_colour_b_w(offs_t offset, uint16_t data) { if(offset == 1) { @@ -274,7 +274,7 @@ WRITE16_MEMBER(mach32_device::mach32_cursor_colour_b_w) } } -WRITE16_MEMBER(mach32_device::mach32_cursor_colour_0_w) +void mach32_device::mach32_cursor_colour_0_w(offs_t offset, uint16_t data) { if(offset == 1) { @@ -284,7 +284,7 @@ WRITE16_MEMBER(mach32_device::mach32_cursor_colour_0_w) } } -WRITE16_MEMBER(mach32_device::mach32_cursor_colour_1_w) +void mach32_device::mach32_cursor_colour_1_w(offs_t offset, uint16_t data) { if(offset == 1) { @@ -294,7 +294,7 @@ WRITE16_MEMBER(mach32_device::mach32_cursor_colour_1_w) } } -WRITE16_MEMBER(mach32_device::mach32_cursor_offset_w) +void mach32_device::mach32_cursor_offset_w(offs_t offset, uint16_t data, uint16_t mem_mask) { if(offset == 1) { |