Al Feng is treasurer of the Chicago TSUG (CATSUG) and an expert programmer of the Sinclair QL. Al takes time out from his writing for “Nightime News”, the CATSUG Newsletter, to give us information on three interesting subjects.
Most Sinclair QL users in North America are already aware that the Operating System (OS) in their computer is called QDOS (i.e., QL Disk Operating System). This may seem as a bit of a misnomer since the QL comes with microdrives for storage; and, all disk drive interfaces are third party! In fact, QDOS allows (i.e., “forces”) you to select the device being addressed by the user (e.g., ‘mdv1_’, ‘flp1_’, ‘ram1_’, ‘win1_’). Clearly, either Sinclair Research Ltd. or Tony Tebby realized that Uncle Clive’s microdrives may NOT be the ultimate storage device.
For those who are not overly familiar with the inner workings of their QLs, the difference between “British” and “North American” QLs involves more than BT (British Telephone) connectors vs. “D” connectors. In addition to evolution in the PCB (Printed Circuit Board) layout (i.e., the hardware), various versions of the QDOS were released (i.e., the firmware).
Not knowing which QDOS version you are running is generally not a handicap or inconvience. For practical purposes, a QL with an ‘AH’ ROM will run the QUILL word processor as well as one with an ‘MG’ ROM. The transparent difference is predominantly in the ERROR handling (i.e., the user usually doesn’t see it).
To find out what version QDOS your QL is running (all QLs made by SAMSUNG ELECTRONICS COMPANY Ltd. in Korea have ‘JSU’ ROMs) type:
PRINT VER$ <ENTER>
There are only a couple of reasons to know what QDOS ROM code your QL has. The primary one is to satisfy your curiousity. The second is if you are running some programs (e.g., compilers which depend on EXTENSIONS to QDOS). Often times, a “patch” is included to compensate for incompatibilities in the earlier code, so the versions still doesn’t matter!
Okay, what do those designations mean? Does the ‘AH’ designation mean that they think they finally got it to a satisfactory point [“AHhhh”]? Does the ‘MG’ designation refer to the Morris Garage vehicles? Who can say for sure except the person/people who chose the designations! After all, the “GW” in ‘GW-BASIC’ stands for “GEE WHIZ” (No kidding!).
A half dozen years ago, I asked my brother (an IBM PC user) why PC-DOS (the IBM “specific” version of MS-DOS) had to be LOADed via software rather than being a permanent part of the system (that is, as firmware on a ROM or EPROM). In fact, I asked a lot of “almost stupid” questions back then. To make a long story short, he replied that the Disk Operating System (DOS) was loaded as software so they (Microsoft, in this case) could implement any subsequent changes to the code more easily.
At the time, the idea of changing the code didn’t makes sense. After all, why re-write code if it was written correctly the first time! Okay, my computer experience was limited at the time, and I was a bit naive about programming; but, I know someone who thinks that the ABACUS Spread Sheet programmers should have been able to write the program in about 10K (yes, ‘ten’)!
Among the “almost stupid” questions I asked was with regard to the differences (if any) between DOS 2.0 and DOS 2.1. But, I digress. Very simply, a change in the integer represents a “major” change to the code, while “minor” changes are represented by variances in the decimal or hundredths place. In theory, higher numbers indicate improved code (as with ERROR trapping). Latter versions generally have “improved” code (i.e., more ERROR trapping).
If you will make the allowance for a comparison between the exceedingly crude DOS 1.0 for the INTEL 8088/8086 chip series [e.g., CLS (CLear Screen) was not included] and the very earliest QLs which had a “dongle” (as the Brits apparently refer to it) on the backside of the QL then from my reckoning and recollection there are rough analogues which one can make between MS-DOS (Microsoft DOS) and QDOS.
Sinclair Research Ltd. (or, Tony Tebby) chose to use an alphabetic system for labelling. Just as there were various MS-DOS versions, so there are various QDOS versions. For example, we may compare:
--[ QDOS ]-- --[ MS-DOS / PC-DOS ]--
AH 2.1
JS 3.30
MGUK 4.00
QDOS is resident in the QL when the computer is powered on because the code is contained on two socketed ROM chips. Several years ago, Tom Bent designed a small PCB which utilized a 27C512 EPROM which could substitute for the two ROM chips (see QUANTUM LEVELS 1:6 for schematic). A big plus to Tom Bent’s design is that it lets your QL run cooler.
The ‘J’ series is probably the most predominant. The ‘JM’ & ‘JS’ are the two most prevalent versions still being sold in the UK. The ‘JSU’ ROM is the same as the ‘JS’ ROM with the exception of the size of the video scan when in TV mode. The ‘JSU’ ROM accomodates the lower resolution of NTSC televisions than the British PAL televisions generate (512×212 vs. 512×256).
Since the TV-mode on all the “British” ROMs generate a screen having the same dimension as the monitor display, the apparent difference is that initializing with ‘F2’ should allow generation of eight colors rather than four [unfortunately, I forgot to verify this when I had temporary access to an RGB monitor].
Programs can “sense” which mode the computer is in by PEEKing address 163890. In monitor-mode, the value returned will be ‘0’. On all “British” ROMs in TV-mode the value returned should be ‘1’. On the ‘JSU’ ROM and the “rogue” ‘MGSJ’ ROM, PEEKing this address when in TV-mode should return a value of ‘2’.
Just as there are improvements to Microsoft’s DOS version 4.nn, so too are there improvements to the ‘M’ series ROM. Unfortunately, the price of improvement may be incompatibility with code which is LBYTEd/LRESPRed. The conflict / compatibility varies with the code. For example, early (all?) versions of 4MATTER will not run on a QL having an ‘MGUK’ ROM. Code which is “automatically” initialized on a ‘J’ series ROM (such as SPEEDSCREEN RAM code) must be further beckoned with the ‘M’ series ROM code.
It has been reported that Digital Precision’s IBM emulator would not run on a QL having ‘MG’ code. Details are not complete; and, I suspect he may have the ‘MGSJ’ code as I have personally seen THE SOLUTION running on an ‘MGUK’ ROM. (Ed note: My MGUK ROM QL (installed by Tom Bent) runs both Solutions and PC Conqueror) In theory, the ‘MGSJ’ code incorporates the NTSC television screen scan with the rest of the ‘MG’ code. This may or may not be a consideration.
Those of you familiar with MS-DOS will find a comparison between the ‘MGUK’ ROM and DOS 4.00 appropriate. It seems that enough nuisances were unintentionally written into the ‘MG’ code that it probably makes the more familiar ‘J’ series the code of choice (my opinion).
Just as “other” DOS exists for IBM compatible computers (e.g., WENDLIN-DOS), there are “proven” alternatives to QDOS. The first of these is ‘ARGOS’ code which is used by CST (defunct Cambridge Systems Technology) on their THOR computers [DANSOFT is marketing the THOR, but reports suggest that they are NOT shipping]. The second is ‘MINERVA’ by QVIEW.
‘ARGOS’ is apparently QDOS which has been tweaked to support the THOR’s hardware. It may NOT be hardware compatible with the QL.
Unlike ‘ARGOS’, ‘MINERVA’ code was apparently reverse-engineered to accomplish the same functions as the QDOS code. The resulting code is supposed to be superior in speed, particularly in the screen handling routines. As of mid-March, ‘MINERVA’ is only available directly from QVIEW (in England).
If you’re thinking of replacing your QDOS ROM code, I recommend that you consider waiting for ‘MINERVA’ code to become available. If you can’t wait, then opt for the ‘JS’ code; after all, ‘JSU’ code is available on your “spare” QL when don’t have a monitor.
HAPPY TRAILS, AND COMPUTING, TO YOU! Al Feng.
Ed Notes: Al touched upon the main difference in design of QDOS and MS-DOS, which is: QDOS is permanent in ROM while each MS-DOS utility must be “loaded from disk to RAM” to operate. There are advantages to both methods. Al mentioned the advantage of MS-DOS being that it can be changed easily by recording another DOS version on floppy disk. The advantage of QDOS being in ROM is that its functions are “already in memory” and thus is faster (given the same clock speed and efficiency of operation). I have often wondered why some smart designer hasn’t made use of “EEPROM” to store a DOS. ELECTICALLY ERASABLE PROMs have the ability to be written to by the computer (about 3 million times for each memory address). That should be sufficient for as many DOS version re-writes as needed, wouldn’t you think?
Ed Grey Enterprises
Ed Grey Enterprises, PO Box 2188, Englewood, CA 90305 was to send in an advertisement of his wares. I’m sure that Ed will kick himself in the britches when he realizes that he missed the boat. Instead of using one of his old ads, I’ll just make some comments. Ed Grey carries a whole line of TS-2068 support items and runs a West Coast USA BBS called “The Grey Matter”. His Telephone number for ordering software and hardware support items is 213-759-7406. The BBS telephone is: (213-971-6260). This BBS is one of the most informative and the most used by Sinclair Timex users. If you want to talk to an enthusiastic Sinclair Timex person, call Ed. If you want to find out what goes on in Sinclair Timex Computing, Call the BBS (with your computer).
This UPDATE Issue: And Others Ahead:
The problem with this issue was the DECISIONS about what to include! The articles were selected from about two issues worth of excellent material given freely by your fellow Sinclair Timex users. Your thanks should go to the authors, not to yours truly.
There several other excellent articles about the QL and TS-2068 that are awaiting space in the magazine. They aren’t “culls”, but are of a length that just couldn’t be included in this issue.
FRANK DAVIS, your new publisher will need this same outstanding support from the writers in order to continue the depth of coverage that has been a tradition with Update Magazine. I feel sure that all of our outstanding writers will continue to support the users through the pages of Update.
RE-SUBSCRIBE NOW!
You have ONE more issue of your subscription coming (July). Frank Davis, the new publisher, needs to build his 1991 subscriber list and needs to have as many early subscribers as possible for his planning. Please send your $18.00 subscription renewal to:
FRANK DAVIS, PO BOX 1095, PERU, IN 46970.