Re: X-IDE advice/help needed

From: Jim Brain (
Date: 2008-01-06 21:41:44 wrote:
> Hallo allemaal,
> I'm trying to implement subdirectories. The idea I have in mind works as it 
> is used in CBM-HD as well. But implementing it is the problem. 
> What I need to know is how I can create a file on the disk. I managed to 
> create an entry in the directory But I need almost the whole day for it :( 
> And even then I'm don't know why it works now. 
> There is a block allocated. But the directory needs to be updated with the 
> size of the file (in this case just 1), where does that happen?
> I have to fill this block with data. I have a routine called WriteSector 
> and that one needs somewhere the variable JOBNUM as entry. When saving 
> files from the outside, this variable is set somewhere. But now I'm working 
> from the inside.
Can;t you just mark the parent dir entry with a length of 1 when you are 
creating the dir?  It'll never be anything else, no?


Jim Brain, Brain Innovations                                      (X) 
Dabbling in WWW, Embedded Systems, Old CBM computers, and Good Times! 

       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail pre-2.1.8.