<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Wed, 30 Aug 2006 12:28:44 +0100
From   : "Ian Wolstenholme" <BBCMailingList@...>
Subject: Re: *INFO

Curses, foiled again!

Of course you say things like "simple", "straightforward" etc. in an attempt
to appear knowledgeable and then when you go and look in the manual it's
about 5 times more complicated than the fudded mind remembers!

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.

So you have to read the disc size and then deduct the space taken up from
the files on the disc from this amount.  There are various ways of doing this,
I remembered a programme I wrote a couple of years back to give the same
output as 1770 *FREE on 8271 DFS, but having looked at it, it's a real bodge
although it works.

5 machines later (BBC DFS>>FileStore>>Master 512 ADFS 640K>>Acorn
A5000 DOS 720K>>PC) it's here:

http://www.BeebMaster.co.uk/Downloads/8271spl.txt

Hope it does the trick!

Best wishes,



Ian

----- Original Message -----
From: Tennant
To:  "'Ian Wolstenholme'" <BBCMailingList@...>
Sent:  Wed, 30 Aug 2006 10:04:17 +0100
Subject: RE: [BBC-Micro] *INFO


-----Original Message-----
From: Majordomo List Manager [mailto:majordomo@...] On Behalf Of
Ian Wolstenholme
Sent: 29 August 2006 15:59
To: bbc-micro@...
Subject: Re: [BBC-Micro] *INFO


> Otherwise reading the free space is a fairly straightforward OSWORD call
which could be knocked together in a few lines > of BASIC and then saved for
future reference.


I like the BASIC program idea, my dad has a home made menu system on each of
his disks that installs with Shift-BREAK. He cold easily include this as one
of the options in that menu. Any pointers on the required OSWORD command
(I've long since lost my BBC Advanced User Guide) and we have no reference
material for the Master!?

Tennant



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