On 2012-08-16, at 10:55, Oliver Schmidt wrote: >>> What I however consider the most important point: If we support >>> opendir() then this means we're going for scenarios beyond users >>> typing in filenames or hardcoded filenames. In those scenarios it' s >>> the next logical step to discover not only files in the "current >>> location" but in "other locations" as well. >> >> I have the feeling, that this whole topic is a bit "oversized" for a C >> compiler targeting CBM machines. What I mean here: some aspects of >> POSIX-like VFS assumes quite complex OS-side support for that, > > The mass storage device discovery I'm asking for in this thread isn't > related to any POSIX standard. I'm striving for a cc65-proprietary yet > cc65-cross-target facility. IMHO this is feasible. I have to do similar things in my own code. I wouldn't mind having functions available OOB. Especially if they'd be cross-target. >> But it would create quite massive >> sized programs if every compiled C program on C64 also includes the support >> code for these ... > > In contrast to the open() enhancments discussed in "the other thread" > we're talking here about additional functions which if not used by a > program won't increase it by a single byte. Exactly. And - as written before - I for example have to add those anyway. Just need to do it on my own. -- SD! ---------------------------------------------------------------------- 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 16 12:33:26 2012
This archive was generated by hypermail 2.1.8 : 2012-08-16 12:33:29 CEST