Re: [cc65] Re: readdir bug

From: Ullrich von Bassewitz <>
Date: 2012-09-14 19:49:24
Good evening!

On Fri, Sep 14, 2012 at 06:10:16PM +0200, Ullrich von Bassewitz wrote:
> On Fri, Sep 14, 2012 at 04:39:59PM +0200, Spiro Trikaliotis wrote:
> > As it is, though, (assuming the program "test" exists on the disk), the
> > behaviour is exactly what you see in the test program: After opening and
> > closing the file, the dir channel returns erroneous values. I believe
> > that the 1541 overwrites some pointers which confuse it completely, but
> > I have not tested it yet.
> This would mean it's an error in the floppy. But why then does the Atari
> behave in an identical manner? Or are these two problems unrelated?

To check this, I've changed Olivers test program, so that it uses cbm_readdir
instead of readdir. And it has in fact the same problems. So there's a high
probability that the issue is really caused by the floppy.



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Sep 14 19:49:41 2012

This archive was generated by hypermail 2.1.8 : 2012-09-14 19:49:44 CEST