summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/amstrad.c
diff options
context:
space:
mode:
author mahlemiut <bsr@xnet.co.nz>2015-09-10 23:53:20 +1200
committer mahlemiut <bsr@xnet.co.nz>2015-09-10 23:53:20 +1200
commit91b0190a5d883f5478de5c7cf3f5f6bfb05c6eab (patch)
tree92c28a4cebae7eca563e89a20bf9f0ce621d4db5 /src/mess/machine/amstrad.c
parent78c8d33ebdb5c51f93bec64a9c3d9ffd96fcd0b7 (diff)
al520ex: added preliminary Magic Sound expansion (not working) [Barry Rodewald]
Diffstat (limited to 'src/mess/machine/amstrad.c')
-rw-r--r--src/mess/machine/amstrad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/machine/amstrad.c b/src/mess/machine/amstrad.c
index 2e7d5796894..8dbe941af32 100644
--- a/src/mess/machine/amstrad.c
+++ b/src/mess/machine/amstrad.c
@@ -1694,8 +1694,8 @@ In the 464+ and 6128+ this function is performed by the ASIC or a memory expansi
WRITE8_MEMBER(amstrad_state::aleste_msx_mapper)
{
int page = (offset & 0x0300) >> 8;
- int ramptr = (data & 0x1f) * 0x4000;
- int rampage = data & 0x1f;
+ int ramptr = (data & 0x3f) * 0x4000;
+ int rampage = data & 0x3f;
int function = (data & 0xc0) >> 6;
UINT8 *ram = m_ram->pointer();