<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Fri, 02 Apr 2010 14:09:50 GMT
From   : jgh@... (J.G.Harston)
Subject: Four Beebs, One Monitor

Mark Usher wrote:
> > As an aside, does anybody know if there there anything funny with
> > OSWORD &14 calls on Model Bs with 8271 DFS & NFS?  I thnk it's a call
> > to fetch the time.
> 
> Yes, it is the read time from CMOS on the Master MOS.

No, that's OSWORD 14. Rob was asking about OSWORD &14.

Presumably, you're trying to call NetFS_Op 16 (OSWORD &14,0,16),
see http://mdfs.net/blib/Docs/NetFS.txt

All NetFS_Op calls are callable regardless of what filing system is
selected, but all of them assume some of the shared workspace has
NFS data in it.

Specifically:
* the current fileserver station number at &E00/1 must be correct.
* for calls that require the context, the context at &E02-4 must be
  correct.

So, to read the time&date with NetFS_Op 16, &E00/1 must be correct.
If dropping PAGE to claim extra memory, you shouldn't go below
&F00, or below &1000 if you want to preserve NetFS filing system
access (or select another filing system, which will copy &E00-&FFF
to the private workspace, overwriting your program).

-- 
J.G.Harston - jgh@...                - mdfs.net/User/JGH
Always appeal to a man's enlightened self interest, you can trust
him to look out for himself honestly. It's when you appeal to his
honour or the Common Good that he stops paying attention.
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>