 | Amstrad CPC: Encyclopedia II - Amstrad CPC - Hardware description
Amstrad CPC - Hardware description
All CPC models were based on a Zilog Z80 processor clocked at 4 MHz. Because a common pool of RAM is shared with the video circuits, the Z80 may only make a memory accesses every four cycles - which has the effect of rounding all instruction cycle lengths up to the next multiple of four.
The system came with 64 KB or 128 KB of RAM depending on the model (capable of being expanded to 512k). The machines also featured a standard 9-pin Atari-style joystick socket which was able to take two joysticks via a splitter.
Amstrad CPC - Video graphics: modes outputs
Underlying the CPCs video output was the Motorola 6845 address generator. This chip was connected to a pixel generator that supported 4 bpp, 2 bpp and 1 bpp output (bpp = bits per pixel). The address generator was clocked at a constant rate so the 4 bpp display generated half as many pixels as the 2 bpp and a quarter as many as the 1 bpp.
The ROM featured three built-in display resolutions but many others could be achieved by reprogramming the 6845.
The standard video modes were:
- Mode 0: 160×200 pixels with 16 colors (4 bpp)
- Mode 1: 320×200 pixels with 4 colors (2 bpp)
- Mode 2: 640×200 pixels with 2 colors (1 bpp)
A colour palette of 27 colors was supported, derived from RGB colour space with each component assigned as either off, half on or on. The later Plus models extended this to 4096 colours and added support for hardware sprites.
This hardware compares well with the other 8-bit computers. In particular the CPC lacks the colour clash of the ZX Spectrum and clever programming of the 6845 could produce overscan, different resolutions (although with the same pixel density) and smooth pixel scrolling.
The machine lacked either an RF TV or composite video output and instead shipped with a proprietary 5-pin DIN connector intended for use solely with the supplied Amstrad monitor. An external adapter for RF TV was available to be bought separately.
The five-pin DIN connector is capable of driving a SCART television with a correctly wired lead.
Amstrad CPC - Audio sound
The CPC used the General Instruments AY-3-8912 sound chip, providing three channels, each configurable to generate square waves, white noise or both. A small array of hardware volume envelopes are available.
Output was provided in mono by a small (4 cm) built-in loudspeaker with volume control, driven by an unusually powerful amplifier. Stereo output was provided through a 3.5mm headphones jack, not present on some early CPC464 models. In those models, what looked like a standard 3.5" headphone jack was actually used for connecting an external tape recorder, although later models used a five-pin DIN connector for the same purpose.
Playback of digital sound samples at a resolution of a little better than 5-bit, as heard on the title screen of the game RoboCop, was possible through clever programming of the sound chip. This trick was very processor intensive and hard to combine with any other processing.
Amstrad CPC - The 3 floppy disk drives
Amstrad's idiosyncratic choice of Hitachi's 3" floppy disk drive, when the rest of the PC industry was moving to Sony's 3.5" format, is often claimed to be due to Amstrad bulk-buying a large consignment of 3" drive units in Asia. The discs were reversible; in the cheapest drive, a single-sided 40-track unit, the disk could be removed and re-inserted into the drive the other way up. As the discs were designed for this use, they sported 2 independent write-protect switches. The sides were termed "A" and "B" and each side held 180KB for a total of 360KB per disc.
Disks were shipped in a paper sleeve or a hard plastic case resembling a compact disc "jewel" case. The casing is thicker and more rigid than that of 3.5" diskettes and sliding metal cover to protect the media surface is internal to the casing and latched, unlike the simple external sliding cover of Sony's version (some reviews at the time reported driving over them with no problems). Because of this they were significantly more expensive than both 5.25" and 3.5" alternatives. This, combined with their low nominal capacities and their essentially proprietary nature, lead to the format being discontinued when the CPC itself was discontinued.
Apart from Amstrad's other 3" machines (the PCW and ZX Spectrum +3), the only other computer systems to use them were mostly obscure and exotic CP/M systems such as the Tatung Einstein and Osborne machines.
The data formatting of 3" disks reproduced that of 5¼" disks on a smaller scale, and the Amstrad CPC machines were able to use 5¼" drives through their "external drive" port - either one specially designed for use by the CPC or an adapted IBM-PC drive.
A more popular alternative was to attach an adapted IBM-PC 3½" drive for operation in either single-sided 180 KB or double-sided 360 KB mode, although with the later availability of the PARADOS Disc Operating System, 720k per disc became available.
Amstrad CPC - Serial port adaptor
An official RS-232-C D25 serial port adaptor was produced that attached to the expansion connector at the rear of the machine, and had a through-connector for the CPC464 disk drive or other peripherals. The adaptor came with a "Book of Spells" for facilitating data transfer between other systems using a proprietary protocol in the device's own ROM, as well as terminal software to connect to British Telecom's Prestel service. A separate version of the ROM was created for the U.S. market due to the use of the commands "SUCK" and "BLOW", which were considered unacceptable there.
Amstrad CPC - Similarities to the BBC Micro
The CPC has been termed an "improved Z80 implementation of the (earlier) BBC Micro" due to similarities in firmware and hardware. Both use the Motorola 6845 video address generator and the two have very similar sound output chips - the General Instrument AY-3-8912 in the CPC provides three tone channels each optionally with added noise and the Texas Instruments SN76489 in the BBC offers three tone channels and one exclusive noise channel.
The BBC Micro uses an Intel 8271 floppy disc controller. The CPC uses the Intel 8272, which is similar to the 8271 but contains the addition of a double density (MFM) mode.
The "two cursor" BASIC editing system seen on the Amstrad CPC (whereby holding Shift and using the cursor keys moves a shadow text cursor allowing text to be copied from another area of the screen to the normal cursor) is a lift from BBC BASIC, albeit substantially improved by allowing free movement of the normal cursor.
Both systems provide similar systems of full hardware abstraction through Operating System calls. This saves programs which don't require time critical hardware access from having to touch the underlying machine and provides a level of machine portability for those programs.
Other related archives1980s, 1984, 1990s, 3" Floppy disk drive, 8-bit, GX4000, Amstrad, Amstrad Action, Amstrad Computer User, Amstrad PCW, Asia, Atari, BASIC, BBC BASIC, BBC Micro, C, C64, CP/M, CP/M 2.2, CPC Attack, Centronics, Commodore 64, Computing With The Amstrad, D25, DIN connector, Dinamic Software, East Germany, Eastern bloc, Elite, General Instruments AY-3-8912, Hewson Consultants, Hitachi's, Incentive, Intel, KB, LOGO, List of Amstrad CPC games, Locomotive BASIC, MFM, MSX, Magazines, Microsoft BASIC, Motorola 6845, Multiface, OS, Ocean Software, Operating System, Osborne, PCM, PCW, POKE, Palace Software, Pascal, Prestel, RAM, RF TV, RGB, ROM, RS-232-C, SCART, SID, Sinclair, Sinclair QL, Sinclair Research, Sony, Stereo, Tape deck, Tatung Einstein, Texas Instruments SN76489, ZX Spectrum, Zilog Z80, amplifier, backward compatible, bank switching, bits per pixel, bpp, cartridge, cassette tape, cm, colour clash, compact disc, composite video, cursor, digital sound samples, fake, firmware, floppy disk drive, floppy drives, green screen, hardware sprites, headphones, home computer, home computers, interpreter, joystick, overscan, palette, percussion, pixel, protocol, relay, scrolling, software, sound chip, terminal, video game console
 Adapted from the Wikipedia article "Hardware description", under the G.N U Free Docmentation License. Please also see http://en.wikipedia.org/wiki |