diff options
Diffstat (limited to 'src/mame/machine/awboard.cpp')
-rw-r--r-- | src/mame/machine/awboard.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/machine/awboard.cpp b/src/mame/machine/awboard.cpp index 3ff85c137de..bc2146640e2 100644 --- a/src/mame/machine/awboard.cpp +++ b/src/mame/machine/awboard.cpp @@ -294,7 +294,7 @@ void aw_rom_board::device_reset() dma_limit = 0; } -READ16_MEMBER(aw_rom_board::pio_r) +uint16_t aw_rom_board::pio_r() { uint32_t roffset = epr_offset & 0x3ffffff; if (roffset >= (mpr_offset / 2)) @@ -303,44 +303,44 @@ READ16_MEMBER(aw_rom_board::pio_r) return retval; } -WRITE16_MEMBER(aw_rom_board::pio_w) +void aw_rom_board::pio_w(uint16_t data) { // write to ROM board address space, including FlashROM programming using CFI (TODO) if (epr_offset == 0x7fffff) mpr_bank = data & 3; } -WRITE16_MEMBER(aw_rom_board::epr_offsetl_w) +void aw_rom_board::epr_offsetl_w(uint16_t data) { epr_offset = (epr_offset & 0xffff0000) | data; recalc_dma_offset(EPR); } -WRITE16_MEMBER(aw_rom_board::epr_offseth_w) +void aw_rom_board::epr_offseth_w(uint16_t data) { epr_offset = (epr_offset & 0x0000ffff) | (data << 16); recalc_dma_offset(EPR); } -WRITE16_MEMBER(aw_rom_board::mpr_record_index_w) +void aw_rom_board::mpr_record_index_w(uint16_t data) { mpr_record_index = data; recalc_dma_offset(MPR_RECORD); } -WRITE16_MEMBER(aw_rom_board::mpr_first_file_index_w) +void aw_rom_board::mpr_first_file_index_w(uint16_t data) { mpr_first_file_index = data; recalc_dma_offset(MPR_FILE); } -WRITE16_MEMBER(aw_rom_board::mpr_file_offsetl_w) +void aw_rom_board::mpr_file_offsetl_w(uint16_t data) { mpr_file_offset = (mpr_file_offset & 0xffff0000) | data; recalc_dma_offset(MPR_FILE); } -WRITE16_MEMBER(aw_rom_board::mpr_file_offseth_w) +void aw_rom_board::mpr_file_offseth_w(uint16_t data) { mpr_file_offset = (mpr_file_offset & 0x0000ffff) | (data << 16); |