From: Jim Brain (brain_at_jbrain.com)
Date: 2008-01-06 21:41:44
Ruud@baltissen.org 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
--
Jim Brain, Brain Innovations (X)
brain@jbrain.com
Dabbling in WWW, Embedded Systems, Old CBM computers, and Good Times!
Home: http://www.jbrain.com
Message was sent through the cbm-hackers mailing list
Archive generated by hypermail pre-2.1.8.