jmce - 1_02

jmce.nec
Class PD765

java.lang.Object
  extended by jmce.sim.AbstractHardware
      extended by jmce.sim.AbstractPeripheral
          extended by jmce.sim.disk.AbstractDiskController
              extended by jmce.nec.PD765
All Implemented Interfaces:
PD765Constants, DiskController, Hardware, Peripheral

public class PD765
extends AbstractDiskController
implements PD765Constants

NEC 765 A / B Floppy disk controller


Field Summary
 
Fields inherited from class jmce.sim.disk.AbstractDiskController
disk, drive, nullDisk
 
Fields inherited from class jmce.sim.AbstractPeripheral
cpu
 
Fields inherited from interface jmce.nec.PD765Constants
CMD_RECALIBRATE, CMD_SIS, DATA, MSR, MSR_BUSY, MSR_BUSY_DRIVE0, MSR_BUSY_DRIVE1, MSR_BUSY_DRIVE2, MSR_BUSY_DRIVE3, MSR_DIO, MSR_EXM, MSR_READY, ST0_EC, ST0_HA, ST0_IC_AC, ST0_IC_AT, ST0_IC_IC, ST0_IC_NT, ST0_NR, ST0_S0, ST0_S1, ST0_SE
 
Constructor Summary
PD765()
           
 
Method Summary
 void cmdRecalibrate()
           
 int getBase()
          Return the base port of this instance
 int readMemory(Memory m, int a, int v)
           
 int sendByte()
           
 int sendResult()
           
 void setBase(int base)
          Set the base port for this instance.
 void setReset(boolean mode)
           
 void writeMemory(Memory m, int address, int v, int oldValue)
           
 
Methods inherited from class jmce.sim.disk.AbstractDiskController
addDirDiskCPM, addDirDiskIBM3740, addImageDisk, addImageDiskIBM3740, addNullDisk, getDisk, getDiskCount, getDrive, setDrive
 
Methods inherited from class jmce.sim.AbstractPeripheral
idle, registerCPU, setIdle, setLive
 
Methods inherited from class jmce.sim.AbstractHardware
addHardware, createFrame, destroy, getHardware, getHardware, getHardware, getHardware, getHardware, getHardwareCount, getHardwareForName, getHardwareInstances, getHardwareTree, getName, getParent, init, initSwing, removeHardware, removeHardware, reset, setHardware, setHardware, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jmce.sim.Peripheral
idle, registerCPU
 
Methods inherited from interface jmce.sim.Hardware
addHardware, destroy, getHardware, getHardware, getHardware, getHardware, getHardwareCount, getHardwareInstances, getHardwareTree, getName, getParent, init, initSwing, removeHardware, removeHardware, reset, setHardware, setHardware, setName
 

Constructor Detail

PD765

public PD765()
Method Detail

setBase

public void setBase(int base)
Set the base port for this instance.


getBase

public int getBase()
Return the base port of this instance


setReset

public void setReset(boolean mode)

writeMemory

public void writeMemory(Memory m,
                        int address,
                        int v,
                        int oldValue)
                 throws SIMException
Throws:
SIMException

cmdRecalibrate

public void cmdRecalibrate()

readMemory

public int readMemory(Memory m,
                      int a,
                      int v)
               throws SIMException
Throws:
SIMException

sendByte

public int sendByte()

sendResult

public int sendResult()

jmce - 1_02