Service manual
Chapter 4 E01 Circuit description
FileStore Service Manual 23
OSWORD
The following OSWORD functions are supported (X/Y point to the data block):
A=l Read date/time from RTC chip.
A=2 Write date/time to RTC chip.
The date and time are in the file server format, which is:
byte 0: date in month
byte 1: years since 1981 / month (4 bits each)
byte 2: hours (24 hour clock)
byte 3: minutes
byte 4: seconds
A=3 Read timer interval.
A=4 Write timer interval.
The timer is a 5 byte value counting in 1/100 seconds, however as it is
driven from the RTC in increments in steps of 1 second. There are no
‗events‘ in the machine, the caller must poll the time regularly to see if an
interval expires.
A=5 Read non-volatile memory in RTC.
A=6 Write non-volatile memory in RTC.
One byte is transferred between the address at (X/Y)+4 and the RTC chip
address indicated by the bottom six bits of the byte at (X/Y). Note that the
first 14 locations are used by the RTC itself, and the remainder allocated as
follows for non-volatile use by the file server and print server:
14-15 station ID + ones complement
16-19 reserved for use by MOS
20-24 internal error logout area
25 MAXUSERS setting
26 MAXDRIVE setting
27-32 alternative POLLPS name for printer
Test routines are recommended to start from 63 downwards if they wish to
use the RTC storage.
A=16 Econet TRANSMIT – as BBC
A=17 Econet RECEIVE – as BBC
A maximum of one transmit block and eighteen receive blocks may be
active at a time.
A=19 Station information - function codes available are:
1 - write file server number
5 - write protection mask
A=114 Read/write block. Function codes available are:
&08 read block(s)
&0A write block(s)
&0D set drive parameters
&0F format drive