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

From: Spiro Trikaliotis <ml-cc651trikaliotis.net>
Date: 2012-08-12 14:01:59
Hello,

* On Sat, Aug 11, 2012 at 11:09:04PM +0200 Ullrich von Bassewitz wrote:
> 
> 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.

But, again, both variants are allowed for the drive, I do not see why
the library should disallow the one or the other.

> > 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().

Well, you're right, I was confusing with cbm_k_open(), which should not
do such name conversions - does it? ;)

Regards,
Spiro.

-- 
Spiro R. Trikaliotis
http://www.trikaliotis.net/
----------------------------------------------------------------------
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 Aug 12 14:02:27 2012

This archive was generated by hypermail 2.1.8 : 2012-08-12 14:02:31 CEST