Re: [cc65] scratch files on C64 or file spec and drive numbers

From: Groepaz <groepaz1gmx.net>
Date: 2008-09-24 17:31:26
On Mittwoch 24 September 2008, Ullrich von Bassewitz wrote:
> On Wed, Sep 24, 2008 at 10:50:19AM +0200, Spiro Trikaliotis wrote:
> > This might be nice (at least, for some of us). Unfortunately, it would
> > add much overhead, as these pseudo-directories would have to be
> > processed.
>
> And it would clash with devices that *do* support directories or
> partitions. At least the implementation would be quite complex.

i'd simply implement them a bit different, and use a colon to seperate drive 
number, ie

8:the/path/file

and now, since that is a bit annoying to parse (the number could have one or 
two digits) i'd simply use letters instead, "A" representing device 0 etc

I:/the/path/file

thats almost trivial to parse with little overhead

also i'd totally ignore the drive numbers used on cbm dual drives. thats such 
a special case, it can do with special case handling.

-- 

http://www.hitmen-console.org
http://www.pokefinder.org
http://ftp.pokefinder.org

IBM is not a necessary evil. IBM is not necessary. 
<Ted Nelson>

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Sep 24 17:29:37 2008

This archive was generated by hypermail 2.1.8 : 2008-09-24 17:29:38 CEST