summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/pdp1
diff options
context:
space:
mode:
author Robbbert <robbbert@users.noreply.github.com>2013-07-09 11:17:11 +0000
committer Robbbert <robbbert@users.noreply.github.com>2013-07-09 11:17:11 +0000
commitaa45db4e8ec1f837741a910f8b1b8cebc3dcd6e5 (patch)
tree3176b3a5c8e3df61ad66a42cb82b5cbbf4ea3255 /src/emu/cpu/pdp1
parent0961501e5d140e5745b516ac6a8056ac406fcfb0 (diff)
(MESS) TX0 : Fixed paper tape reader [Robbbert]
(out of whatsnew) Since this system is very much like the pdp1, it is assumed the same mods are needed. However there is no software available in the required format to test with.
Diffstat (limited to 'src/emu/cpu/pdp1')
-rw-r--r--src/emu/cpu/pdp1/tx0.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/emu/cpu/pdp1/tx0.c b/src/emu/cpu/pdp1/tx0.c
index 3f2bc7e2910..01c41b3f1d1 100644
--- a/src/emu/cpu/pdp1/tx0.c
+++ b/src/emu/cpu/pdp1/tx0.c
@@ -171,7 +171,6 @@ static CPU_EXECUTE( tx0_64kw )
if (cpustate->ioh && cpustate->ios)
{
cpustate->ioh = 0;
- cpustate->ios = 0;
}
@@ -187,6 +186,7 @@ static CPU_EXECUTE( tx0_64kw )
if (cpustate->iface->io_handlers[io_handler_rim])
(*cpustate->iface->io_handlers[io_handler_rim])(device); /* data will be transferred to AC */
cpustate->rim_step = 1;
+ cpustate->ios = 0;
break;
case 1:
@@ -221,6 +221,7 @@ static CPU_EXECUTE( tx0_64kw )
if (cpustate->iface->io_handlers[io_handler_rim])
(*cpustate->iface->io_handlers[io_handler_rim])(device); /* data will be transferred to AC */
cpustate->rim_step = 3;
+ cpustate->ios = 0;
break;
case 3:
@@ -277,7 +278,6 @@ static CPU_EXECUTE( tx0_8kw )
if (cpustate->ioh && cpustate->ios)
{
cpustate->ioh = 0;
- cpustate->ios = 0;
}
@@ -293,6 +293,7 @@ static CPU_EXECUTE( tx0_8kw )
if (cpustate->iface->io_handlers[io_handler_rim])
(*cpustate->iface->io_handlers[io_handler_rim])(device); /* data will be transferred to AC */
cpustate->rim_step = 1;
+ cpustate->ios = 0;
break;
case 1:
@@ -327,6 +328,7 @@ static CPU_EXECUTE( tx0_8kw )
if (cpustate->iface->io_handlers[io_handler_rim])
(*cpustate->iface->io_handlers[io_handler_rim])(device); /* data will be transferred to AC */
cpustate->rim_step = 3;
+ cpustate->ios = 0;
break;
case 3:
@@ -415,7 +417,7 @@ static CPU_SET_INFO( tx0 )
case CPUINFO_INT_REGISTER + TX0_RIM: cpustate->rim = info->i ? 1 : 0; break;
case CPUINFO_INT_REGISTER + TX0_CYCLE: if (LOG) logerror("tx0_set_reg to cycle counter ignored\n");/* no way!*/ break;
case CPUINFO_INT_REGISTER + TX0_IOH: if (LOG) logerror("tx0_set_reg to ioh flip-flop ignored\n");/* no way!*/ break;
- case CPUINFO_INT_REGISTER + TX0_IOS: if (LOG) logerror("tx0_set_reg to ios flip-flop ignored\n");/* no way!*/ break;
+ case CPUINFO_INT_REGISTER + TX0_IOS: cpustate->ios = info->i ? 1 : 0; break;
case CPUINFO_INT_REGISTER + TX0_RESET: pulse_reset(device); break;
case CPUINFO_INT_REGISTER + TX0_IO_COMPLETE:cpustate->ios = 1; break;
}