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

From: Groepaz <groepaz1gmx.net>
Date: 2012-08-10 21:08:35
On Friday 10 August 2012, you wrote:
> Hi,
> 
> > sounds overengineered to me to be honest. since the drive number is
> > handled by the drive on its own anyway, just ignore it. (and a PET user
> > would be probably indeed expect to be able to use something like "1:foo"
> > to specify drive 1 in a filename)
> 
> I was describing the overall behavior from the users perspective. The
> implementation would of course build on the processing by the drive
> and would be therefore as simple as:
> 
> Does the filename begin with a number followed by a colon? If Yes use
> the number as device number (instead of the "current device number")
> and advance the filename pointer to the char after the colon. Do the
> rest as usual.
> 
> Doesn't look overengineered at all to me...

but then you'll have to explain everyone using your program that "1:name" 
doesnt work, and something like "8:1:name" is required instead.

-- 

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

Death has come to our windows. 
<Jeremiah 9:21>

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Aug 10 21:07:46 2012

This archive was generated by hypermail 2.1.8 : 2012-08-10 21:07:50 CEST