Ruud_at_baltissen.org
Date: 2008-01-06 18:45:55
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. Of course I know some ways to fill the block anyway but I'm afraid they are dirty ie. I run the risk messing up the system. The point is, I lack quite some knowledge here. Maybe one of you may have some samples of sources around that does all these kind of tricks within the 1541. You understand that these are very welcome! -- ___ / __|__ / / |_/ Groetjes, Ruud \ \__|_\ \___| http://Ruud.C64.org Message was sent through the cbm-hackers mailing list
Archive generated by hypermail pre-2.1.8.