Date : Wed, 06 Sep 2006 14:10:35 +0100
From : "Ian Wolstenholme" <BBCMailingList@...>
Subject: Re: Tube File Copying
With very grateful thanks to Chris Johns I am now successfully
running Level 4 v.1.30 on the A5000. This is much more reliable
and doesn't inexplicably crash.
However I still get a timeout problem on the Master after a "chunk"
has been saved across Econet. My routine uses OSGBPB to
read part of the file into the buffer and then *SAVEs the buffer.
Obviously this takes a few minutes to send all the data via
Econet to the A5000 but the drive activity light on the A5000
stays on and when it goes out, control returns to the Master
with 1MB or 2MB files. However, trying to save anything bigger
than that (I thought I had successfully saved a 4MB file yesterday
but today is another day!) results in the No reply error.
Is there any cause for this? Presumably the file server has
various housekeeping bits to do after saving a file like updating
the free space map, user free space etc. and maybe this takes
longer the bigger the file is. Other than that, I can't see any
reason for this.
Best wishes,
Ian
----- Original Message -----
From: jgh@... (Jonathan Graham Harston)
To: bbc-micro@...
Sent: 06 Sep 2006 00:38:24 +0100
Subject: [BBC-Micro] Re: Tube File Copying
>Message-ID: <5105FE70A4F7406300112D50D01FCEB1.MAI@...>
"Ian Wolstenholme" <BBCMailingList@...> wrote:
> So far so good...except that as soon as you trap an error
> with ON ERROR, the programme counter forgets where you
> are and what loops you are in, so once the problem is
> solved and it retries, you start getting "No FOR", "Not in
> a REPEAT...UNTIL loop", "Not in a procedure" errors all
> over the place!
TreeCopy deals with this, as well as the ten-item REPEAT stack by
reorganising the structures slightly. If you email me your code, I
can do the modification for you, probably the easiest way of
explaining it :)
--
J.G.Harston - jgh@... - mdfs.net/User/JGH
Taxation is like dairy farming. You have to extract the maximum amount of
milk with the minimum amount of moo.