<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Thu, 25 Jun 2009 01:03:33 +0100
From   : jgh@... (Jonathan Graham Harston)
Subject: *INFO (etc) on a Master

"Mark Haysman" wrote:
> *INFO (and other commands I know, but let's take one as an example) is built
 
*INFO calls FSC with A=10, XY=>filename. *EX is A=9, *RUN from
library is A=11, *RENAME is A=12.
 
If you're writing your own filing system you should implement
*INFO, etc, by setting XY to point to the filename then hand it on
to FSC to deal with[1]. FSC should the do the appropriate actions.
 
People have spent a lot of time putting this information into the
BeebWiki at http://beebwiki.jonripley.com/
 
____________________
[1]
eg:
.ex  :LDA #9:BNE PassToFSC
.info:LDA #10:BNE PassToFSC
.librun:LDA #11:BNE PassToFSC
.rename:LDA #12
.PassToFSC
JSR F2toXY :\ Convert (&F2),Y to XY
JMP (FSCV) :\ Hand on to FSC
 
-- 
J.G.Harston - jgh@...                - mdfs.net/User/JGH
In 1939 $50 of groceries would fill three station wagons. Today I
can lift $50 of groceries with one hand. I must have got stronger.
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>