Sega 32X Handbuch Seite 31

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 102
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 30
31
Points to be aware of concerning interrput
Ex. 1. 32X has VRESINT, VINT, HINT, CMDINT and PWMINT, but among
these, only CMDINT has points which differ from other INT. Interrupt is enabled
by the Interrupt Mask Regsiter (2000 4000h) within the SH2 system register, INT
occurs, and when INT is masked by the Interrupt Mask Register within the system
register before that INT is received, the following will happen :
a. VRES INT, VINT, HINT, PWMINT : INT continues to occur unitl each
INT is cleared
b. CMDINT : INT is negated. But when CMDINT is enabled after CMDINT
is not received, CMDINT is again asserted.
In short, when all INT occur before they are masked, the INT conditions will
continue to be saved as long as that INT is not cleared. But when Interrupt is
amsked only for CMDINT, INT will temporarily disappear. Still, because
CMDINT information will be saved as long as it is not cleard, INT will again
occur if CMDINT is enabled.
Ex. 2. HEN (HINT authorization bit during V Blank) inside the interrupt mask
register of SH2 is common in both Master and Slave. The HINT occurrence
interval is affected by this HEN bit.
The value set in the H Count register is enabled, as the next H Blank occurs, after
being loaded in the internal counter when H Blank is negated. Alos, the internal
counter generates HINT as a result of the count, but when H Blank is negated the
H Count register value is reloaded. Therefore, when the H Count register is set
when H Blank does not occur (becaus it is not loaded in the internal counter until
the next H Blank occurrs), HINT may occur according to the value prior to setting
the H Count.
Ex. 1. When H Count register = 0, 1 is set in the H Count register during H Bank.
When HEN = 0, HINT occurs within the second H Blank after the existinf H Blank
is negated.
Ex. 2. H Count register = 0 and H Count is set to 1 when H Blank does not occur.
When HEN = 0, HINT occurs during the next H Blank. HINT occurs during the
2nd H Blank after the H Blank is negated because the H Count register setting
(value) is loaded in the internal counter when this H Blank is negated.
Seitenansicht 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 101 102

Kommentare zu diesen Handbüchern

Keine Kommentare