Re: [cc65] CBM LFN Question

From: Oliver Schmidt <ol.sc1web.de>
Date: 2010-10-24 11:03:34
Hi,

>> However there's (still) no opendir() so I'm now about to
>> use cbm_opendir().

> i have posted working opendir several times, i can mail it to you if you want.
> (an ancient version might still be on Uz's ftp)

I see. I'm aware that the topic of an opendir() for the CBMs was
discussed here several times over the years. I seem to remember that
the argumentation was something like:

- If the directory listing is done like BASIC does then it's about
parsing the output which tends to vary between DOSes (and other
aspects?).

- If the directory listing is done via low level access then it's
about supporting different disk layouts.

Maybe Uz felt that both approaches aren't "reliable" enough?

My personal take however is that any code that works just as good as
the current cbm_opendir() but offers the POSIX API would be a major
improvement...

> changing the default filetype for cbm machines to "prg", is
> what i usually do first after updating my cc65 install :)

As we discussed some time ago I personally the "usr" default. However
I wouldn't have an issue with overriding a "prg" default with "usr"
(which I rely on) as first line in main().

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 Sun Oct 24 11:03:38 2010

This archive was generated by hypermail 2.1.8 : 2010-10-24 11:03:42 CEST