Date : Sun, 08 Oct 2006 19:49:39
From : Jon Ripley <jon@...>
Subject: Re: How to *SPOOL result of *INFO?
neil f wrote:
> Jonathan Graham Harston wrote:
>> DFS surrounds all disk operation displays with *FX3,16/*FX3,oldval
>> The following code fixes this:
>>
>> 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.
>
> 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.)
The posted code was optimised for immediate mode, to instead use it in a
program you need to correctly terminate the assembly code, thusly:
P%=&380:[CMP #3:BNE &385:RTS:JMP 0:]
!&386=!&20A:?&20A=&80:?&20B=3
Ignoring the error probably didn't help either.
Regards,
Jon
--
http://jonripley.com/