Sinclair QL
| Sinclair QL (Quantum Leap), 1984 | |
| Specifications | |
|---|---|
| Manufacturer | Sinclair Research Ltd; built by Thorn EMI Datatech (UK) and Samsung (export models) |
| Type | Personal computer |
| Released | 12 January 1984 (announced); first deliveries April 1984[1] |
| Discontinued | 1986[1] |
| Intro price | £399 (1984)[2] |
| CPU | Motorola 68008 at 7.5 MHz |
| Memory | 128 KB RAM (officially expandable to 640 KB) |
| Storage | Two built-in Microdrive tape-loop cartridge drives |
| Display | 512×256 (4 colours) or 256×256 (8 colours plus flash) |
| Sound | Single-channel, generated by the 8049 IPC |
| Dimensions | 472 × 138 × 46 mm[1] |
| Weight | 1.388 kg (Thorn EMI Datatech-built machines)[1] |
| OS / Firmware | QDOS with SuperBASIC in 48 KB ROM |
| Predecessor | Sinclair ZX Spectrum |
| Codename | ZX83 |
| Model no. | Build standards D02–D18, S13, SG18 |
The Sinclair QL (for Quantum Leap) is a personal computer that Sinclair Research Ltd announced on 12 January 1984 as an upper-end counterpart to the ZX Spectrum, aimed at serious home users, professionals and small businesses.[2] It was Sinclair's last desktop machine for that market and did not achieve commercial success.[2]
The QL is built around a Motorola 68008, a member of the 68000 family with 32-bit internal registers and an 8-bit external data bus, and runs QDOS, a pre-emptive multitasking operating system, with the SuperBASIC interpreter as its command line.[2] The electronics were designed by David Karlin and the case by Rick Dickinson, who had styled the ZX81 and ZX Spectrum.[2]
Launch and reception
[edit | edit source]The QL was announced before it was ready to build. At the launch there was no complete working prototype, yet Sinclair took orders immediately and promised delivery within 28 days. The first customer machines were not shipped until the end of April 1984, which drew criticism and the attention of the Advertising Standards Authority.[2][1]
Early production machines shipped with preliminary firmware that had many bugs, and part of the operating system had to be carried on an external 16 KB ROM cartridge, known as the "kludge" or "dongle", that hung out of the back of the machine. The design was then revised to hold 48 KB of ROM internally instead of the 32 KB originally specified.[2]
BYTE reviewed the machine in September 1984 and called it a "premature baby". It criticised the incomplete operating system, the "dead and unresponsive" keyboard, the fragile Microdrive tapes and SuperBASIC's slow execution, and approved of the bundled Psion applications.[3]
UK production was suspended in 1985 for lack of demand, and the QL was discontinued after Amstrad acquired Sinclair's computer products in April 1986.[2] Urs König's survey of serial numbers counts at least 121,821 Datatech-built machines, 4,861 Samsung-built US machines and 9,800 Samsung-built German machines, about 140,000 in all across some 20 build standards and at least 16 board issues;[4] his summary page gives about 150,000.[1]
Linus Torvalds owned a QL, and has said that the lack of software for it in Finland got him used to writing his own, a habit that fed into his later work on the Linux kernel.[2]
Architecture
[edit | edit source]
The machine is built from the 68008 plus three support devices:[2][5]
| Device | Position | Function |
|---|---|---|
| Motorola 68008 | IC18 | CPU at 7.5 MHz; 32-bit internal registers, 8-bit external data bus |
| ZX8301 "Master Chip" | IC22 | Video display generator and DRAM refresh; made by Plessey (CLA2310, later CLA2345) |
| ZX8302 "Peripheral Chip" | IC23 | Microdrives, RS-232 transmit, QLAN network, real-time clock, link to the IPC; made by NCR |
| Intel 8049 IPC | IC24 | Keyboard and joystick scanning, RS-232 receive and sound; licensed 8049 with custom Sinclair firmware, made by Philips or NEC, clocked from an 11 MHz crystal (X4) |
| HAL16L8 | IC38 | Address decode; added at Issue 6, replacing IC17 and IC27 |
The ZX8301 divides the 15 MHz master crystal (X1) by two and distributes the resulting 7.5 MHz clock around the board and to the expansion connector.[5] Samsung-built US machines use a 15.10489 MHz crystal and a small daughter board to give NTSC timing.[4] Because the ZX8301 takes memory cycles to fetch the display, and the 68008's data bus is only 8 bits wide, the QL runs well below what its clock speed suggests.[2]
The 8049 was a late addition: the ZX8302 was originally intended to absorb its functions.[2]
Memory and firmware
[edit | edit source]The QL has 128 KB of RAM as standard, officially expandable to 640 KB and in practice to 896 KB with third-party hardware.[2] QDOS and SuperBASIC are held in 48 KB of ROM.[2]
At least 13 ROM releases exist. The version can be read on a running machine with PRINT VER$:[4]
| VER$ | QDOS | Notes |
|---|---|---|
| FB, FB.2 | 1.0x | Earliest; EPROM only, used with the external "kludge" cartridge |
| PM | 1.02 | EPROM, with the external cartridge |
| AH | 1.02 | Earliest version seen in masked ROM |
| JM | 1.03 | UK build standards D07 and D10 to D14 |
| JS | 1.10 | UK build standards D15 to D18 |
| JSU | 1.10 | Samsung-built US machines |
| MGx | 1G13 | Samsung-built German machines |
Community-developed replacements followed, including Minerva, a rewritten QDOS that also supports the second frame buffer, and later Tony Tebby's SMSQ/E.[2]
Video
[edit | edit source]The ZX8301 reads a 32 KB frame buffer in main RAM and generates five signals (red, green, blue, composite sync CSYNCL and vertical sync VSYNCH), which are routed to the 8-pin DIN monitor socket J7. The same RGB and sync signals also feed IC28, an MC1377P that produces composite PAL for the internal UHF modulator M1, and are mixed in transistor TR9 to give a composite monochrome output.[5]
Two display modes are available:[2][6]
- Mode 4: 512 × 256 pixels in four colours (black, red, green, white).
- Mode 8: 256 × 256 pixels in eight colours with per-pixel flashing.
The hardware can switch between two frame buffers for double buffering, but the original firmware does not use it; Minerva does.[2]
The QL outputs 312 lines at 50.08 Hz with a 15.62 kHz line frequency. Mode 4's 85-column display overscans the TV-safe area by about 24 pixels on each side, so Mode 4 needs a monitor to be seen in full.[6] At power-on the machine asks the user to press F1 (monitor, Mode 4) or F2 (television, Mode 8).[6][5]
Ports and connectors
[edit | edit source]
| Ref | Connector | Purpose |
|---|---|---|
| J1 | 64-way Viking Eurocard | Main expansion bus |
| J2 | 30-way edge connector | ROM cartridge slot |
| J3, J4 | BT 603A LH (type 630W) | Joystick / control ports CTL1, CTL2 |
| J5, J6 | BT 603A RH (type 631W) | Serial ports SER1, SER2 (RS-232C) |
| J7 | 8-pin DIN | RGB monitor output |
| J8 | 3-pin socket | Power input from the external supply |
| J9, J10 | 3.5 mm jack, single pole | QLAN network |
| J11, J12 | 9-way and 11-way flex | Keyboard membrane tails |
Connector data is from the Service Manual parts list.[5] Samsung-built machines for the US and German markets replace the BT-style serial and joystick connectors with DE-9 sockets.[2][4]
Power supply
[edit | edit source]The QL is powered by an external power pack that supplies 9 V DC at 2 A and 44 V peak-to-peak AC to the board.[5] The pack uses a thyristor to limit peak voltages on the DC output but is otherwise unregulated and has significant ripple.[5] Urs König gives the pack's rating as 9 V DC at 1.8 A and 15.6 V AC at 0.2 A.[1] The Service Manual's own test table expects 15.6 V AC ± 2.0 V at the ±12 V regulator input, so a meter on its AC range should read about 15.6 V, not 44 V.[5]
The supply enters at the 3-pin socket J8. Section 8.1 of the Service Manual calls this connector J3, but the manual's parts list gives J3 and J4 to the joystick ports and J8 to the 3-pin mains socket.[5]
On the board, the AC feed is rectified and regulated by IC37 (78L12) and IC36 (79L12) to give +12 V at 80 mA and −12 V at 50 mA. The DC feed is regulated to +5 V by IC35, a 7805 on the heatsink assembly beside the Microdrives. All three regulators have thermal and short-circuit shutdown.[5]
Microdrives
[edit | edit source]
The QL has two built-in Microdrives in place of floppy drives. They use the continuous-loop tape cartridge first introduced for the ZX Spectrum in 1983, with a different logical format.[2] Formatting writes 512-byte sectors and their headers round the loop, and a cartridge rarely holds much more than about 230 sectors.[7]
Microdrive reliability was one of the QL's worst problems at launch. It improved with later production, particularly the Samsung-built machines, and with aftermarket work by firms such as Adman Services and TF Services, but too late to undo the reputation.[2] Microdrive cartridges were also the only distribution medium available to QL software publishers, and cost over six times as much to produce as a compact cassette, which discouraged support for the platform.[2]
Servicing information is on the separate Sinclair QL Microdrive Troubleshooting Guide.
Build standards and board issues
[edit | edit source]Machines carry a build standard and serial number on a label on the underside, in the form Dxx-yyyyyy (Datatech) or S*xx-yyyyyy (Samsung).[4]
- D: (Thorn EMI) Datatech, the UK manufacturer. Build standards D02 to D18.
- S13: Samsung, North American market, based on build standard D14.
- SG18: Samsung, German market, based on build standard D17.
UK boards ran through issues ZX-83 ISS.2, ISS.4, ISS.5, ISS.6 and ISS.7; Samsung boards are numbered US3 through US6.[4] The largest change is at Issue 6 (autumn 1984, build standard D14), which introduced the HAL at IC38, removed IC17 and IC27, added resistors R102–R104 and replaced the trimmer TC1 with a fixed 22 pF capacitor C53.[5][4]
Samsung machines have the inside of the case silver-coated and other changes for FCC and VDE compliance, including capacitors added piggyback on some chips and diodes fitted piggyback on the ZX8301's RGB output pins.[4]
Circuit diagrams and PCB
[edit | edit source]| Main board | Circuit diagram (Issue 5) |
|---|---|
| Circuit diagram (Issue 6) | PCB component layout (Issue 5) |
| PCB component layout (Issue 6) | Power supply pinout |
Documentation
[edit | edit source]The Sinclair QL Service Manual (issue 3, October 1985) covers the system description, disassembly, the system test, fault diagnosis, Sinclair's mandatory modifications, Microdrive fault finding and complete parts lists for the Issue 5 and Issue 6 boards.[5]
Software
[edit | edit source]QDOS was primarily designed by Tony Tebby, with SuperBASIC written by Jan Jones.[2] The machine was bundled with a Psion office suite: Quill (word processor), Abacus (spreadsheet), Archive (database) and Easel (business graphics).[3] Only around 70 games were released for the QL, against more than 4,700 for the ZX Spectrum, which was one reason Spectrum owners saw little reason to upgrade.[2]
Related machines
[edit | edit source]The QL's CPU, ZX8301 and ZX8302 chips and Microdrives are the basis of the ICL One Per Desk, also sold as the British Telecom Merlin Tonto and the Telecom Australia Computerphone.[2] After Amstrad dropped the QL, CST produced the Thor range of compatibles, and Miracle Systems sold the Gold Card and Super Gold Card processor and memory upgrades.[2]
General maintenance
[edit | edit source]Cleaning, the keyboard membrane, the power pack and the heatsink are covered in the Sinclair QL Maintenance Guide.
Troubleshooting
[edit | edit source]The Service Manual's fault-diagnosis section reads the power-up screen to locate the failing area (a blank screen, a geometric pattern, or a white or green screen after the RAM test) and gives supply test-point voltages and a symptom table.[5] See the Sinclair QL Troubleshooting Guide.
Capacitor replacement
[edit | edit source]Sinclair published a component-level parts list for the Issue 5 and Issue 6 boards, with each capacitor's designator and value; it does not cover the other UK issues or the Samsung boards. See the Sinclair QL Capacitor Replacement Guide.
See also
[edit | edit source]- Sinclair QL Microdrive Troubleshooting Guide
- Sinclair ZX Spectrum, the 8-bit machine the QL was intended to sit above
- Sinclair ZX81
References
[edit | edit source]- ↑ 1.0 1.1 1.2 1.3 1.4 1.5 1.6 König, Urs. "QL, what? Never heard of the QL...", sinclairql.net. Source for the announcement and delivery dates, last production run, production estimate, dimensions, weight and power-pack rating.
- ↑ 2.00 2.01 2.02 2.03 2.04 2.05 2.06 2.07 2.08 2.09 2.10 2.11 2.12 2.13 2.14 2.15 2.16 2.17 2.18 2.19 2.20 2.21 2.22 2.23 2.24 "Sinclair QL", Wikipedia.
- ↑ 3.0 3.1 Pountain, Dick. "The Sinclair QL", BYTE, September 1984, pp. 415–419.
- ↑ 4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 König, Urs. "Sinclair QL Build Standards", sinclairql.net. Source for build standards, serial-number ranges, PCB issues, chipset variants, ROM versions and production figures.
- ↑ 5.00 5.01 5.02 5.03 5.04 5.05 5.06 5.07 5.08 5.09 5.10 5.11 5.12 Sinclair QL Service Manual (File:Sinclair QL Service Manual.pdf), Sinclair Research Ltd, prepared by Thorn (EMI) Datatech, issue 3, October 1985. Section 1 (System Description), Section 4 (Fault Diagnosis and Repair) and Section 5 (Parts Lists).
- ↑ 6.0 6.1 6.2 "Sinclair QL", Classic Console Upscaler Wiki. Source for the video timing figures, display-mode table and the RGB connector pinout with series-resistor values.
- ↑ Fröschle, Tobias. Microdrives – The Inner Workings, QL Forum; in the Sinclair QL Homepage archive on the Internet Archive.