Claims abound for computer hardware and software. The original designs — and, claims — for SINCLAIR’s QL, included the promised capability of a PEER/PEER NETWORK. Unfortunately, reality interferes with claims (design?) and a standard QL is a stand alone computer.
Make no mistake. NETWORKing is possible with several QLs via a FILE-SERVER/CLIENT NETWORK. This is made possible by the multi-TASKing capabilities of the Qdos operating system with the assistance of SuperTOOLKIT coding on each participating QL (both authored by Tony Tebby).
A simple FILE-SERVER/CLIENT NETWORK was demonstrated at the May CATUG meeting whereby Butch’s TRUMPed-up QL acted as the FILE-SERVER and Steve’s diskless 128K QL acting as the CLIENT (a SuperTOOLKIT EPROM was attached via the ROM port). Constraints of physical space precluded linking more QLs together; but, as many as 63 CLIENTs may be “serviced” by a single FILE-SERVER.
To implement the NETWORK the following commands were typed into each computer:
(BUTCH's QL) (STEVE's QL)
NET 1 <ENTER> NET 2 <ENTER>
FSERVE <ENTER> NFS_USE flp,
n1_flp1_,
n1_flp2_ <ENTER>
The computers were connected with a shielded cable having 1/8″ microphone jacks (included with the QL) via the NET ports located next to the POWER socket. If we had wanted to connect more QLs, we would have indicated a ‘NET number’ (eg., NET 3) for the CLIENT followed by the NFS_USE statement. We could have alternatively accessed Butch’s RAM disks, or microdrives (limited to a choice of two of any combination).
After establishing his QL as the FILE-SERVER, Butch loaded in a copy of XCHANGE which he had purchased at the CAT FEST. We LOADed a copy of QLSS from one of Butch’s disk into Steve’s QL.
LOADing via the network was slower than direct (dedicated) access to the disk drives. There are at least two reasons for this. First, communication is done at a rate of “only” 19,200 baud. And, secondly, the transmission is not continuous because the SERVER is periodically checking for “other” input. That is, the NETWORK is being multi-TASKed along with SuperBASIC and whatever else the user may have EXEC’d on the FILE-SERVER.
Multi-TASKing tends to slow effective program/TASK speed. In part, this is because each TASK is given a priority number between 0 (off) and 127 (maximum), with 32 being the “standard” priority given to either SuperBASIC or an EXEC_W’d program. It appears that background TASKs are suspended by the operating system. While the “server priority” appears to be ‘8’, the SERVER must constanty monitor the NETWORK for any communication from CLIENTs and allow access to its I/O storage devices. In effect, we “disabled” Butch’s QL while we were accessing his drives; and, “crippled” it for normal use.
NETWORKing on the QL clearly has some drawbacks. But it should be noted that this “crippling” effect occurs in all LOCAL AREA NETWORKs. In the non-SINCLAIR world, a single computer is dedicated to the TASK of acting as the FILE-SERVER (eg., a mainframe, a minicomputer, or 286/386). This should be taken as the model for QL NETWORKing, also, whereby a single QL acts as the FILE-SERVER, and more than one other QL act as the CLIENTs. This becomes a valid application when several computers wish to share a common source of data (i.e., from a hard-disk). Use of a NETWORK appears to be impractical for “home” applications.
The following SuperBASIC program may be used to assist in the implementation of CLIENT stations on a FILE-SERVER/CLIENT NETWORK:
10 WINDOW#0,448,52,40,204:PAPER #0,7:INK#0,0
20 WINDOW#1,512,256,0,0:WINDOW#2,448,226,40,30
30 CLS: PAPER 7: INK 0:INK#1,3:CSIZE 0,0
40 PRINT#0\,'[ ';VER$;' ROM ] ';\, FREE_MEM;' bytes'
50 CSIZE 2,1
60 INPUT,\\\\\\,"NETWORK STATION NUMBER: ";a$: NET a$
70 NFS_USE flp,n1_flp1_,n1_flp2_
80 CLS: INK 37:PRINT,\\\\\\,"NETWORK";: INK 0:PRINT " CLIENT STATION";: INK 2:PRINT" { ";:INK 0: PRINT a$;:INK 2:PRINT " }"
90 FOR n=0 TO (a$-1):BEEP 250,10:PAUSE 8:NEXT n
100 REMark ****** CLIENT (PLATYPUS Software 1988) ******
SAVE this program as either BOOT or CLIENT_BAS. If you have a hard-disk, then you may wish to change line 70 to read:
70 NFS_USE flp,n1_flp1_,n1_hdk1_ (?)
to access the hard-disk when a call to ‘flp2_’ is made by the CLIENT. Line 90 provides an audible confirmation of the station number. The program “terminates” with the active cursor in ‘window#0’. Either LOAD your regular boot when this appears, or add a line which reads:
95 LRUN flp1_ProgramName
where “ProgramName” is the name of the program you wish to LOAD at the given CLIENT station (substitute ‘EXEC_W’ for ‘LRUN’ as necessary).
It’s not a perfect system, and each participating QL requires SuperTOOLKIT coding. But, NETWORKing capability is there if the need ever arises.
HAPPY TRAILS, AND COMPUTING, TO YOU. . .
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.