Re: [cc65] Uniform mass storage device discovery and file locations

From: <silverdr1wfmh.org.pl>
Date: 2012-08-18 01:05:52
-- 
Sent from mobile phone (so please have understanding).

On 17 sie 2012, at 13:01, Oliver Schmidt <ol.sc@web.de> wrote:

> Hi,
> 
>>> b) Check if a (formatted, usable) disk is in the devie.
>> 
>> I wouldn't do this at this stage. Finding its presence on the bus should be enough. Checking for a working volume takes time and has "side effects" when there is none.  I would say that lack of a working volume will anyway pop out as error once an operation is requested. So I would postpone this step until actually logging in the volume or other read / write request.
> 
> Sorry for obviously being ambiguous.

No problem. Happens from time to time ;-)

> The second step I called b) is
> _not_ supposed to be done on findnextdevice(). Only if the program
> calls rootdir() the second step is performed.

That's ok then. 

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Aug 18 01:06:06 2012

This archive was generated by hypermail 2.1.8 : 2012-08-18 01:06:09 CEST