<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Mon, 04 Sep 2006 01:30:33 +0100
From   : jgh@... (Jonathan Graham Harston)
Subject: Re: *INFO

>Message-ID: <4e5eeb63c3info@...>
 
Sprow <info@...> wrote:
> Gah - you're right, if only you could do
>  *INFO *.*
> into a buffer and interrogate it,
 
And the drain-dead DFS disables SPOOL output from any filing
system call so you can't even spool *INFO *.* to a file. Gahh! I
ensured HADFS was able to spool file info output without it even
occuring to me not doing so.
 
How about redirecting WRCHV:
 
addr=&A8
.catch
STY tmp
LDY #0:STA (addr),Y
INC addr:BNE P%+4:INC addr+1
LDY tmp:RTS
.tmp
EQUB 0
 
oldwrch=!wrchv AND&FFFF
!wrchv=(!wrchv AND-65536)ORcatch
!addr=buffer%
*INFO *.*
!wrchv=(!wrchv AND-65536)ORoldwrch
 
 
 
> Sprow.
 
-- 
J.G.Harston - jgh@...                - mdfs.net/User/JGH
BBC BASIC for the Sinclair Spectrum - http://mdfs.net/Software/Spectrum
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>