<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Thu, 20 Aug 2009 22:57:25 +0100
From   : jgh@... (Jonathan Graham Harston)
Subject: MDFS at September Show

Ian Stocks wrote:
> Jonathan Graham Harston wrote:
> > I've just added it to SoftMDFS. Will probably need some on-site
> > testing, though ;)
> 
> That will be interesting to try. Is the code on-line to give it a try
> before the show?
 
http://mdfs.net/Apps/Networking/FServers
 
> So how does it work, on reciept of a *Save/Load command does the server
 
NetFS_Op(0,"LOAD filename")
    returns &02,&00000000,&00,leafname
NetFS_Op(0,"LOAD filename loadaddr")
    returns &02,&loadaddr,&FF,leafname
NetFS_Op(0,"SAVE filename startaddr endaddr")
NetFS_Op(0,"SAVE filename startaddr +length")
    returns &01,&startaddr,&startaddr,&length,leafname
NetFS_Op(0,"SAVE filename startaddr endaddr execaddr")
NetFS_Op(0,"SAVE filename startaddr +length execaddr")
    returns &01,&startaddr,&execaddr,&length,leafname
 
...which the client then just passes on to the code that OSFILE calls.
 
The NetFS_Op interface does not support the "SAVE ... reload" syntax.
 
-- 
J.G.Harston - jgh@...                - mdfs.net/User/JGH
Youth has now fled. Their best years have been passed in the service
of the party. They are ageing and their ideals have also passed,
dispersed by the contrarities of daily struggles.
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>