diff options
Diffstat (limited to 'src/devices/bus/archimedes/podule/io.cpp')
-rw-r--r-- | src/devices/bus/archimedes/podule/io.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/archimedes/podule/io.cpp b/src/devices/bus/archimedes/podule/io.cpp index 1636079dc7e..698cf94114b 100644 --- a/src/devices/bus/archimedes/podule/io.cpp +++ b/src/devices/bus/archimedes/podule/io.cpp @@ -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; })); } @@ -425,7 +425,7 @@ u8 arc_io_aka_device::pa_r() int arc_io_aka_device::get_analogue_input(int channel_number) { - return (0xff - m_analog->ch_r(channel_number)) << 8; + return m_analog->ch_r(channel_number) << 8; } void arc_io_aka_device::upd7002_eoc(int state) |