Re: [cc65] cbm_readdir

From: Ullrich von Bassewitz <>
Date: 2010-11-29 21:48:53

On Sun, Nov 28, 2010 at 11:17:45PM +0100, Stefan wrote:
> I just recognized, that cbm_readdir does not return the "x blocks free"
> statement at the end of the directory.

This entry is filtered out, because it's not a real directory entry.

> Is there a workaround, so that i can show the user how many blocks are
> free on the disc?

Just take the cbm_dir.c file from the library sources and adjust it to suit
your needs. It's written in C, so you don't even have to mess with assembler.



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Nov 29 21:49:02 2010

This archive was generated by hypermail 2.1.8 : 2010-11-29 21:49:05 CET