1
0
mirror of https://github.com/simh/simh.git synced 2026-05-15 17:59:58 +00:00

KA10: Fixed DP seek done to not move uptr.

This commit is contained in:
Richard Cornwell
2026-03-08 07:44:19 -10:00
committed by Mark Pizzolato
parent 682c59edcf
commit ba89e0a468

View File

@@ -447,13 +447,11 @@ t_stat dp_devio(uint32 dev, uint64 *data) {
uptr->UFLAGS &= ~DONE;
/* Check if any drives still reporting seek done */
tmp = 1;
uptr = &dp_unit[ctlr * NUM_UNITS_DP];
for(unit = 0; unit < NUM_UNITS_DP; unit++) {
if (uptr->UFLAGS & SEEK_DONE) {
if (dp_unit[(ctlr * NUM_UNITS_DP) + unit].UFLAGS & SEEK_DONE) {
tmp = 0;
break;
}
uptr++;
}
if (tmp)
df10->status &= ~PI_ENABLE;