Re: [cc65] dio_query_sectcount() on Atari ?

From: Christian Grössler <chris1groessler.org>
Date: 2012-10-17 12:29:38
Hi Shawn,

dio_query_sectcount should report the number of all sectors on the disk, not only
the "free" ones.

Do you know how to find out which type of disk (and therefore the amount of
sectors on it) is inserted?

regards,
chris


On 16.10.12 02:41, Shawn Jefferson wrote:
> Christian, I think that one would need to read the directory to figure out
> the amount of free sectors (easiest way).  SpartaDOS, I believe, displays
> the free bytes instead of free sectors like DOS 2.x/MyDOS do though...
>
> The other way is to read the sector map, but I don't think that's worth it.

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Oct 17 12:29:50 2012

This archive was generated by hypermail 2.1.8 : 2012-10-17 12:29:53 CEST