Re: [cc65] dio_query_sectcount() on Atari ?

From: Oliver Schmidt <ol.sc1web.de>
Date: 2012-10-22 10:38:49
Hi,

>> What DOS is then used to access the 810/1050? And how does that DOS
>> know how large they are?
>
> On format, you simply select the target size. Afterwards, the size is stored in
> the allocation table. Different DOSs store the size tables
> differently, and there
> are a multitude of "raw" formated disks, with no DOS.

Now I got it - at least I think so:

1. Many/most devices don't know/tell their size so the user must
provide it when formatting media.

2. There are many DOSes and they store their size information in different ways.

>>> Perhaps the "best" method would be to query for the percom block, and if
>>> this isn't available, default to brute force method.  I don't think trying
>>> to figure out what DOS formatted the drive is useful in this case.

> I think is query the percom block, and if it's not present, just
> return 0. So, it's
> up to the calling application knowing the best method to access the disk.

How much code would be necessary to additionally detect DOS 2.5 720/1040 disks?

Regards,
Oliver
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Oct 22 10:39:36 2012

This archive was generated by hypermail 2.1.8 : 2012-10-22 10:39:39 CEST