Started by FloppySoftware, 01:06, 23 September 21
0 Members and 1 Guest are viewing this topic.
Quote from: GeoffB17 on 19:59, 01 October 21Wondered what the df (disk free) command would do with the uIDE system, there's a problem here. Not a big deal, but still.df c: d: e: f: gives:c: 1588KB (12704 recs)d: 5396KB (-22363 recs)e: 8136KB (-449 recs)f: 4196KB ((-31968 recs)The bytes free figures are OK, the records free numbers are not - I think a signed integer should be a long int? Will be OK for PCW std floppy disks of course. Correction, a standard int, but unsigned, would be just enough!
unsigned int recs;...printf("%c: %4d KB (%5d recs.) free\n", 'A' + drv, recs / 8, recs);
Page created in 0.044 seconds with 29 queries.