My problem is that floppies generated by FloppyBuilder work fine with 17 sectors, but it does not work with 18, or more exactly it works in Oricutron, but it does not work on Cumulus, which could be a number of reasons including incorrect parameters.
What I used in FloppyBuilder is derived from existing tools, I never verified if it was correct:
Code: Select all
// Heavily based on MakeDisk and Tap2DSk
// Additional comments from "Sedoric a Nu", page 62
int gap1,gap2,gap3;
switch (numberOfSectors)
{
case 15: case 16: case 17:
gap1=72; gap2=34; gap3=50;
break;
case 18:
gap1=12; gap2=34; gap3=46;
break;
default:
ShowError("%d is an unrealistic sectors per track number, supported values are 15, 16, 17 and 18 sectors per track\n", numberOfSectors);
return false;
}
Not sure if there are any tools that can be used to determine if my format is correct?
If anyone has a 18 sectors per track DSK file that works fine on their cumulus, I would be interested in in having a copy! Basically if I could get a reliable 18 sectors per track format, that would give me an additional 21 kb to finish a couple of "nice to have" for Encounter!