PDP11: Fix KG11 address range when less than 8 units are configured
This commit is contained in:
parent
25b9fc22dc
commit
3571d83c7b
1 changed files with 1 additions and 0 deletions
|
@ -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_unit[i].flags |= UNIT_DIS;
|
||||||
}
|
}
|
||||||
kg_dev.numunits = units;
|
kg_dev.numunits = units;
|
||||||
|
kg_dib.lnt = (IOLN_KG + 2) * units;
|
||||||
kg_reset (&kg_dev);
|
kg_reset (&kg_dev);
|
||||||
return (SCPE_OK);
|
return (SCPE_OK);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue