uk.co.javagear
Class InterruptLine

java.lang.Object
  extended by uk.co.javagear.InterruptLine

public final class InterruptLine
extends java.lang.Object

Virtual Z80 interrupt line.

Version:
6th March 2002
Author:
Copyright (C) 2002 Chris White
See Also:
"JavaGear Final Project Report"

Field Summary
private  boolean line
          Status of interrupt line.
 
Constructor Summary
InterruptLine()
          InterruptLine constructor.
 
Method Summary
 boolean getLine()
          Gets the status of the interrupt line.
 void setLine(boolean b)
          Set the interrupt line.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

line

private boolean line
Status of interrupt line.

Constructor Detail

InterruptLine

public InterruptLine()
InterruptLine constructor. Line status defaults to false.

Method Detail

setLine

public void setLine(boolean b)
Set the interrupt line.

Parameters:
b - true asserts the line. false clears the line.

getLine

public boolean getLine()
Gets the status of the interrupt line.

Returns:
if true the line is asserted, otherwise the line is clear.


Copyright © 2007 JavaGear. All Rights Reserved.