summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/micral.cpp
diff options
context:
space:
mode:
author Robbbert <Robbbert@users.noreply.github.com>2017-11-16 17:17:52 +1100
committer Robbbert <Robbbert@users.noreply.github.com>2017-11-16 17:17:52 +1100
commit0f5f0942704879b11c8a2ebaf9f6444683753531 (patch)
treeedb9c1cd43b735e5f43c29f4c4c207bfc8629fa5 /src/mame/drivers/micral.cpp
parent16002e28975183fc03349b900579c439d32f6e5f (diff)
(nw) micral : forgot one last thing
Diffstat (limited to 'src/mame/drivers/micral.cpp')
-rw-r--r--src/mame/drivers/micral.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/micral.cpp b/src/mame/drivers/micral.cpp
index 20cff8c6cd3..8bdbf298539 100644
--- a/src/mame/drivers/micral.cpp
+++ b/src/mame/drivers/micral.cpp
@@ -128,7 +128,7 @@ WRITE8_MEMBER( micral_state::video_w )
s_curpos = (s_curpos & 0xff00) | s_data;
else
if (s_command == 0x0d)
- s_curpos = (s_curpos & 0xff) | (s_data << 8);
+ s_curpos = (s_curpos & 0xff) | ((s_data & 0x1f) << 8);
else
if (s_command == 0xa0)
m_p_videoram[s_curpos] = s_data;
@@ -413,7 +413,7 @@ ROM_START( micral )
ROM_REGION( 0x400, "keyboard", 0 )
ROM_LOAD( "2010221.rom", 0x000, 0x400, CRC(65123378) SHA1(401f0a648b78bf1662a1cd2546e83ba8e3cb7a42) )
- ROM_REGION( 0x10000, "vram", ROMREGION_ERASEFF )
+ ROM_REGION( 0x2000, "vram", ROMREGION_ERASEFF )
// Using the chargen from 'c10' for now.
ROM_REGION( 0x2000, "chargen", 0 )