mirror of
https://github.com/holub/mame
synced 2025-04-26 10:13:37 +03:00
arc_midi_aka16: Corrected addressing of ROM page and UART.
This commit is contained in:
parent
6b088758c7
commit
57ab4eace9
@ -160,7 +160,7 @@ void arc_upmidi_aka12_device::ioc_map(address_map &map)
|
||||
{
|
||||
map(0x0000, 0x1fff).lr8(NAME([this](offs_t offset) { return m_podule_rom->base()[offset | ((m_rom_page << 11) & 0x3800)]; })).umask32(0x000000ff);
|
||||
map(0x2000, 0x203f).rw("via", FUNC(via6522_device::read), FUNC(via6522_device::write)).umask32(0x000000ff);
|
||||
map(0x3000, 0x301f).rw("uart", FUNC(scn2681_device::read), FUNC(scn2681_device::write)).umask32(0x000000ff);
|
||||
map(0x3000, 0x303f).rw("uart", FUNC(scn2681_device::read), FUNC(scn2681_device::write)).umask32(0x000000ff);
|
||||
}
|
||||
|
||||
|
||||
@ -182,8 +182,8 @@ void arc_iomidi_aka15_device::memc_map(address_map &map)
|
||||
void arc_midi_aka16_device::ioc_map(address_map &map)
|
||||
{
|
||||
map(0x0000, 0x1fff).lr8(NAME([this](offs_t offset) { return m_podule_rom->base()[offset | ((m_rom_page << 11) & 0x3800)]; })).umask32(0x000000ff);
|
||||
map(0x2000, 0x2000).lw8(NAME([this](u8 data) { m_rom_page = data; }));
|
||||
map(0x3000, 0x301f).rw("uart", FUNC(scn2681_device::read), FUNC(scn2681_device::write)).umask32(0x000000ff);
|
||||
map(0x2000, 0x203f).rw("uart", FUNC(scn2681_device::read), FUNC(scn2681_device::write)).umask32(0x000000ff);
|
||||
map(0x3000, 0x3000).lw8(NAME([this](u8 data) { m_rom_page = data; }));
|
||||
}
|
||||
|
||||
|
||||
|
@ -142,7 +142,7 @@ void arc_uma_morley_device::ioc_map(address_map &map)
|
||||
{
|
||||
map(0x0000, 0x1fff).lr8(NAME([this](offs_t offset) { return m_podule_rom->base()[offset | ((m_rom_page << 11) & 0x7800)]; })).umask32(0x000000ff);
|
||||
map(0x2000, 0x203f).rw("via", FUNC(via6522_device::read), FUNC(via6522_device::write)).umask32(0x000000ff);
|
||||
map(0x3000, 0x301f).rw("uart", FUNC(scn2681_device::read), FUNC(scn2681_device::write)).umask32(0x000000ff);
|
||||
map(0x3000, 0x303f).rw("uart", FUNC(scn2681_device::read), FUNC(scn2681_device::write)).umask32(0x000000ff);
|
||||
}
|
||||
|
||||
void arc_uma_morley_device::memc_map(address_map &map)
|
||||
|
@ -51,7 +51,7 @@ void arc_rs423_device::ioc_map(address_map &map)
|
||||
{
|
||||
map(0x0000, 0x1fff).lr8(NAME([this](offs_t offset) { return m_podule_rom->base()[offset | ((m_rom_page << 11) & 0x7800)]; })).umask32(0x000000ff);
|
||||
//map(0x2000, 0x203f).rw("via", FUNC(via6522_device::read), FUNC(via6522_device::write)).umask32(0x000000ff);
|
||||
//map(0x3000, 0x301f).rw("duart", FUNC(scn2681_device::read), FUNC(scn2681_device::write)).umask32(0x000000ff);
|
||||
//map(0x3000, 0x303f).rw("duart", FUNC(scn2681_device::read), FUNC(scn2681_device::write)).umask32(0x000000ff);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user