summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author RobertoFresca <robbie@mamedev.org>2016-02-19 00:32:23 -0300
committer RobertoFresca <robbie@mamedev.org>2016-02-19 00:32:23 -0300
commitc2bd3921ea70db576a57a50e240cbfdcee6186fd (patch)
tree4b462c4b2a75f22f79cb9bbc5424938892ae061c
parent8d5f6c1d2fc656791aaba4aee2dd22d8ba511ecf (diff)
parent2c242bc16e558f7c49cf5ad2496e582e043068fb (diff)
Merge branch 'master' of https://github.com/mamedev/mame
-rw-r--r--src/mame/drivers/pc9801.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/pc9801.cpp b/src/mame/drivers/pc9801.cpp
index 6ef0aef089d..f2f305ec97c 100644
--- a/src/mame/drivers/pc9801.cpp
+++ b/src/mame/drivers/pc9801.cpp
@@ -2293,6 +2293,8 @@ WRITE8_MEMBER(pc9801_state::pc9821_video_ff_w)
{
if(offset == 1)
{
+ if(((data & 0xfe) == 4) && !m_ex_video_ff[3]) // TODO: many other settings are protected
+ return;
m_ex_video_ff[(data & 0xfe) >> 1] = data & 1;
//if((data & 0xfe) == 0x20)
@@ -3466,7 +3468,7 @@ static MACHINE_CONFIG_START( pc9801rs, pc9801_state )
MCFG_RAM_ADD(RAM_TAG)
MCFG_RAM_DEFAULT_SIZE("1664K")
- MCFG_RAM_EXTRA_OPTIONS("640K,3712K,7808K,16M")
+ MCFG_RAM_EXTRA_OPTIONS("640K,3712K,7808K,14M")
MCFG_DEVICE_MODIFY("upd7220_btm")
MCFG_DEVICE_ADDRESS_MAP(AS_0, upd7220_grcg_2_map)