I have just completed the test of
414 Atari IPF files (using a batch file

) and I could not find any weak bits !!!
The test has been done looking at the IPF content (ipfinfo) and through the API (ipfdump) but without succes.
So question is: Is there at least ONE IPF game imaged with weak bits on ATARI ST platform (I know there are plenty on other platforms).
Is weak bits supported for
Atari in CTA (specific format?)
I am using the following (partial) code
Code: Select all
uint32_t flag=DI_LOCK_DENVAR|DI_LOCK_UPDATEFD|DI_LOCK_TYPE;
CapsTrackInfoT2 pti;
CapsDataInfo pinfo;
for (uint32_t head = pii.minhead; head < pii.maxhead; head++) {
for (uint32_t track = pii.mincylinder; track < pii.maxcylinder; track++) {
pti.type = TRK_INFO_T2; // =2
CAPSLockTrack(&pti, image, track, head, flag);
bool fuzzy = ((pti.type & CTIT_FLAG_FLAKEY) == CTIT_FLAG_FLAKEY);
int type = pti.type & CTIT_MASK_TYPE;
if (fuzzy) fprintf(stderr, "*********************************** Fuzzy bits *********************************\n");
fprintf(out, "\nTrack %02d.%d type=%d (%s) sectors=%d (size=%d) trklen=%d timelen=%d ovl=%d start=%u wsd=%x wcnt=%u%s%s\n",
pti.cylinder, pti.head, type, track_type[type], pti.sectorcnt, pti.sectorsize,
pti.tracklen, pti.timelen, pti.overlap, pti.startbit, pti.wseed, pti.weakcnt,
pti.timelen ? " Timing" : "", fuzzy ? "Fuzzy" : "");
for (int i = 0; i < pti.weakcnt; i++ ) {
status = CAPSGetInfo(&pinfo, image, track, head, cgiitWeak, 0);
fprintf(out, "Fuzzy bits %d start=%d size=%d\n", i, pinfo.start, pinfo.size);
}
if (pti.tracklen == 0) break;