<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Tue, 18 Apr 2006 19:39:02 +0100
From   : "Ian Wolstenholme" <BBCMailingList@...>
Subject: Re: CPFS and MOVE

The problem with *OPT 7 was presumably because I wasn't
in CPFS when I tried it.  I've just done *CPFS and then *OPT 7,0
and the command was accepted and *MOVE now works correctly.

Best wishes,


Ian

----- Original Message -----
From: Andrew Benham
To:  Ian Wolstenholme <BBCMailingList@...>
Cc:   bbc-micro@...
Sent:  Mon, 17 Apr 2006 22:48:59 +0100
Subject: Re: [BBC-Micro] CPFS and MOVE

Ian Wolstenholme wrote:

> I just tried again, even with:
> 
> *CPFS
> *MOVE -ADFS-DOSBOOT  DOSBOOT
> 
> still gave "Record then return".

I've just tried this (albeit with a different filename) and
it's worked OK. MOS 3.50.

 From your previous post, you say it's when *MOVE attempts to write to
write to CPFS that the problem appears.  Presumably the MOS thinks that
the current filing system is TAPE rather than CPFS ??  Does CPFS think
that its filing system number is 1 or 2 ?  Easiest way to tell seems to
be to call OSARGS with A=Y=0.

 > I remember reading about setting the filing system number last time
 > I had the manual to hand but *OPT 7 is giving Bad command at the
 > moment.

Ah, something is wrong then!


I've just done a *OPT7,1, done a break, and duplicated your
problem exactly.
So I think you need to do *CPFS followed by *OPT 7,0 (or *OPT 7,5).
*OPT 7 will only work (I presume) if CPFS is the current filing system.


> I wish I'd known about *TRANSFER earlier, that could have been the
> answer.  It took me an hour and a half this morning to transfer a 37K
> file from PC to BBC! 

Presumably this time is largely latency, rather than throughput ?

-- 
Andrew Benham         adsb@...       
Southgate, London N14, United Kingdom

The gates in my computer are AND OR and NOT, not "Bill"


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