<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Thu, 31 Aug 2006 10:07:06 +0100
From   : "Tennant" <tennant@...>
Subject: Re: *INFO

I've long since lost my EPROM burner. Is it still possible to buy burners
(possibly ones to burn EPROMs for the BEEB from a PC) and blank EPROMs?

Tennant  

-----Original Message-----
From: Majordomo List Manager [mailto:majordomo@...] On Behalf Of
Sprow
Sent: 30 August 2006 21:56
To: bbc-micro@...
Subject: Re: [BBC-Micro] *INFO

In article <299785CCFBFB4E70A2765D7679C783DE.MAI@...>,
   Ian Wolstenholme <BBCMailingList@...> wrote:
> > Curses, foiled again!

[snip]

> > There is a simple OSWORD call to read the free space, but it's an 
> > ADFS call and there is no corresponding call available to DFS.

[snip]

> 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.

The problem there is that you'd need to know the names of all the files
first. If you use OSGBPB (A=8) you can get the files in the current
directory, but then you don't know which directories are present.

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,
Sprow.
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>