summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ti99/peb/samsmem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ti99/peb/samsmem.cpp')
-rw-r--r--src/devices/bus/ti99/peb/samsmem.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/devices/bus/ti99/peb/samsmem.cpp b/src/devices/bus/ti99/peb/samsmem.cpp
index dff96b57198..61b668bb46e 100644
--- a/src/devices/bus/ti99/peb/samsmem.cpp
+++ b/src/devices/bus/ti99/peb/samsmem.cpp
@@ -19,6 +19,8 @@
called the Super AMS. Any documentation and software containing a reference
to the AEMS are applicable to either AMS or SAMS.
+ The SAMS does not decode AMA/AMB/AMC.
+
Michael Zapf
*****************************************************************************/
@@ -50,7 +52,7 @@ READ8Z_MEMBER(sams_memory_expansion_device::readz)
{
int base;
- if (m_access_mapper && ((offset & 0xe000)==0x4000))
+ if (m_access_mapper && in_dsr_space(offset, false))
{
*value = m_mapper[(offset>>1)&0x000f];
}
@@ -74,7 +76,7 @@ void sams_memory_expansion_device::write(offs_t offset, uint8_t data)
{
int base;
- if (m_access_mapper && ((offset & 0xe000)==0x4000))
+ if (m_access_mapper && in_dsr_space(offset, false))
{
m_mapper[(offset>>1)&0x000f] = data;
}