Re: [cc65] Filenames for POSIX functins on CBM targets

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2012-08-11 23:09:04
On Sat, Aug 11, 2012 at 09:46:12PM +0200, Spiro Trikaliotis wrote:
> Is it so? That's a bug, IMHO. Uz, why don't you allow the user to
> specify "the last accessed drive" (by not sending a "0:" or "1:" in
> front of the command)?

I've tried to unify what comes out of the parser without deeper knowledge of
the inner workings.

> And: Does the library also work with something like "N0:abc,12" or
> "N:abc,12" or "S0:ABC*" or "S:ABC*" or "C0:abc=def" or "C:abc=def", or
> will it prepend a "0:" in all these cases?

Yes it will. But please note that we are talking about the open() routine,
while all of the above are control commands. It is an error to pass commands
to format, scratch, rename or copy files to open().

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
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 11 23:09:12 2012

This archive was generated by hypermail 2.1.8 : 2012-08-11 23:09:16 CEST