Re: [cc65] Reading Directory on Atari

From: Christian Groessler <chris1groessler.org>
Date: 2005-12-23 20:52:27
Hi,

On Wed, 21 Dec 2005, Shawn Jefferson wrote:

> Is there a function to read the directory entries of a
> disk for the Atari platform?

No.

I think I could provide a opendir function.

But filling out a struct dirent for readdir with filesize and name appears
to be quite a hassle. Different DOS versions create different output for
the directory listing.

After obtaining a handle with the above mentioned opendir function, a
subsequent regular read call would read a line as provided from DOS. It
would be the job of the application to parse this line.

If this is sufficient for you I will add the opendir function.

regards,
chris

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Dec 23 20:52:50 2005

This archive was generated by hypermail 2.1.8 : 2005-12-23 20:52:54 CET