Re: [cc65] posix directory routienes...

Date view Thread view Subject view

From: Groepaz (groepaz_at_gmx.net)
Date: 2003-03-19 19:36:33


On Wednesday 19 March 2003 19:04, Greg King wrote:
> From: Groepaz
> Date: Wednesday, February 26, 2003, 11:20 PM
>
> > I've knocked up the opendir/readdir/etc. stuff, have a look
> > at "dirtest.c" on the ftp.  It's basically complete and working,
> > except that it currently is using cbm_open()/_read(), etc.
> > instead of open()/read(), due to the USR-file problem.
> > [Is that fixed in the latest snapshot?  I have to admit
> > that the one I am using is some weeks old. :=)]
>
> It is fixed, but that fact doesn't matter.  We must use cbm_open(), for a
> different reason:  open() starts with a secondary-address of three, and
> counts up.  But, the CBM-version of opendir() must use an address of zero,
> so that it will get directory-data in the universally-available
> BASIC-program format.

uhmz....well, i gotta rewrite the opendir stuff then to use the raw 
format..... problem with using cbm_open and friends is, that it would 
conflict with the rest of the file i/o and thus wont be useful at all.

gpz
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-03-19 19:30:00 CET