mirror of
https://github.com/simh/simh.git
synced 2026-01-25 19:56:25 +00:00
PDP11: Fix KG11 address range when less than 8 units are configured
This commit is contained in:
@@ -459,6 +459,7 @@ static t_stat set_units (UNIT *u, int32 val, CONST char *s, void *desc)
|
||||
kg_unit[i].flags |= UNIT_DIS;
|
||||
}
|
||||
kg_dev.numunits = units;
|
||||
kg_dib.lnt = (IOLN_KG + 2) * units;
|
||||
kg_reset (&kg_dev);
|
||||
return (SCPE_OK);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user