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

From: Groepaz <groepaz1gmx.net>
Date: 2012-08-09 20:54:47
On Thursday 09 August 2012, you wrote:
> On 2012-08-09, at 20:26, Groepaz wrote:
> >> Thinking aloud (might be completely bad idea)... how about something in
> >> unix style (so that it could fit somehow into POSIX ways):
> >> 
> >> "/floppy/unit/subunit/file"
> > 
> > urks. please not. the unit number is so useless and so few people would
> > actually need them, its a perfect candidate for some "magic variable".
> 
> Like setting variable to one value, opening one file, setting variable to
> another value, opening another file on a different drive?
> 
> That would mean two variables. One for device (8, 9, ..) and another one
> for drive (0,1), right?

i'd put the device number into the string, as its much more logical and does 
much more work similar to other systems and the "expected" way.

and ofcourse that is a good reason for not doing it, too =)

-- 

http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ftp.pokefinder.org

Hör bitte auf Scheisse zu labern. 
<Widdy/G*P>

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Aug 9 20:53:43 2012

This archive was generated by hypermail 2.1.8 : 2012-08-09 20:53:46 CEST