<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Thu, 31 Aug 2006 00:27:02 +0100
From   : "Ian Wolstenholme" <BBCMailingList@...>
Subject: Re: *INFO

Maybe I wasn't too naughty after all then!

But how does Watford DFS store the catalogue with 62 entries, presumably
it needs twice as much space for it as an Acorn DFS disc?

Best wishes,


Ian

----- Original Message -----
From: jgh@... (Jonathan Graham Harston)
To:  bbc-micro@...
Sent:  30 Aug 2006 22:54:15 +0100
Subject: [BBC-Micro] Re: *INFO

>Message-ID: <4e5eaf9a83info@...>
 
Sprow <info@...> wrote:
> > My programme reads the file length information directly from
> > where it should be in the disc sector for Acorn DFS, which is a
> > bit naughty and very sloppy.  I should have used OSFILE really
> > for compatibility with other DFSes.
 
I don't know of any DFS that does not use the Acorn DFS catalogue
format. It's likely that those that don't already have a *FREE
command in ROM anyway.
 
> I suppose
>   space = 0
>   FOR directory = 33 to 126
>       changedir(directory)
>       space = space + osgbpb(8)
>   NEXT
> would do but it's a drawn out process,
 
But when directory=ASC"a" it will read the files it read when
directory=ASC"A"... except on some DFSs it doesn't!
 
-- 
J.G.Harston - jgh@...                - mdfs.net/User/JGH
BBC BASIC for Windows and Internationalisation
  See http://mdfs.net/Software/BBCBasic/Windows/ProgTips


<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>