Actions

Z80

From Sega Retro

Revision as of 11:13, 28 December 2012 by Andlabs (talk | contribs) (Notable Uses)
Zilog Z80 chip
The Zilog Z80 is an 8-bit microprocessor designed and manufactured by Zilog from 1976 onwards. It was widely used both in desktop and embedded computer designs, and is one of the most popular CPUs of all time. Although Zilog made several attempts to move off the Z80 onto more powerful 16-bit (Zilog Z800, Zilog Z8000) and 32-bit (Zilog Z80000) platforms, other companies were offering CPUs in this performance range years earlier, and the Zilog chips never caught on.

History

The Z80 came about when Federico Faggin left Intel after working on the 8080, and by July 1976 Zilog had the Z80 on the market. It was designed to be binary compatible with the Intel 8080 so that most 8080 code could run unmodified on it, notably the CP/M operating system.

The Z80 offered five real improvements over the 8080:

  • an enhanced instruction set including the new indexing registers IX/IY and instructions for them, many new bit-manipulating and shifting operations, and enhanced capabilities for processing interrupts;
  • two instances of each of the 16-bit registers AF (accumulator+flags), BC, DE, and HL, which could be quickly switched between to speed up response to interrupts or other context-switching;
  • a limited ability for SIMD (Single Instruction, Multiple Data) with instructions for to perform copy, compare, input, and output over contiguous blocks of memory;
  • a built-in DRAM refresh address counter that would otherwise have to be provided by external circuitry;
  • a much lower price.

The Z80 quickly took over from the 8080 in the market, and became the most popular 8-bit CPU of all time - indeed, if one takes the absolute size of the market into account, the most successful CPU ever. Later versions increased in speed from the early models' 1 MHz up to as much as 20 MHz.

Perhaps key to the success of the Z80 was the built-in DRAM controller and memory refresh register (R), which allowed systems to be built with fewer support chips. Competitor MOS Technology, Inc, maker of the famous 6502 processor, later included this very useful feature in its second generation color video chip VIC-II.

Notable Uses

  • As a sound coprocessor in many, many arcade game systems, including many of Sega's 1985-1993 boards.
  • Sega Master System and Game Gear.
  • Neo Geo Pocket and Neo Geo Pocket Color.
  • Both the SNK Neo Geo and Sega Mega Drive video games consoles use it as an audio coprocessor.
  • Sega's SG-1000 uses the NEC 780C, a binary-compatible clone of the Z80.
  • Nintendo's Game Boy and Game Boy Color handheld game systems used a Z80 clone (GB-Z80) manufactured by Sharp Corporation, which had a markedly different instruction set and differences in the complement of registers but shared many of the same opcodes (in terms of both hexadecimal data and written mnemonics). The Sharp Z80 in the Game Boy Color is notable for its ability to selectively double its clock speed when running Game Boy Color software.
  • The lower-end Texas Instruments set of graphic calculators use Z80 as a central processor, while more advanced models use the Motorola 68000 as their CPU.

External links