<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Sat, 07 Oct 2006 08:28:34
From   : Sprow <info@...>
Subject: Re: How to *SPOOL result of *INFO?

In article <E9323E2020224130A7BF037CE4500009.MAI@...>,
   Ian Wolstenholme <BBCMailingList@...> wrote:
> It seems like DFS is unable to put output into an open file at the
> same time as it's being asked to do some other disc-read operation. I
> don't think there's any way around this bug, unless Acorn happened
> to solve it in the DFS release for MOS 3.50.

It's not a bug, it's deliberate. If you intercept OSByte vector you can see
it changing the *FX3 value before each output.

For example
 *SPOOL TEST
 *HELP.
 *SPOOL
you should find the help from the other ROMs in the machine are saved to the
file but the help from DFS isn't.

Given the fixed maximum number of files on a DFS disc, you could just
collect the output of *INFO into an array then save it later. A few lines of
assembler required,
Sprow.
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>