[Coco] Disk Free Space
phil pt
ptaylor2446 at gmail.com
Wed Dec 26 19:18:11 EST 2018
Can you please provide me with a example basic code to show me how to get
the information?
On Wednesday, December 26, 2018, Robert Gault <robert.gault at att.net> wrote:
> Phil,
>
> This is not exactly what you asked, but RGBDOS on emulators and HDBDOS on
> real Coco disks tells you how many grans are free. A Granule is 9 sectors.
> If you can't examine your disk using a Basic command, you will need to
> count the number of free grans in the table on Track 17 Sector 2.
>
> With a "nice" DOS on a fresh disk, you would see bytes 0-$43 =$FF and all
> other bytes =$00. Disk Basic probably has all bytes in T17S2=$FF. You only
> care about bytes 0-$43. They bytes that are $FF indicate free grans.
>
> Robert
>
> phil pt wrote:
>
>> mlbasic 2.0 does not support the free command how can I get the free disk
>> space that is available on the floppy disk using dskini?
>>
>> Thanks
>>
>>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>
More information about the Coco
mailing list