1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-13 23:37:13 +00:00

All DECtape devices: Undo previous unnecessary change relating to -A switch

Although these devices interpret a -A switch at attach time, they are not
sequential output devices and thus don't have an ambiguous interpretation
of the switch.

Incorrectly mentioned in #821
This commit is contained in:
Mark Pizzolato 2020-03-24 08:35:55 -07:00
parent 1c589030ae
commit 27c2dfa8f0
7 changed files with 0 additions and 7 deletions

View File

@ -1023,7 +1023,6 @@ else if (uptr->flags & UNIT_11FMT)
sim_printf ("16b format");
else sim_printf ("18b/36b format");
sim_printf (", buffering file in memory\n");
sim_fseek (uptr->fileref, 0, SEEK_SET); /* start at the beginning of file */
if (uptr->flags & UNIT_8FMT) { /* 12b? */
for (ba = 0; ba < uptr->capac; ) { /* loop thru file */
k = fxread (pdp8b, sizeof (uint16), D8_NBSIZE, uptr->fileref);

View File

@ -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 */

View File

@ -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? */

View File

@ -1299,7 +1299,6 @@ else if (uptr->flags & UNIT_11FMT)
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 */

View File

@ -1458,7 +1458,6 @@ else if (uptr->flags & UNIT_11FMT)
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 */

View File

@ -1248,7 +1248,6 @@ else if (uptr->flags & UNIT_11FMT)
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? */
uptr->hwmark = fxread (uptr->filebuf, sizeof (uint16),

View File

@ -808,7 +808,6 @@ else if (uptr->flags & UNIT_11FMT)
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 = td_flush;
if (uptr->flags & UNIT_8FMT) /* 12b? */
uptr->hwmark = fxread (uptr->filebuf, sizeof (uint16),