mirror of
https://github.com/simh/simh.git
synced 2026-02-08 01:02:05 +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:
@@ -1023,7 +1023,6 @@ else if (uptr->flags & UNIT_11FMT)
|
|||||||
sim_printf ("16b format");
|
sim_printf ("16b format");
|
||||||
else sim_printf ("18b/36b format");
|
else sim_printf ("18b/36b format");
|
||||||
sim_printf (", buffering file in memory\n");
|
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? */
|
if (uptr->flags & UNIT_8FMT) { /* 12b? */
|
||||||
for (ba = 0; ba < uptr->capac; ) { /* loop thru file */
|
for (ba = 0; ba < uptr->capac; ) { /* loop thru file */
|
||||||
k = fxread (pdp8b, sizeof (uint16), D8_NBSIZE, uptr->fileref);
|
k = fxread (pdp8b, sizeof (uint16), D8_NBSIZE, uptr->fileref);
|
||||||
|
|||||||
@@ -1182,7 +1182,6 @@ t_stat dt_attach (UNIT *uptr, CONST char *cptr)
|
|||||||
sim_printf ("16b format");
|
sim_printf ("16b format");
|
||||||
else sim_printf ("18b/36b format");
|
else sim_printf ("18b/36b format");
|
||||||
sim_printf (", buffering file in memory\n");
|
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;
|
uptr->io_flush = dt_flush;
|
||||||
if (uptr->flags & UNIT_8FMT) { /* 12b? */
|
if (uptr->flags & UNIT_8FMT) { /* 12b? */
|
||||||
for (ba = 0; ba < uptr->capac; ) { /* loop thru file */
|
for (ba = 0; ba < uptr->capac; ) { /* loop thru file */
|
||||||
|
|||||||
@@ -1194,7 +1194,6 @@ dtc_attach (UNIT *uptr, CONST char *cptr)
|
|||||||
sim_printf ("16b format");
|
sim_printf ("16b format");
|
||||||
else sim_printf ("18b/36b format");
|
else sim_printf ("18b/36b format");
|
||||||
sim_printf (", buffering file in memory\n");
|
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->WRITTEN = 0;
|
||||||
uptr->io_flush = dtc_flush;
|
uptr->io_flush = dtc_flush;
|
||||||
if (uptr->flags & UNIT_8FMT) { /* 12b? */
|
if (uptr->flags & UNIT_8FMT) { /* 12b? */
|
||||||
|
|||||||
@@ -1299,7 +1299,6 @@ else if (uptr->flags & UNIT_11FMT)
|
|||||||
sim_printf ("16b format");
|
sim_printf ("16b format");
|
||||||
else sim_printf ("18b/36b format");
|
else sim_printf ("18b/36b format");
|
||||||
sim_printf (", buffering file in memory\n");
|
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;
|
uptr->io_flush = dt_flush;
|
||||||
if (uptr->flags & UNIT_8FMT) { /* 12b? */
|
if (uptr->flags & UNIT_8FMT) { /* 12b? */
|
||||||
for (ba = 0; ba < uptr->capac; ) { /* loop thru file */
|
for (ba = 0; ba < uptr->capac; ) { /* loop thru file */
|
||||||
|
|||||||
@@ -1458,7 +1458,6 @@ else if (uptr->flags & UNIT_11FMT)
|
|||||||
sim_printf ("16b format");
|
sim_printf ("16b format");
|
||||||
else sim_printf ("18b/36b format");
|
else sim_printf ("18b/36b format");
|
||||||
sim_printf (", buffering file in memory\n");
|
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;
|
uptr->io_flush = dt_flush;
|
||||||
if (uptr->flags & UNIT_8FMT) { /* 12b? */
|
if (uptr->flags & UNIT_8FMT) { /* 12b? */
|
||||||
for (ba = 0; ba < uptr->capac; ) { /* loop thru file */
|
for (ba = 0; ba < uptr->capac; ) { /* loop thru file */
|
||||||
|
|||||||
@@ -1248,7 +1248,6 @@ else if (uptr->flags & UNIT_11FMT)
|
|||||||
sim_printf ("16b format");
|
sim_printf ("16b format");
|
||||||
else sim_printf ("18b/36b format");
|
else sim_printf ("18b/36b format");
|
||||||
sim_printf (", buffering file in memory\n");
|
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;
|
uptr->io_flush = dt_flush;
|
||||||
if (uptr->flags & UNIT_8FMT) /* 12b? */
|
if (uptr->flags & UNIT_8FMT) /* 12b? */
|
||||||
uptr->hwmark = fxread (uptr->filebuf, sizeof (uint16),
|
uptr->hwmark = fxread (uptr->filebuf, sizeof (uint16),
|
||||||
|
|||||||
@@ -808,7 +808,6 @@ else if (uptr->flags & UNIT_11FMT)
|
|||||||
sim_printf ("16b format");
|
sim_printf ("16b format");
|
||||||
else sim_printf ("18b/36b format");
|
else sim_printf ("18b/36b format");
|
||||||
sim_printf (", buffering file in memory\n");
|
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;
|
uptr->io_flush = td_flush;
|
||||||
if (uptr->flags & UNIT_8FMT) /* 12b? */
|
if (uptr->flags & UNIT_8FMT) /* 12b? */
|
||||||
uptr->hwmark = fxread (uptr->filebuf, sizeof (uint16),
|
uptr->hwmark = fxread (uptr->filebuf, sizeof (uint16),
|
||||||
|
|||||||
Reference in New Issue
Block a user