1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-01-18 00:52:56 +00:00

KA10: Added sector counter to RP06 drives.

This commit is contained in:
Richard Cornwell 2019-10-16 20:24:13 -04:00
parent f0cc9bd94b
commit dc2e0fb7bf

View File

@ -133,7 +133,7 @@
/* RPDT - 06 - drive type */
/* RPLA - 07 - look ahead register */
#define LA_REG us9
#define LA_V_SC 6 /* sector pos */
/* RPER2 - 10 - error status 2 - drive unsafe conditions - unimplemented */
@ -713,6 +713,10 @@ rp_read(DEVICE *dptr, struct rh_if *rhc, int reg) {
temp = uptr->ERR3;
break;
case 007: /* look ahead */
uptr->LA_REG += 0100;
uptr->LA_REG &= 07700;
temp = uptr->LA_REG;
break;
case 016: /* ecc position */
case 017: /* ecc pattern */
break;