<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Sun, 08 Oct 2006 23:41:16
From   : "neil f" <faz@...>
Subject: Re: How to *SPOOL result of *INFO?

> -----Original Message-----
> From: Majordomo List Manager [mailto:majordomo@...]
> On Behalf Of David Hunt
> Sent: Sunday, October 08, 2006 8:13 PM
> To: bbc-micro@...
> Subject: RE: [BBC-Micro] Re: How to *SPOOL result of *INFO?
>
> > >   P%=&380:[CMP #3:BNE &385:RTS:JMP 0
> > >   !&386=!&20A:?&20A=&80:?&20B=3
> > >
> > > This intercepts all *FX3 calls and ignores them. Now doing
> > >   *SPOOL file
> > >   *INFO *.*
> > >   *SPOOL
> > > works as expected.
> > >
> >
> > Thanks for that, Jonathan.
> >
> > When I cut and past that code and run it as Basic I get a
> syntax error
> > for the second line. Ignoring the error and then doing a
*Spool etc
> > still produces an empty file. Where am I going wrong?
> > (I'm using DFS on a Master BTW.)
>
> There is an error in the code, it should read;
>
> P%=&380:[CMP #3:BNE &385:RTS:JMP 0]
> !&386=!&20A:?&20A=&80:?&20B=3
>
> Note the closing square bracket after the JMP 0
>
> It works fine on my Master 128 with DFS 2.24.
>
> Dave ;)

OK guys, the penny's dropped. I need to *BUILD it into a file
and *EXEC it when I need it.

Now works.

Thanks to all who helped.

-Neil F.


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.13.0/465 - Release Date:
06/10/06

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