ZX Hard #00
31 августа 1998
  Железо  

Interrupts Spectrum'e - scheme for IM2 interrupts.

<b>Interrupts Spectrum'e</b> - scheme for IM2 interrupts.
        Interruption in Spectrum'e


(C) VTS'98


I'm here somewhere (sorry, can not remember) read
resentment of the fact that the Spectrum has only
one level of privilege to interrupt ... But excuse me, but what 
IM2? After all, with Use it to organize have 7

priority levels (excluding normal
polukadrovogo INT'a)! So even with a
pleasing to the organization of priorities, because
Mounting plate is programmed into the RAM!

Those who have no manual for the Z80, explain.

1.Intovaya plate shall begin on
address with ml.baytom = # 01. As always, the low byte of the 
address processing procedure of interruption - at the lowest 
address. Length of the table - 256 (B) -> 128 addresses. 

2. When you receive interrupts (input INT /
Nemo-bus) processor takes its (programmnodostupny) I register 
as a high byte, and the fact that he had received over the data 
bus (after issuing a signal INTA / = IORQ / OR M1 /) as a 
junior, and upon receipt of the address read from the interrupt 
handler address labels. 

! Attention! D0 must be free,
(Therefore = 1) to uniquely identify the address of the 
transition. 

At first glance, this gives 128 possible
requests without priority.
On the second - 7 requests with priority.


IORQ / a INTA / LP8, AP6, etc.

  M1 / m / s or OK

                          Z-state.

                    oEO /

                     -
      IRQ1 /> D1



      IRQ2 / D2

        . . . .

        . . >. .


      IRQ7 / D7



REM> not shown the formation of INT'a (QA elements or diodes):


         LP9

IRQ1 / |> INT / IRQ1 / |  IRQ2 / | <

. . . . . .


On the plate. For example, take the IRQ1, IRQ2
and IRQ3. All the rest - are inactive, ie
set to 1. Register I = # 80.

hex
....
80f1
80f2 processing IRQ3 + IRQ1 + IRQ2

80f3
80f4 processing IRQ3 + IRQ2

80f5
80f6 processing IRQ3 + IRQ1

80f7
80f8 processing IRQ3

80f9 processing IRQ1 + IRQ2
80fa

80fb processing IRQ2
80fc

80fd processing IRQ1
80fe

80ff processing INT 50Hz with the lowest
8100 priority.
....

In addition, to determine if polukadrovogo INT'a with other 
IRQ, unfortunately, not possible (and necessary?). 

Hopefully, no more questions?.

PS: And if they need the most interruptions :-)? Vaughn has 
much every peripheral on the Spectrum - and nobody come in 
handy ;-). So it should not succumb corrupting Western 
influence and to continue use their original and unique 
solutions [:-) M 


11.08.98 16:37 msk is-dos





Other articles:

Introduction - Introduction: the purpose of the newspaper - to help Interregional Association zhelezyachnikov.

Krasnodar Hard Corp - a group of Krasnodar zhelezyachnikov.

Iron - a beginner: Lessons from soldering.

Tips Wizard - how to Handle pechatnoy board and its components.

Measurements - a very useful shemka for testing printed circuit boards.

Subtleties poll Kempston Rats - a glitch Kepston Mouse.

Interrupts Spectrum'e - scheme for IM2 interrupts.

subtleties of working with IORQGE / - what kind of signal and what it all eaten.

ZX + Dendy - a return to the printed.

Awori - the authors of the newspaper.


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

Similar articles:
the sounds of "PI" - Jokes about demostsenerov: Ppisnilsya once Diver'u stpashny dream: Fil and Gas-13 with tpanspapantom "STOP CONVERTING!" And pposnulsya Diver in the cold sweat, and learn from those pop pisovat everything myself ... "
Toy Review - An overview of new gaming software: NINJA SPIRIT
Rants & Raves - How to get on the train with forged tickets.
Entry - the contents of rooms.

В этот день...   2 May