Re: [cc65] CBM LFN Question

From: Oliver Schmidt <ol.sc1web.de>
Date: 2010-10-24 20:54:35
Hi Uz,

> Logical file numbers are like file handles. The bad thing about them is, that
> they aren't assigned by the kernal (which could easily track the ones already
> used), but by the user.

Thanks for the explanation.

> If the library uses a certain lfn, it cannot prevent the user from using the
> same one in his own code. This defeats modular programming and is the reason
> for the hassle in the library and the "be careful" statements in regard to
> mixing POSIX file I/O and CBM file I/O.

I see. So I was et least on the right track presuming that the "POSIX
vs. CBM problems" are because of LFN usage...

> Yes, 12 should work with the current implementation.

Fine :-)

Regards,
Oliver
----------------------------------------------------------------------
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 Oct 24 20:54:41 2010

This archive was generated by hypermail 2.1.8 : 2010-10-24 20:54:44 CEST