diff options
Diffstat (limited to 'src/devices/bus/amiga/zorro/buddha.cpp')
-rw-r--r-- | src/devices/bus/amiga/zorro/buddha.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/devices/bus/amiga/zorro/buddha.cpp b/src/devices/bus/amiga/zorro/buddha.cpp index 57a251eb67c..83fe8bbcfd1 100644 --- a/src/devices/bus/amiga/zorro/buddha.cpp +++ b/src/devices/bus/amiga/zorro/buddha.cpp @@ -181,7 +181,7 @@ WRITE_LINE_MEMBER( buddha_device::cfgin_w ) } } -READ16_MEMBER( buddha_device::speed_r ) +uint16_t buddha_device::speed_r(offs_t offset, uint16_t mem_mask) { uint16_t data = 0xffff; @@ -191,7 +191,7 @@ READ16_MEMBER( buddha_device::speed_r ) return data; } -WRITE16_MEMBER( buddha_device::speed_w ) +void buddha_device::speed_w(offs_t offset, uint16_t data, uint16_t mem_mask) { LOG("speed_w %04x [mask = %04x]\n", data, mem_mask); } @@ -216,7 +216,7 @@ WRITE_LINE_MEMBER( buddha_device::ide_1_interrupt_w ) m_slot->int2_w(state); } -READ16_MEMBER( buddha_device::ide_0_interrupt_r ) +uint16_t buddha_device::ide_0_interrupt_r(offs_t offset, uint16_t mem_mask) { uint16_t data; @@ -227,7 +227,7 @@ READ16_MEMBER( buddha_device::ide_0_interrupt_r ) return data; } -READ16_MEMBER( buddha_device::ide_1_interrupt_r ) +uint16_t buddha_device::ide_1_interrupt_r(offs_t offset, uint16_t mem_mask) { uint16_t data; @@ -238,7 +238,7 @@ READ16_MEMBER( buddha_device::ide_1_interrupt_r ) return data; } -WRITE16_MEMBER( buddha_device::ide_interrupt_enable_w ) +void buddha_device::ide_interrupt_enable_w(offs_t offset, uint16_t data, uint16_t mem_mask) { LOG("ide_interrupt_enable_w %04x [mask = %04x]\n", data, mem_mask); @@ -246,7 +246,7 @@ WRITE16_MEMBER( buddha_device::ide_interrupt_enable_w ) m_ide_interrupts_enabled = true; } -READ16_MEMBER( buddha_device::ide_0_cs0_r ) +uint16_t buddha_device::ide_0_cs0_r(offs_t offset, uint16_t mem_mask) { uint16_t data = m_ata_0->cs0_r((offset >> 1) & 0x07, (mem_mask << 8) | (mem_mask >> 8)); data = (data << 8) | (data >> 8); @@ -256,7 +256,7 @@ READ16_MEMBER( buddha_device::ide_0_cs0_r ) return data; } -WRITE16_MEMBER( buddha_device::ide_0_cs0_w ) +void buddha_device::ide_0_cs0_w(offs_t offset, uint16_t data, uint16_t mem_mask) { LOG("ide_0_cs0_w(%04x) %04x [mask = %04x]\n", offset, data, mem_mask); @@ -266,7 +266,7 @@ WRITE16_MEMBER( buddha_device::ide_0_cs0_w ) m_ata_0->cs0_w((offset >> 1) & 0x07, data, mem_mask); } -READ16_MEMBER( buddha_device::ide_0_cs1_r ) +uint16_t buddha_device::ide_0_cs1_r(offs_t offset, uint16_t mem_mask) { uint16_t data = m_ata_0->cs1_r((offset >> 1) & 0x07, (mem_mask << 8) | (mem_mask >> 8)); data = (data << 8) | (data >> 8); @@ -276,7 +276,7 @@ READ16_MEMBER( buddha_device::ide_0_cs1_r ) return data; } -WRITE16_MEMBER( buddha_device::ide_0_cs1_w ) +void buddha_device::ide_0_cs1_w(offs_t offset, uint16_t data, uint16_t mem_mask) { LOG("ide_0_cs1_w(%04x) %04x [mask = %04x]\n", offset, data, mem_mask); @@ -286,7 +286,7 @@ WRITE16_MEMBER( buddha_device::ide_0_cs1_w ) m_ata_0->cs1_w((offset >> 1) & 0x07, data, mem_mask); } -READ16_MEMBER( buddha_device::ide_1_cs0_r ) +uint16_t buddha_device::ide_1_cs0_r(offs_t offset, uint16_t mem_mask) { uint16_t data = m_ata_1->cs0_r((offset >> 1) & 0x07, (mem_mask << 8) | (mem_mask >> 8)); data = (data << 8) | (data >> 8); @@ -296,7 +296,7 @@ READ16_MEMBER( buddha_device::ide_1_cs0_r ) return data; } -WRITE16_MEMBER( buddha_device::ide_1_cs0_w ) +void buddha_device::ide_1_cs0_w(offs_t offset, uint16_t data, uint16_t mem_mask) { LOG("ide_1_cs0_w(%04x) %04x [mask = %04x]\n", offset, data, mem_mask); @@ -306,7 +306,7 @@ WRITE16_MEMBER( buddha_device::ide_1_cs0_w ) m_ata_1->cs0_w((offset >> 1) & 0x07, data, mem_mask); } -READ16_MEMBER( buddha_device::ide_1_cs1_r ) +uint16_t buddha_device::ide_1_cs1_r(offs_t offset, uint16_t mem_mask) { uint16_t data = m_ata_1->cs1_r((offset >> 1) & 0x07, (mem_mask << 8) | (mem_mask >> 8)); data = (data << 8) | (data >> 8); @@ -316,7 +316,7 @@ READ16_MEMBER( buddha_device::ide_1_cs1_r ) return data; } -WRITE16_MEMBER( buddha_device::ide_1_cs1_w ) +void buddha_device::ide_1_cs1_w(offs_t offset, uint16_t data, uint16_t mem_mask) { LOG("ide_1_cs1_w(%04x) %04x [mask = %04x]\n", offset, data, mem_mask); |