1
0
mirror of https://github.com/simh/simh.git synced 2026-01-29 13:11:26 +00:00

TMXR: Disable ATTACH speed for devices which program port speed

This commit is contained in:
Mark Pizzolato
2018-03-13 02:14:06 -07:00
parent 62cea35d52
commit f5ca960b82
5 changed files with 179 additions and 53 deletions

View File

@@ -782,6 +782,7 @@ sim_debug(DBG_TRC, dptr, "dz_reset()\n");
if (dz_ldsc == NULL)
dz_desc.ldsc = dz_ldsc = (TMLN *)calloc (dz_desc.lines, sizeof(*dz_ldsc));
tmxr_set_port_speed_control (&dz_desc);
for (i = 0; i < dz_desc.lines/DZ_LINES; i++) /* init muxes */
dz_clear (i, TRUE);
dz_rxi = dz_txi = 0; /* clr master int */

View File

@@ -1523,6 +1523,7 @@ static t_stat vh_reset ( DEVICE *dptr )
{
int32 i;
tmxr_set_port_speed_control (&vh_desc);
if (vh_desc.lines > VH_MUXES*VH_LINES)
vh_desc.lines = VH_MUXES*VH_LINES;
for (i = 0; i < vh_desc.lines; i++)