Klasse SerialIECDevice

java.lang.Object
libsidplay.components.iec.SerialIECDevice
Bekannte direkte Unterklassen:
MPS803

public abstract class SerialIECDevice extends Object
  • Felddetails

    • IECBUS_DEVICE_READ_DATA

      protected static final int IECBUS_DEVICE_READ_DATA
      Siehe auch:
    • IECBUS_DEVICE_READ_CLK

      protected static final int IECBUS_DEVICE_READ_CLK
      Siehe auch:
    • IECBUS_DEVICE_READ_ATN

      protected static final int IECBUS_DEVICE_READ_ATN
      Siehe auch:
    • IECBUS_DEVICE_WRITE_CLK

      protected static final int IECBUS_DEVICE_WRITE_CLK
      Siehe auch:
    • IECBUS_DEVICE_WRITE_DATA

      protected static final int IECBUS_DEVICE_WRITE_DATA
      Siehe auch:
    • P_PRE0

      protected static final int P_PRE0
      Siehe auch:
    • P_PRE1

      protected static final int P_PRE1
      Siehe auch:
    • P_PRE2

      protected static final int P_PRE2
      Siehe auch:
    • P_READY

      protected static final int P_READY
      Siehe auch:
    • P_EOI

      protected static final int P_EOI
      Siehe auch:
    • P_EOIw

      protected static final int P_EOIw
      Siehe auch:
    • P_BIT0

      protected static final int P_BIT0
      Siehe auch:
    • P_BIT0w

      protected static final int P_BIT0w
      Siehe auch:
    • P_BIT1

      protected static final int P_BIT1
      Siehe auch:
    • P_BIT1w

      protected static final int P_BIT1w
      Siehe auch:
    • P_BIT2

      protected static final int P_BIT2
      Siehe auch:
    • P_BIT2w

      protected static final int P_BIT2w
      Siehe auch:
    • P_BIT3

      protected static final int P_BIT3
      Siehe auch:
    • P_BIT3w

      protected static final int P_BIT3w
      Siehe auch:
    • P_BIT4

      protected static final int P_BIT4
      Siehe auch:
    • P_BIT4w

      protected static final int P_BIT4w
      Siehe auch:
    • P_BIT5

      protected static final int P_BIT5
      Siehe auch:
    • P_BIT5w

      protected static final int P_BIT5w
      Siehe auch:
    • P_BIT6

      protected static final int P_BIT6
      Siehe auch:
    • P_BIT6w

      protected static final int P_BIT6w
      Siehe auch:
    • P_BIT7

      protected static final int P_BIT7
      Siehe auch:
    • P_BIT7w

      protected static final int P_BIT7w
      Siehe auch:
    • P_DONE0

      protected static final int P_DONE0
      Siehe auch:
    • P_DONE1

      protected static final int P_DONE1
      Siehe auch:
    • P_FRAMEERR0

      protected static final int P_FRAMEERR0
      Siehe auch:
    • P_FRAMEERR1

      protected static final int P_FRAMEERR1
      Siehe auch:
    • P_TALKING

      protected static final int P_TALKING
      Siehe auch:
    • P_LISTENING

      protected static final int P_LISTENING
      Siehe auch:
    • P_ATN

      protected static final int P_ATN
      Siehe auch:
    • enabled

      protected boolean enabled
    • byt

      protected byte byt
    • state

      protected byte state
    • flags

      protected byte flags
    • primary

      protected byte primary
    • secondary

      protected byte secondary
    • secondaryPrev

      protected byte secondaryPrev
    • st

      protected byte[] st
    • timeout

      protected long timeout
    • serialIECDeviceSt

      private byte serialIECDeviceSt
    • serialIECDeviceCyclesPerUs

      private double serialIECDeviceCyclesPerUs
    • iecBus

      private final IECBus iecBus
    • prnr

      protected int prnr
      Device number.
  • Konstruktordetails

    • SerialIECDevice

      public SerialIECDevice(IECBus bus)
  • Methodendetails

    • reset

      public void reset()
    • setDeviceEnable

      protected void setDeviceEnable(boolean enable)
    • getID

      public int getID()
    • setClock

      public void setClock(CPUClock cpuFreq)
    • clock

      public void clock()
    • usToCycles

      private long usToCycles(double us)
      Convert microseconds to cycles
      Parameter:
      us - number of microseconds
      Gibt zurück:
      cycle count
    • open

      public abstract void open(int device, byte secondary)
    • close

      public abstract void close(int device, byte secondary)
    • listenTalk

      public abstract void listenTalk(int device, byte secondary)
    • unlisten

      public abstract void unlisten(int device, byte secondary)
    • untalk

      public abstract void untalk(int device, byte secondary)
    • read

      public abstract byte read(int device, byte secondary)
    • write

      public abstract void write(int device, byte secondary, byte data)
    • getStatus

      public abstract byte getStatus()
    • clk

      public abstract long clk()