1
0
mirror of https://github.com/PDP-10/klh10.git synced 2026-02-05 07:55:23 +00:00

And in the other file. Should work for n < 100.

This commit is contained in:
Olaf Seibert
2017-05-14 13:10:33 +02:00
parent 22e336c700
commit b60c1e88a2

View File

@@ -287,8 +287,8 @@ rp_conf(FILE *f, char *s, struct rpdev *rp)
rp->rp_iswrite = TRUE;
partyp(rp, DVRP_DEFAULT_DISK); /* Default disk config */
RPREG(rp, RHR_SN) = /* Serial Number register (BCD) */
(((1 / 1000)%10) << 12)
| (((6 / 100)%10) << 8)
(((1600 / 1000)%10) << 12)
| (((1600 / 100)%10) << 8)
| (((nrps / 10)%10) << 4)
| (((nrps )%10) );
rp->rp_bufsec = 4; /* # sectors in buffer */