Nascom (computer kit)

The Nascom 1 and 2 were single-board computer kits issued in the United Kingdom in 1977 and 1979, respectively, based on the Zilog Z80 and including a keyboard and video interface, a serial port that could be used to store data on a tape cassette using the Kansas City standard, and two 8-bit parallel ports. At that time, including a full keyboard and video display interface was uncommon, as most microcomputer kits were then delivered with only a hexadecimal keypad and seven-segment display. To minimize cost, the buyer had to assemble a Nascom by hand-soldering about 3,000 joints on the single circuit board.

The original Nascom 1 was designed by Chris Shelton. Shelton’s design work was outlined in a series of articles published between November 1977 and January 1979 by Wireless World magazine.

Documentation 
The Nascom 1 and Nascom 2 were supplied with full documentation including circuit schematics, construction guide, datasheets for some components and assembly listing for the ROM monitor. An annotated disassembly listing of the Nascom 2 Microsoft ROM BASIC was published and the code was subsequently re-purposed in retrocomputing projects such as Grant Searle's Multicomp and Spencer Owen's RC2014. The source code can now be found on Github.

Hardware
The Nascom 1 and Nascom 2 hardware designs had these features in common:

 A 16MHz crystal biased into oscillation and then divided down to create the clocks for the CPU, the serial communications and the video interface
 A Z80/Z80A CPU
 A Z80/Z80A PIO
 A Harris 6402 UART (or equivalent) that could be used either to communicate with a serial device (e.g. RS232 terminal or printer) or to save and load data using a domestic compact cassette recorder.
 A memory-mapped video display and a UHF video modulator capable of driving a domestic TV
 Circuitry decoded on IO port 0 to control a software-scanned keyboard, to drive a LED ("DRIVE") and to generate a timed non-maskable interrupt (NMI) that was used to provide a hardware single-step capabiity
 An LED ("HALT") on the Z80-CPU "/HALT" output, to provide a visual indication that the CPU was halted.

The I/O address map was common between the Nascom 1 and Nascom 2 designs, and the memory address map of the Nascom 2 was a superset of the Nascom 1 memory address map; this allowed a high degree of software compatibility  between the two machines.

The Nascom 1 was implemented entirely using off-the-shelf integrated-circuits and other electronic components. The Nascom 2 used 4, 16-pin  bipolar PROMs which acted as glue logic for decode functions ("N2MD" for memory decode, "N2IO" for I/O decode, "N2V" for video decode and N2DB" for data bus buffer control).

The Nascom 2 had these additional features that were not present on the Nascom 1:

 Power-on reset with timing control to reset the CPU without interrupting the periodic refresh cycles produced by the Z80
 Gating to reset the Z80-PIO (the Z80-PIO has no dedicated reset input)
 A reset-jump circuit that allowed the Z80-CPU to start execution from any 4-Kbyte boundary after reset (the Z80-CPU usually fetches from address 0 after reset). This allowed, for example, control to be passed straight to the BASIC interpreter after reset.
 Microsoft BASIC in an 8Kbyte ROM.
 Two groups of 4 uncommitted 24-pin DIL sockets. Each group could be configured to accommodate 1Kx8 ROM or RAM devices and decoded at a start address of 0x1000, 0x2000, 0xB000, 0xC000 or 0xD000. 
 A 24-pin DIL socket that could accommodate a second character-generator ROM
 Full buffering of the CPU address, data and control to generate the "NAS-BUS" expansion bus.

The I/O address map was decoded as follows:

On an unexpanded system, these 8 ports were repeated through the whole of the I/O address space. On an expanded system, the bus signal /NASIO allowed control of the I/O address space.

The memory address map was decoded as follows:

Keyboard 
The keyboard used Licon keys in a matrix arrangement which was scanned under software control. The Nascom 1 had 47 keys. The Nascom 2 had 10 additional keys (GRAPH, which toggled bit 7, CTRL, a second SHIFT key, 4 cursor direction keys, LF/CH and  keys for [ and ]).

Video Display
The display of the Nascom 1 and 2 was memory-mapped and consisted of 16 rows of 48 characters. Each row of characters used 64 consecutive memory locations; the extra 16 characters in each line were "hidden" by the video blanking circuitry.

Scrolling was implemented under software control. Due to an idiosyncrasy of the video memory decoding on the Nascom 1 (which was then retained on the Nascom 2), the lines were decoded discontiguously, with the top line of the display being the 16th region of memory. The top line was not scrolled, except by the NASCOM CP/M implementation.

The Nascom 1 used a MCM6576P character generator to display 128 characters (bit 7 of the memory was ignored). The Nascom 2 used an identical character set but implemented it in a ROM that was footprint compatible with a 2716 2Kbyte device. The Nascom 2 allowed a second character generator ROM (or EPROM) to be fitted (approximate price £20 in 1980) . The so-called NAS-GRA ROM was used to display characters with the byte codes 0x80--0xFF. The built-in Microsoft BASIC (8K ROM) interpreter could use these graphics to create a crude, blocky 96×48 graphics display.

The design of the video display required that the CPU and the video circuitry shared access to the video RAM (the CPU had read/write access and the video circuitry had read-only access). If the CPU and the video circuitry accesses the video RAM simultaneously, the CPU was given priority and the video circuitry would read incorrect data. On the Nascom 1 this gave rise to white flicker on the screen that was termed "snow". The International Nascom Microcomputer Club (INMC) published a "snow plough" design that reduced the effect by blanking the video when simultaneous access occurred. The Nascom 2 used a slightly different design but still allowed contention to occur, this time giving rise to black flicker (blanking) on the screen.

Software
Initially, software was made available either on cassette tape or programmed into one or more EPROMs (usually 1kbyte 2708 devices).

The predecessor of Borland's very successful Turbo Pascal compiler and integrated development environment (IDE) for CP/M and DOS was developed by Anders Hejlsberg of Blue Label Software for the Nascom 2, under the name Blue Label Software Pascal, or BLS Pascal.

In 1979 the Nascom 2 came with an onboard ROM with early Microsoft Basic 8k interpreter. The manual was a Brown Padded loose leaf ring binder.

Expansion
Nascom defined an expansion bus, named NAS-BUS, allowing many other cards to be added to the Nascom. The Nascom 1 required a buffer board to generate the NAS-BUS; the buffer board was connected to a 43-way (42-way plus polarising slot) 0.1" pitch tinned edge connector on its PCB. The Nascom 2 generated the NAS-BUS directly on an 80-way (79-way plus polarising slot) 0.1" pitch gold-plated edge connector on its PCB.

NAS-BUS was initially proprietary but quickly superseded by the 80-bus. The standard size for these cards was 8"x8" in order to fit in a "standard" 8" rack. However, some boards were produced in other sizes. Other manufacturers (including Gemini and MAP80 Systems) produced their own 80-bus CPU boards, which allowed an entire non-Nascom system to be built. Gemini 80-bus systems were, for a while, used as an industrial process controller. British Cellophane used several to continuously monitor thickness gauges attached to plastic sheet production lines. An 80-bus compatible network card enabled both Nascoms and Geminis to be used in office environments.

Miscellaneous
In the early 1980s, the name of the town of Kenilworth was used by one of the first generation of computer retailers, a company called Kenilworth Computers based near the Clock Tower, when it released a version of the Nascom microcomputer with the selling point that it was robust enough to be used by agriculture.

References

External links
Dedicated user group
Nascom homepage, with software and documentation
Nascom Nostalgia
Nascom / Gemini / 80 Bus (Mirror), large archive of material
Working Nascoms in the UK

Category:Early microcomputers
Category:Z80-based home computers
Category:Home computers