Changes

CPC old generation

133 bytes added, 17:10, 12 October 2009
Spelling and grammar
[[Image:Schneider 664 en.jpg|thumb|German CPC 664]]
''The following text was copied in parts part from the [http://en.wikipedia.org/wiki/Amstrad_CPC english English Wikipedia article].''
==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 access once 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 576k). The machines also featured a standard 9-pin Atari-style joystick socket which was able to take two joysticks via a splitter.
===Video (graphics): modes, outputs===
Underlying the CPCs CPC's 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 (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 colours (4 bpp)*'''Mode 1''': '''320×200''' pixels with 4 colors colours (2 bpp)*'''Mode 2''': '''640×200''' pixels with 2 colors colours (1 bpp)*'''Mode 3''': '''160x200''' pixels with 4 colors colours (2bpp2 bpp) (this is not an official mode, but rather a side-effect of the hardware)
A colour palette of 27 colors colours 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 a 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 SCART lead.
===Audio (sound)===
The CPC used the General Instrument 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 headphone 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'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 cheapest drive (built-in in later models) was a single-sided 40-track unit that required the user to physically remove and flip the disk to access both sides. Each side had its own independent write-protect switch. The sides were termed "A" and "B", with each one holding 180KB (178KB in AMSDOS format) for a total of 360KB per disc.
The disk drive interface with the drives was a NEC 765 FDC, used for the same purpose in the IBM PC/XT, PC/AT and PS/2 machines. Many of its features were unused in order to cut costs, namely DMA transfers and support for single density disks; they . Disks were formatted as double density using Modified frequency modulationFrequency Modulation.
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 the 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 the 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" machine , the PCW , and the ZX Spectrum +3 (produced by Sinclair), the only other computer systems to use them were the Sega SF-7000 and mostly obscure and exotic CP/M systems such as the Tatung Einstein and Osborne machines, it . It should be noted that some of these machines used drives with different pinouts and care should be taken when replacing drives.
The data formatting of 3" disks was very similar to that of 5¼" disks, 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.(It was possible to patch CP/M Plus so that it recognised 80 track double sided disk formats, too.)
===Serial port adaptor===
===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 used 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 provided three tone channels each optionally with added noise and the Texas Instruments SN76489 in the BBC offers offered three tone channels and one exclusive noise channel.
The BBC Micro uses used an Intel 8271 floppy disc controller. The CPC uses used 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 was a lift from BBC BASIC, albeit substantially improved by allowing free movement of the normal cursor.
Both systems provide provided 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.
It exists a to the graphic and sound capabilities adapted version of BBC BASIC for the CPC.???
==Software==
===Other languages===
Although it was possible to obtain compilers for Locomotive BASIC, BCPL, C, Forth, and Pascal the majority of the CPC's software was written in native Z80a Z80 assembly language.
An interpreter for the educational language LOGO was also available.
==Included What was in deliverythe box?==
=== CPC464 ===
* The computer itself, incl. including built-in [[Datacorder]]
* [[Demostration tape or disc|Demonstration tape]] in local language (UK, Germany, France, Spain)
* [[User Manual]]
=== CPC664 ===
* The computer itself, incl. including built-in 3" disk drive
* [[System Disk]]: CP/M 2.2 disk with demo in local language (UK, Germany, France, Spain)
* [[User Manual]]
=== CPC6128 ===
* The computer itself, incl. including built-in 3" disk drive
* [[System Disk]]s with CP/M Plus, CP/M 2.2 and a demo in local language (UK, Germany, France, Spain)
* [[User Manual]]
19
edits