mirror of
https://github.com/simh/simh.git
synced 2026-01-13 15:27:14 +00:00
PDP11: Fix KG11 address range when less than 8 units are configured
This commit is contained in:
parent
25b9fc22dc
commit
3571d83c7b
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user