diff options
Diffstat (limited to 'src/mame/drivers/tecmosys.cpp')
-rw-r--r-- | src/mame/drivers/tecmosys.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/drivers/tecmosys.cpp b/src/mame/drivers/tecmosys.cpp index d11f8d0590b..58442dc95d2 100644 --- a/src/mame/drivers/tecmosys.cpp +++ b/src/mame/drivers/tecmosys.cpp @@ -197,12 +197,12 @@ ae500w07.ad1 - M6295 Samples (23c4001) #include "speaker.h" -READ8_MEMBER(tecmosys_state::sound_command_pending_r) +u8 tecmosys_state::sound_command_pending_r() { return m_soundlatch->pending_r(); } -WRITE8_MEMBER(tecmosys_state::sound_nmi_disable_w) +void tecmosys_state::sound_nmi_disable_w(u8 data) { // 00 and FF are the only values written here; the latter value is set during initialization and NMI processing m_soundnmi->in_w<1>(data == 0); @@ -217,7 +217,7 @@ WRITE8_MEMBER(tecmosys_state::sound_nmi_disable_w) - 880000 & 03, crash */ -WRITE16_MEMBER(tecmosys_state::unk880000_w) +void tecmosys_state::unk880000_w(offs_t offset, u16 data, u16 mem_mask) { COMBINE_DATA(&m_880000regs[offset]); @@ -244,7 +244,7 @@ WRITE16_MEMBER(tecmosys_state::unk880000_w) } } -READ16_MEMBER(tecmosys_state::unk880000_r) +u16 tecmosys_state::unk880000_r(offs_t offset) { //u16 ret = m_880000regs[offset]; @@ -262,12 +262,12 @@ READ16_MEMBER(tecmosys_state::unk880000_r) } } -READ16_MEMBER(tecmosys_state::eeprom_r) +u16 tecmosys_state::eeprom_r() { return ((m_eeprom->do_read() & 0x01) << 11); } -WRITE16_MEMBER(tecmosys_state::eeprom_w) +void tecmosys_state::eeprom_w(offs_t offset, u16 data, u16 mem_mask) { if ( ACCESSING_BITS_8_15 ) { @@ -278,14 +278,14 @@ WRITE16_MEMBER(tecmosys_state::eeprom_w) } template<int Layer> -WRITE16_MEMBER(tecmosys_state::vram_w) +void tecmosys_state::vram_w(offs_t offset, u16 data, u16 mem_mask) { COMBINE_DATA(&m_vram[Layer][offset]); m_tilemap[Layer]->mark_tile_dirty(offset/2); } template<int Layer> -WRITE16_MEMBER(tecmosys_state::lineram_w) +void tecmosys_state::lineram_w(offs_t offset, u16 data, u16 mem_mask) { COMBINE_DATA(&m_lineram[Layer][offset]); if (data!=0x0000) popmessage("non 0 write to bg%01x lineram %04x %04x",Layer,offset,data); @@ -332,12 +332,12 @@ void tecmosys_state::main_map(address_map &map) } -WRITE8_MEMBER(tecmosys_state::z80_bank_w) +void tecmosys_state::z80_bank_w(u8 data) { m_audiobank->set_entry(data); } -WRITE8_MEMBER(tecmosys_state::oki_bank_w) +void tecmosys_state::oki_bank_w(u8 data) { m_okibank[0]->set_entry((data & 0x03) >> 0); m_okibank[1]->set_entry((data & 0x30) >> 4); |