summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/archimedes/podule/io_morley.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/archimedes/podule/io_morley.cpp')
-rw-r--r--src/devices/bus/archimedes/podule/io_morley.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/archimedes/podule/io_morley.cpp b/src/devices/bus/archimedes/podule/io_morley.cpp
index ad3fae53591..3e6bccc755b 100644
--- a/src/devices/bus/archimedes/podule/io_morley.cpp
+++ b/src/devices/bus/archimedes/podule/io_morley.cpp
@@ -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)
@@ -318,7 +318,7 @@ void arc_io_morley_device::device_reset()
int arc_io_morley_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_morley_device::upd7002_eoc(int state)