It is currently Thu May 22, 2025 11:12 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Jun 06, 2018 6:01 pm 
Offline

Joined: Thu May 17, 2007 2:00 pm
Posts: 107
Location: Duesseldorf, Germany
I know that for Contiki OS on the Commodore 64 there is a filesystem named "PFS" and I have found the header files and all the stuff that relate to PFS in the source tree. However, how does one use this code? I know how to work with the cbm_open command and I know how to use the cfs_open command (both being quite well documented). But how do you pfs_open a file? In Append mode, that is.

_________________
LOAD ":*",8,1
READY.
RUN


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 18, 2018 1:59 pm 
Offline
Site Admin

Joined: Wed Jan 11, 2006 11:22 am
Posts: 874
I don't know. It was 10+ years since I dabbed around with CC65 but remember quickly abandoning the file library due to bugs / lack of documentation. But things have hopefully improved since then...


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 18, 2018 5:13 pm 
Offline

Joined: Thu May 17, 2007 2:00 pm
Posts: 107
Location: Duesseldorf, Germany
RaveGuru wrote:
I don't know. It was 10+ years since I dabbed around with CC65 but remember quickly abandoning the file library due to bugs / lack of documentation. But things have hopefully improved since then...


Oh, for Commodore devices the file i/o (in cbm.h) does work pretty well, but in pfs they implemented read and write mode for the Commodore disk drives but they didn't implement the append mode which is there in the drive rom and works with the cc65 routines.

_________________
LOAD ":*",8,1
READY.
RUN


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group