mirror of
https://github.com/simh/simh.git
synced 2026-02-23 07:33:20 +00:00
Merge remote-tracking branch 'github-simh/master' into KDP
This commit is contained in:
@@ -661,7 +661,7 @@ t_stat reason;
|
|||||||
reason = attach_unit (uptr, cptr); /* attach file */
|
reason = attach_unit (uptr, cptr); /* attach file */
|
||||||
if (reason == SCPE_OK) {
|
if (reason == SCPE_OK) {
|
||||||
sim_fseek (uptr->fileref, 0, SEEK_END);
|
sim_fseek (uptr->fileref, 0, SEEK_END);
|
||||||
uptr->pos = sim_ftell (uptr->fileref);
|
uptr->pos = (t_addr)sim_ftell (uptr->fileref);
|
||||||
}
|
}
|
||||||
if (lpcsa & CSA_ONL) /* just file chg? */
|
if (lpcsa & CSA_ONL) /* just file chg? */
|
||||||
return reason;
|
return reason;
|
||||||
|
|||||||
@@ -670,6 +670,9 @@ t_stat dup_set_DDCMP (int32 dup, t_bool state)
|
|||||||
{
|
{
|
||||||
if ((dup < 0) || (dup >= dup_desc.lines))
|
if ((dup < 0) || (dup >= dup_desc.lines))
|
||||||
return SCPE_IERR;
|
return SCPE_IERR;
|
||||||
|
|
||||||
|
dup_rxcsr[dup] &= ~RXCSR_M_STRSYN;
|
||||||
|
dup_rxcsr[dup] |= (state ? 0: RXCSR_M_STRSYN);
|
||||||
dup_parcsr[dup] &= ~PARCSR_M_NOCRC;
|
dup_parcsr[dup] &= ~PARCSR_M_NOCRC;
|
||||||
dup_parcsr[dup] |= (state ? 0: PARCSR_M_NOCRC);
|
dup_parcsr[dup] |= (state ? 0: PARCSR_M_NOCRC);
|
||||||
dup_parcsr[dup] &= ~PARCSR_M_DECMODE;
|
dup_parcsr[dup] &= ~PARCSR_M_DECMODE;
|
||||||
|
|||||||
Reference in New Issue
Block a user