Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #2027

Re: Why is this directory structure not parsing in Prodos?

Newsgroups comp.sys.apple2.programmer
Date 2015-12-31 10:54 -0800
References <6125cba5-7906-4940-8f54-709d01bf39e2@googlegroups.com>
Message-ID <cbadc016-5aab-4126-8c00-eb222a8fa5da@googlegroups.com> (permalink)
Subject Re: Why is this directory structure not parsing in Prodos?
From BLuRry <brendan.robert@gmail.com>

Show all headers | View raw


On Thursday, December 31, 2015 at 12:41:16 PM UTC-6, BLuRry wrote:
> I've been working on revamping the Virtual folder support in Jace, which allows you to mount a physical folder as a prodos volume.  In order to make this work it generates the prodos structures on-the-fly to map the folders and files to their physical equivalents.  What I have currently works from Copy ][+ and I've been able to teleport a number of files (specifically the A2GameServer catalogue) into an HDV image.
> 
> However when I attempt to read the sub-folders from anything else, everything goes haywire from the half-mark of the second block of the folder.   In the pastebin example, you can see the root folder at block 2 and the sub-folder (a.thru.c) at blocks e and f.  When I look at the catalog from Shrinkit or DaveX, the Cyclotron entry shows as Cyossfire instead -- so it read the length of the entry and the first two letters but took the rest of the data from the previous entry and then terminated.
> 
> I'm not sure why this is happening, but if anyone can look at the volume structure and figure out what I've done wrong it would be immensely helpful.  The ... means the rest of the block in question is all zeros.  And the data that is shown is a dump of the emulator ram for that disk buffer so there's not a case of missing data (after all, it DOES work in Copy ][+ for some reason)
> 
> http://pastebin.com/raw/LPRZ1WMj
> 
> Thanks!
> -Brendan

 I should add that even though the sub-folders get munged, if I put several dozen entries in the root volume it doesn't have the same problem even though it's written by the same code.

Back to comp.sys.apple2.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Why is this directory structure not parsing in Prodos? BLuRry <brendan.robert@gmail.com> - 2015-12-31 10:41 -0800
  Re: Why is this directory structure not parsing in Prodos? BLuRry <brendan.robert@gmail.com> - 2015-12-31 10:54 -0800
    Re: Why is this directory structure not parsing in Prodos? BLuRry <brendan.robert@gmail.com> - 2015-12-31 11:04 -0800
      Re: Why is this directory structure not parsing in Prodos? gids.rs@sasktel.net - 2015-12-31 15:25 -0800
        Re: Why is this directory structure not parsing in Prodos? gids.rs@sasktel.net - 2015-12-31 15:28 -0800
          Re: Why is this directory structure not parsing in Prodos? BLuRry <brendan.robert@gmail.com> - 2015-12-31 20:02 -0800

csiph-web