Update sigma_dp.c
Found by Ken Rector; TDV hangs because loop is missing its increment.
This commit is contained in:
parent
2e894a95c3
commit
78f56b24f5
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
/* sigma_dp.c: moving head disk pack controller
|
||||
|
||||
Copyright (c) 2008-2017, Robert M Supnik
|
||||
Copyright (c) 2008-2022, Robert M Supnik
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -25,6 +25,7 @@
|
|||
|
||||
dp moving head disk pack controller
|
||||
|
||||
06-Jun-22 RMS Fixed missing loop increment in TDV (Ken Rector)
|
||||
13-Mar-17 RMS Fixed bug in selecting 3281 unit F (COVERITY)
|
||||
|
||||
Transfers are always done a sector at a time.
|
||||
|
@ -1028,6 +1029,7 @@ while (tptr->byte != 0) {
|
|||
data = (uint8) ((ctx->dp_flags & tptr->mask) >> tptr->fpos);
|
||||
c[tptr->byte] |= (data << tptr->tpos);
|
||||
}
|
||||
tptr++;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue