mirror of
https://github.com/holub/mame
synced 2025-05-18 19:49:35 +03:00
seta/ssv.cpp, skeleton/tsispch.cpp: Fix address range after f530835c8f (diff-aa40e94c909adf74bb33a1e5f017dbd1b59c261b7c56485077da38f394675cce)
(#13620)
This commit is contained in:
parent
3a8f161621
commit
43e8643d27
@ -406,7 +406,7 @@ void drifto94_state::drifto94_map(address_map &map)
|
||||
ssv_map(map, 0xc00000);
|
||||
// map(0x210002, 0x210003).nopw(); // ? 1 at the start
|
||||
map(0x400000, 0x47ffff).nopw(); // ?
|
||||
map(0x480000, 0x480001).rw(m_dsp, FUNC(upd96050_device::data_r), FUNC(upd96050_device::data_w));
|
||||
map(0x480000, 0x480000).rw(m_dsp, FUNC(upd96050_device::data_r), FUNC(upd96050_device::data_w));
|
||||
map(0x482000, 0x482fff).rw(FUNC(drifto94_state::dsp_r), FUNC(drifto94_state::dsp_w)).umask16(0x00ff);
|
||||
map(0x483000, 0x485fff).nopw(); // ?
|
||||
map(0x500000, 0x500001).nopw(); // ??
|
||||
@ -765,7 +765,7 @@ void drifto94_state::twineag2_map(address_map &map)
|
||||
ssv_map(map, 0xe00000);
|
||||
map(0x010000, 0x03ffff).ram(); // More RAM
|
||||
map(0x210000, 0x210001).r("watchdog", FUNC(watchdog_timer_device::reset16_r)); // Watchdog (also value is cmp.b with mem 8)
|
||||
map(0x480000, 0x480001).rw(m_dsp, FUNC(upd96050_device::data_r), FUNC(upd96050_device::data_w));
|
||||
map(0x480000, 0x480000).rw(m_dsp, FUNC(upd96050_device::data_r), FUNC(upd96050_device::data_w));
|
||||
map(0x482000, 0x482fff).rw(FUNC(drifto94_state::dsp_r), FUNC(drifto94_state::dsp_w)).umask16(0x00ff);
|
||||
}
|
||||
|
||||
|
@ -155,7 +155,7 @@ public:
|
||||
private:
|
||||
uint8_t dsw_r();
|
||||
void peripheral_w(uint8_t data);
|
||||
void dsp_status_w(uint16_t data);
|
||||
void dsp_status_w(uint8_t data);
|
||||
void dsp_to_8086_p0_w(int state);
|
||||
void dsp_to_8086_p1_w(int state);
|
||||
|
||||
@ -212,7 +212,7 @@ void tsispch_state::peripheral_w(uint8_t data)
|
||||
UPD77P20 stuff
|
||||
*****************************************************************************/
|
||||
|
||||
void tsispch_state::dsp_status_w(uint16_t data)
|
||||
void tsispch_state::dsp_status_w(uint8_t data)
|
||||
{
|
||||
LOG("warning: upd772x status register should never be written to!\n");
|
||||
}
|
||||
@ -311,8 +311,8 @@ void tsispch_state::i8086_mem(address_map &map)
|
||||
map(0x03200, 0x03203).mirror(0x341fc).rw(m_pic, FUNC(pic8259_device::read), FUNC(pic8259_device::write)).umask16(0x00ff); // AMD P8259 PIC @ U5 (reads as 04 and 7c, upper byte is open bus)
|
||||
map(0x03400, 0x03400).mirror(0x341fe).r(FUNC(tsispch_state::dsw_r)); // verified, read from dipswitch s4
|
||||
map(0x03401, 0x03401).mirror(0x341fe).w(FUNC(tsispch_state::peripheral_w)); // verified, write to the 4 leds, plus 4 control bits
|
||||
map(0x03600, 0x03601).mirror(0x341fc).rw(m_dsp, FUNC(upd7725_device::data_r), FUNC(upd7725_device::data_w)); // verified; UPD77P20 data reg r/w
|
||||
map(0x03602, 0x03603).mirror(0x341fc).r(m_dsp, FUNC(upd7725_device::status_r)).w(FUNC(tsispch_state::dsp_status_w)); // verified; UPD77P20 status reg r
|
||||
map(0x03600, 0x03600).mirror(0x341fc).rw(m_dsp, FUNC(upd7725_device::data_r), FUNC(upd7725_device::data_w)); // verified; UPD77P20 data reg r/w
|
||||
map(0x03602, 0x03602).mirror(0x341fc).r(m_dsp, FUNC(upd7725_device::status_r)).w(FUNC(tsispch_state::dsp_status_w)); // verified; UPD77P20 status reg r
|
||||
map(0xc0000, 0xfffff).rom(); // verified
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user