summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/pc9801.c
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2012-12-07 15:48:05 +0000
committer Angelo Salese <angelosa@users.noreply.github.com>2012-12-07 15:48:05 +0000
commitdb18011bd8d523e7a33a74cac3956d6e83475db8 (patch)
tree0d49a65fd8722f7760db74ea9c8b75b0f579dd12 /src/mess/drivers/pc9801.c
parent2986022ca0c483e923546be1eb80396405855416 (diff)
Preliminary support for Test Mode in upd1990a RTC device [Angelo Salese]
Diffstat (limited to 'src/mess/drivers/pc9801.c')
-rw-r--r--src/mess/drivers/pc9801.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/drivers/pc9801.c b/src/mess/drivers/pc9801.c
index 7394446a80b..d64644d2693 100644
--- a/src/mess/drivers/pc9801.c
+++ b/src/mess/drivers/pc9801.c
@@ -854,7 +854,7 @@ WRITE8_MEMBER(pc9801_state::pc9801_20_w)
m_rtc->c2_w((data & 0x04) >> 2);
m_rtc->stb_w((data & 0x08) >> 3);
m_rtc->clk_w((data & 0x10) >> 4);
- m_rtc->data_in_w((data & 0x20) >> 5);
+ m_rtc->data_in_w(((data & 0x20) >> 5));
if(data & 0xc0)
printf("RTC write to undefined bits %02x\n",data & 0xc0);
}
@@ -3147,7 +3147,7 @@ MACHINE_START_MEMBER(pc9801_state,pc9801_common)
machine().device("maincpu")->execute().set_irq_acknowledge_callback(irq_callback);
m_rtc->cs_w(1);
- m_rtc->oe_w(1);
+ m_rtc->oe_w(0); // TODO: unknown connection, MS-DOS 6.2x wants this low somehow with the test mode
m_ipl_rom = memregion("ipl")->base();
}