ZX Format #06
29 июля 1997
  Железо  

Iron - A short story about the capabilities of the processor Z-180.

<b>Iron</b> - A short story about the capabilities of the processor Z-180.

            Z-180.

music by Jaan _______________________________



 The proposed description is not intended to
precision reference. This is a discussion ideologues Z80/Z180 
line with positive function of designing computers. 

 Probably the most convenient for the reader
will be a representation in the form of a comparison with the
all familiar Spectrum'ovskim Z80
and describe a number of differences that, in fact, define the 
line of the family. The architecture of any computer (including

Spectrum'a) is closely related to the structure and
ideology of the processor. Development of hardware on any 
platform is closely associated with the development of this 
ideology. Exceptions to the author unknown. Therefore I would 
like to discuss here is conceptual features CPU Z180 with 
respect to Z80. 

 A bit of history. (If you can not wait -
scroll down this passage Ed.) Company
Zilog was founded by former employees
Company Intel (this fact has resulted in
Later in the litigation). Conventional wisdom is that they just 
wanted money. However, we can assume that this is true, but not 
all. Do not want to spawn another myth, and the following 
should be considered as an attempt to Possible reconstruction 
of what happened.  I. People working in the inner sanctum 
corporation, ie, - Have a real Know-how and can thus influence 
the conceptual aspects of the designed processors are rarely 
hurt money.

- II. Takes an entire team of extra-class, with the intention 
to establish his own firm. For such a monumental task requires 
not only money and Know-how, but having our own concepts of 
development of processors, m-k, otherwise the competition can 
not either with Intel, either with Motorola. Luchsche to 
understand the situation, recall that Intel and Motorola 
produce processors that are used respectively, in the family of 
PC computers and Macintosh. Probably the concept of 
microprocessors Intel - highly specialized devices that have 
concentrated extreme performance (productivity, the amount of 
addressable memory ...) - - Proved to be unacceptable for this 
group. With this approach, the computing power

identified with memory and proizvoditelnstyu, ie - Purely 
technical characteristics, without regard to peripheral issues, 
architectural requirements, process complexity and create 
Software, the complexity of the user interface. 

 The concept of Zilog: Moderate speed and volume of addressable 
memory. Specific difference is the integration of on-chip core 
architecture, understood a few wider than the actual processor. 
This manifested already in the Z80: a mechanism to support

regeneration process in memory (the output RFSH),
automatic application of clock cycles waiting
loop input-output. Foremost, at the time, clocking a one CLOCK 
sequence. Enhanced system commands, approximating the assembler 
to high level languages. Block the I / O and transfer 
equivalent macros processors of other firms. In Z180 deepen 
these trends. 

 1. Changing the clock mechanism.
The prehistory of the problem - that says Horwitz: "For 
example, for microprocessor I8080 (prototype Z80, domestic 
analog - 580IK80) requires three power supply and two coming 
from outside the clock signal with a level of 12c and precisely 
seasoned delay between them. Arising in connection with the 
inconvenience of the plant worked with the microprocessor 8080 
Designers in such traps as the notorious "problem of ticks, 
which accompanied the MITS Altair 8800, and (initially produced 
amateur mini-computers) and arose in cases where stringent 
requirements for the two clock input of the microprocessor, do 
not met soon enough. Several companies (rather than one IBM) 
advertised in amateur magazines kits designed to address 
"Problem bars." In those days we were glad everything worked. 
However, the designer of our day demand (and gain) is 
incomparably greater ease of use of microprocessors. " 

 In Z180 timing problem is solved in
more broadly than just the
reliability and reproducibility of the technological circuit 
solutions. Adopted in the Z80 agreement on reference delay 
times from the front input (CLOCK) is replaced by an agreement 
measure the time of the output signal Processor F. That is, in 
fact, the whole system Spectrum is not external but internal

clocking - the entire system is clocked
CPU. This allowed us to throw out the inevitable cycles of time 
delays and significant squeeze machine cycle time. From the 
point of view designer's Spectrum - architecture, this means a 
complete rejection of traditional computer synchronization in 
whole. By the way, having a moderate speed (eg 14 Mhz) can be 
waived by buffering the tire and getting extremely simple, 
cheap and technological nodes on the bus, because tolerances 
for the "collapse" signals on the bus on time, even increase. 
(Although, proektiuya synchronization system, we have to count 
them.) 

 2. Changing the concept of the machine cycle.
Architecture Z180 is no longer rigidly set (as in Z80). A 
designer can programmatically through the system software, to 
change the architecture of the nucleus. If given that Z180, in 
essence, is an architecture, rather than actual processor (a 
concentrated processing power), we can talk about expanding the 
range of opportunities and reconfigurable. In practice, this is 
as follows: In the Z80 refresh cycle hard, "let into" the cycle 
of M1 (recovery package operations). In Z180 regeneration cycle 
exists independently at full machine cycle. Frequency of 
occurrence of such cycles can be varied within wide limits, or 
just cancel. This will unify all the cycles on the bus

duration. (So-called "inner loops"
do not require sharing the bus, duration equated to beat.) The 
Z180 has been supported the idea of ​​arbitrarily set the 
length of the signal IORQ. (In KAY256 TURBO It had to do with a 
special external circuits.) In the machine cycle there were 
additional signals - information and gating - they can be used, 
for example, to facilitate the sharing of RAM. 

 3. Extension mechanism of interruption.
Familiar to all Spectrum'istam group interrupt NMI / INT 
received priority levels 2-3. At level 1 nahoditsa so-called 
"TRAP" interrupt - interrupt incorrect code operation. This is 
exactly wherever will depart the program with

undocumented commands. Interrupt transfers control to 0-th 
vector. There is a special bit, allowing the processor to 
distinguish between "cold start" (at RESET) on the "hot" (for 
TRAP). Ie is the possibility of macro (which is equivalent to a 
macro of any reasonable size) "Blanks" aces programming 
Spectrum'a. There are still two feet, bearing obligations 
"bdit" (in addition to INT) - INT1 and INT2 (4-5). Ineetsya 
also has a 7-m pieces of interrupts that can request On-chip 
peripherals (timer, DMA, serial ports) with the lowest priority 
(6-12). 

 4. Expansion of the system commands.
Team SLP - spat.Protsessor falling asleep ...
MLT - multiplication of two eight-registers with the result in 
reg. pair: H * L -> result - in the HL. 17 cycles.

Three teams testing on the battery
 without destroying its contents.
Seven special teams to access internal devices Z180 (DMA, 
etc.). Teams expose 00h in the high byte address port.  A 
curious subtlety is that experts of firm Zilog vnutrichipnye

devices are called registers, but
Indeed - it's the same ports as corresponding cycles are 
identical. Therefore, if the program meets the traditional 
team, for whatever reason, that displays value to the port with 
zero high byte address, it risks falling into vnutrichipovye 
ports, the consequences of which are the most fun ...  For the 
programmer, these ports represent from a "bank" Long 40h, in 
the interval Long 100h. (8 th lowest bit addresses)

Bank can be placed in one of 4 places:


  00h

      0 Pre follows ustano0 3Fh vit current situation of the 
bank. 

  40h

      1 For RESET bank is put in "0"

  7Fh

  80h 5. Inland ports.

      2 They can be divided into
BFh a group of service (exchange with vnu1 C0h friction devices 
(half       3 algebra, DMA, and so on. ) And group

1 FFh architecture that define the configuration of the kernel 
and features vzaimodeistviya chip with the outside frame on the 
constructive hardware plan. There are registers that define the 
frequency timing, number WAIT'ov in IORQ, frequency

following regeneration. There is even a register, allowing 
changes to the logic of the bus and duration of the output 
edges of some signals. (Other than register a "double

appointment of "such a cell and can not be named). From the 
perspective of a programmer using such a register is very easy 
to make the program fail." authors, he conceived as a saving.


              ___


  The above information are basic
for a family of Z180. Further development -
- Z180-> Z181-> Z180 given rekurentno.
Ie take the Z180, add something - we Z181. Take the Z181 and 
something else add - have a Z182, etc. For service supplements 
used "emptiness" in the bank 40h. (The situation is similar to 
the undocumented commands - the company leaves itself a 
foundation for the future, not reflected in those. 
documentation, but the open craftsmen and once this groundwork 
to float its hosts, putting an end to creativity, "folk art".)


              ___

 Readers were first ZF questions
by TR-R'u. A reader from Pskov, has decided that (C) Nemo has 
invented a new processor. Unfortunately, this landmark 
accomplishment we can not do. We are talking about a 
commercially available off-chip firm Zilog. Some readers agreed 
that the TR-R no later What tomorrow will be released in 
rodazhu. This is also not so. Ability to implement this idea

directly linked to market development Spectrum. If it is 
possible to de-monopolize, to create an effective structure

(Clubs, network), make the market ringing
transparent - then it becomes possible.
Major efforts are now directed specifically
in this direction - otherwise
This architecture is just hanging in the air. I would like to 
wish the programmer only support the well-established and 
generally accepted architectural components - a ensures that 
the platform of sharahanya and dispersion of efforts and 
resources (and ask the stable development of the vector), which 
is already there are not many, it is also impossible

and it will be split. At the moment,
author's opinion, such architectural components of a Turbo-mode 
and 256Kb memory. Machines with less memory and speed (1.43 - 
equal to laggards) vypuskatsya no longer.


_______________________________




Other articles:

Today in the room - the contents of the magazine.

Authors - The authors of the journal ZX-Format No.6

From the authors - the long awaited event finally happened ...

Toys - The last iron (short story on the game 48 irons).

Toys - Many Adventures of Winnie the Pooh. Part Two.

Toys - the game description The Crypt (Castle Master 2).

Toys - description editor Adeventyur - PAW (Part 1).

Toys - description editor Adeventyur - PAW (Part 2).

Toys - description editor Adeventyur - PAW (Part 3).

Toys - description editor Adeventyur - PAW (part 4).

Toys - description editor Adeventyur - PAW (Part 5).

Programmers - Beta Basic: continued talking about BASIC (Part 2).

Programmers - General Sound: Programming Guide.

Programmers - MMD - the driver. Description of the structure of the modem driver for the terminal program MMD.

Programmers - AI on B. Mednonogova. A detailed description of the "wave of the algorithm" trace (automatic calculation of optimal) path, with an example implementation at Basic.

Programmers - Artificial Intelligence. Continuation of a series of articles about "AI". General basis for finding the way to goal.

Programmers - Tr-Dos for programmers. Max Petrov concludes his story about nontraditional methods of work with the disk.

Programmers - sharing experiences: "3-colour". Description of the effect of colors on 8-point ", help to the viewer, and how many words on the conversion of images in format "3-colour".

Programmers - sharing experiences: "3-colour". A few words about converting images in the format of RGB.

Programmers - the exchange of experience: programming Multicolor effects.

IS-DOS - users: how to personalize your system IS-DOS on a specific model of ZX Spectrum-compatible PC and to perform your tasks.

IS-DOS - users: how to copy the system disk IS-DOS and stay with the dead.

IS-DOS - the programmer: a short course - programming in IS-DOS.

IS-DOS - news: new software IS-DOS.

Iron - A short story about the capabilities of the processor Z-180.

Iron - Multiviewer. Description dorabotochki allowing to measure the speed of programs to curb without climbing in the codes - an easy push of a button.

Iron - A new project the firm Peters - "Sprinter". New Spectrum-compatible PC with a new generation of Speccy.

Iron - Opinions about skorpionovskom controller IDE HDD - SMUC.

Iron - SuperSpectrum: one project Spectrum-compatible machines. Its feature is compatible with the PC.

Iron - X-Trade FAQ. Answers to frequently asked questions on the GS and XTR-modem.

Premiere - Flash tracker. Description 4-channel editor of digital music, working with SoundDrive, from the author SoundDrive - Flash Inc.

Premiere - Description of the latest version of the universal terminal program used in SpbZxNet.

Premiere - Mortal Kombat: what awaits you in the full version of the game and some comments to the demo version.

Premiere - XReversy: presentation of a new toy from the popular family of "Solve puzzle - see the picture."

Interview - An interview with one of the most famous spektrumistov - Andrew Larchenko.

It was you - The story "Absolute Power".

It was you - The story "The Road".

It was you - Lord of the teeth: a parody of a popular trilogy ...

Mail - Contact us: an e-mail Alex'a from Nizhny Tagil, exhibited in the last room at the Corner of lamer. "

Mail - Letters from readers: Andrei Yakovlev, Denis Tokarchuk, Alex Garkulim, Alexander Gordeev, Evgenii Shumilov Nitochkin Vadim, Michael Larkin.

Mail - free advertising and announcements.

Miscellaneous - Scarecrow.: Nemo talks about the place of the PC and Spectrum in the modern Russia.

Miscellaneous - Review of Nemo in the book on digital circuitry. For anyone who has ever ever been tempted to turn on the soldering iron and ...

Miscellaneous - Questionnaire: Results of our poll spektrumistov.

Miscellaneous - Competition. A brief account of our contests.

Miscellaneous - The problems of the software market: when zagnetsya Spectrum. All over whether to blame hackers?

Miscellaneous - Outlook software. A brief overview of the forthcoming software: Fast Tracker, Pro Sound Creator, Black Crow.

Miscellaneous - Outlook software. Adventyura From Beyond or outside. "

Miscellaneous - A Memoir of the Peter modem network for ZX Spectrum - SPbZXNet.

Amiga Club - Between Us, by users: a comparison of characteristics of the Amiga 1200 with the IBM PC.

Amiga Club - compare the performance of Amigo and PC. As far as Amiga relevant in today's games?


Темы: Игры, Программное обеспечение, Пресса, Аппаратное обеспечение, Сеть, Демосцена, Люди, Программирование

Similar articles:
Ministry of Health - Ministry of Health warns: Smoking is hazardous to your health.
BBS-List - List Vicomm-compatible BBS.
Advertising - Advertising and announcements.
Coder - an overview of current data packer: MS-Pack, Mega LZ, ZX-ZIP, ASC LZ PACK.

В этот день...   21 November