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

From: Groepaz <groepaz1gmx.net>
Date: 2012-08-12 20:01:53
On Sunday 12 August 2012, you wrote:
> On Sunday 12 August 2012, you wrote:
> > Hi,
> > 
> > Wow - CBM disk i/o is really cool - at least for the naive cc65 POSIX
> > i/o function user (like me)...
> > 
> > The following program...
> 
> [snip]
> umh. trying to compile it gives me
> 
> $ cl65 -o test.prg test.c
> test.c(16): Error: Call to undefined function `_DE_ISREG'
> test.c(16): Error: Struct/union has no field named `d_type'

ah nevermind, i forgot its a somewhat recently added feature :)

however, are you sure you are using a proper disk image and "true drive 
emulation" ? 8 directory entries is what a single sector in the directory 
track contains, something the code on c64 end doesnt know anything about - i 
would assume a problem on the drive end in such case. (did you cross check 
against the respective cbm_... functions?)
----------------------------------------------------------------------
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 12 20:00:49 2012

This archive was generated by hypermail 2.1.8 : 2012-08-12 20:00:53 CEST