jmce - 1_02

jmce.zilog.z80
Class INTZ80

java.lang.Object
  extended by jmce.sim.Interrupt
      extended by jmce.intel.i8080.INT
          extended by jmce.zilog.z80.INTZ80

public class INTZ80
extends INT

Manage the interrupt in Z80.

Support interrupt mode 1 compatible with intel 8080 and interrupt mode 2. The interrupt mode 0 is not supported

Since:
1.01
Version:
1.00
Author:
Mario Viara

Field Summary
 
Fields inherited from class jmce.sim.Interrupt
vector
 
Constructor Summary
INTZ80(Z80 z80, java.lang.String name)
          Standard constructor.
 
Method Summary
 int getVector()
          Return the interrupt vector.
 java.lang.String toString()
           
 
Methods inherited from class jmce.sim.Interrupt
addInterruptManager, checkReady, getCounter, getName, isActive, isAutoReset, isEnabled, isNmi, isReady, resetCounter, setActive, setAutoReset, setEnabled, setVector, startISR
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

INTZ80

public INTZ80(Z80 z80,
              java.lang.String name)
       throws SIMException
Standard constructor.

Throws:
SIMException
Method Detail

getVector

public final int getVector()
                    throws SIMException
Description copied from class: Interrupt
Return the interrupt vector. The interrupt vector is CPU depending and no assumtion is made from the emulation framework.

Overrides:
getVector in class Interrupt
Throws:
SIMException

toString

public java.lang.String toString()
Overrides:
toString in class Interrupt

jmce - 1_02