Re: Cursory analyses of CBM readdir bug (was: [cc65] Re: readdir bug)

From: Spiro Trikaliotis <>
Date: 2012-09-24 20:40:24

* On Mon, Sep 24, 2012 at 10:05:03AM +0200 Oliver Schmidt wrote:
> > Even
> > worse, the routine is so much confused because other variables have been
> > rewritten that it even outputs the directory header again.
> Just to be sure - this is an issue specific to the directory read
> routine. It is in general possible to successfully open several files,
> right?

Correct. The directory read routine is special, as there is no file for
it. It is only this special handling that fails.

The 154x and 157x drives can handle up to 3 simultaneous open files
(except the directory), with one exception: A relative file counts for
two files, making it one relative file and one sequential ("normal")
file only.


Spiro R. Trikaliotis
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Sep 24 20:40:55 2012

This archive was generated by hypermail 2.1.8 : 2012-09-24 20:40:58 CEST