Re: [cc65] CBM LFN Question

From: Spiro Trikaliotis <ml-cc651trikaliotis.net>
Date: 2010-10-24 21:11:19
Hello again,

* On Sun, Oct 24, 2010 at 08:54:35PM +0200 Oliver Schmidt wrote:

> > 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...

BTW: The cc65 runtime could get rid of all the LFN problems by just
"poking" the addresses at the right time. Of course, this would require
some direct calling into the KERNAL (instead of using the KERNAL jump
table) every now and then...

Regards,
Spiro.

-- 
Spiro R. Trikaliotis                              http://opencbm.sf.net/
http://www.trikaliotis.net/                     http://www.viceteam.org/
----------------------------------------------------------------------
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 21:12:16 2010

This archive was generated by hypermail 2.1.8 : 2010-10-24 21:12:19 CEST