Re: [cc65] C64 POSIX dirent stuff actually working?

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2012-08-05 20:13:49
Hi!

On Sun, Aug 05, 2012 at 10:23:17AM -0700, Stefan Wessels wrote:
> I haven't done anything with a filesystem so I am not sure how VICE is set
> up.  I launch with x64 test.c64 and what I get is a listing of all the files
> in the local hard drive directory where I have test.c46.  I did then go to
> settings->peripheral drives, checked Enable IEC Drive and pointed at a .d64
> file.  Ran the program again and saw the files in that disk image.

Before more people spend work on it: This seems to be a rather weird problem.
I have debugged it for an hour or so. The problems happens here only with true
drive emulation, and not in all cases. Once the drive label entry is read, the
readdir routine does actually get the "BYTES FREE" message, which means that
the end of directory is reached. From what I have seen it looks as if there is
actually nothing on the disk. However doing

load "$",8
list

returns the full directory. I will have to spend some more work on it. 

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
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 Aug 5 20:14:20 2012

This archive was generated by hypermail 2.1.8 : 2012-08-05 20:14:23 CEST