From c3ceb570638530bb03330423a95aa9d14ce40e06 Mon Sep 17 00:00:00 2001 From: Richard Cornwell Date: Wed, 25 Mar 2020 22:28:43 -0400 Subject: [PATCH] KA10: Reversed attach fixes, defualt interval setup. --- PDP10/kx10_cpu.c | 1 + PDP10/kx10_dt.c | 1 - PDP10/pdp6_dtc.c | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/PDP10/kx10_cpu.c b/PDP10/kx10_cpu.c index 0c2f556..a9f3ec1 100644 --- a/PDP10/kx10_cpu.c +++ b/PDP10/kx10_cpu.c @@ -10108,6 +10108,7 @@ for(i=0; i < 128; dev_irq[i++] = 0); sim_brk_types = SWMASK('E') | SWMASK('W') | SWMASK('R'); sim_brk_dflt = SWMASK ('E'); sim_clock_precalibrate_commands = pdp10_clock_precalibrate_commands; +sim_vm_initial_ips = 4 * SIM_INITIAL_IPS; sim_rtcn_init_unit (&cpu_unit[0], cpu_unit[0].wait, TMR_RTC); sim_activate(&cpu_unit[0], 10000); #if MPX_DEV diff --git a/PDP10/kx10_dt.c b/PDP10/kx10_dt.c index 0e82c56..449e788 100644 --- a/PDP10/kx10_dt.c +++ b/PDP10/kx10_dt.c @@ -1182,7 +1182,6 @@ t_stat dt_attach (UNIT *uptr, CONST char *cptr) sim_printf ("16b format"); else sim_printf ("18b/36b format"); sim_printf (", buffering file in memory\n"); - (void)sim_fseek (uptr->fileref, 0, SEEK_SET); /* start at the beginning of file */ uptr->io_flush = dt_flush; if (uptr->flags & UNIT_8FMT) { /* 12b? */ for (ba = 0; ba < uptr->capac; ) { /* loop thru file */ diff --git a/PDP10/pdp6_dtc.c b/PDP10/pdp6_dtc.c index 4ad93c9..c4e1567 100644 --- a/PDP10/pdp6_dtc.c +++ b/PDP10/pdp6_dtc.c @@ -1194,7 +1194,6 @@ dtc_attach (UNIT *uptr, CONST char *cptr) sim_printf ("16b format"); else sim_printf ("18b/36b format"); sim_printf (", buffering file in memory\n"); - (void)sim_fseek (uptr->fileref, 0, SEEK_SET); /* start at the beginning of file */ uptr->WRITTEN = 0; uptr->io_flush = dtc_flush; if (uptr->flags & UNIT_8FMT) { /* 12b? */