Skip to content

Commit

Permalink
Fix Read Tracks when chained from Prefix (issue #603)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fish-Git committed Jan 7, 2024
1 parent b6cd689 commit ba93eef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ckddasd.c
Original file line number Diff line number Diff line change
Expand Up @@ -3322,6 +3322,7 @@ BYTE trk_ovfl; /* == 1 if track ovfl write */
{
DefineExtent( dev, code, flags, chained, count, prevcode,
ccwseq, iobuf, more, unitstat, residual );
prevcode = 0x63; // DEFINE EXTENT
}
else
{
Expand All @@ -3339,10 +3340,12 @@ BYTE trk_ovfl; /* == 1 if track ovfl write */
ccwseq, iobuf, more, unitstat, residual );
if (*unitstat != (CSW_CE | CSW_DE))
break; // (error!)
prevcode = 0x63; // DEFINE EXTENT
}

LocateRecordExtended( dev, code, flags, chained, count, prevcode,
ccwseq, iobuf, more, unitstat, residual );
prevcode = 0x4B; // LOCATE RECORD EXTENDED
break; // Done!

case PFX_F_DE_PSF:
Expand Down

0 comments on commit ba93eef

Please sign in to comment.