|
jmce - 1_02 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjmce.sim.AbstractHardware
jmce.sim.AbstractPeripheral
jmce.sim.disk.AbstractDisk
jmce.sim.disk.ImageDisk
jmce.sim.disk.ImageDiskCPM
public class ImageDiskCPM
Image disk with CP/M file system.
This class implements a ImageDisk with the CP/M file system.
Field Summary |
---|
Fields inherited from class jmce.sim.disk.AbstractDisk |
---|
buffer, head, mounted, numHead, numSector, numTrack, readOnly, sector, sectorSize, track |
Fields inherited from class jmce.sim.AbstractPeripheral |
---|
cpu |
Fields inherited from interface jmce.sim.Disk |
---|
ERROR, ERROR_SEEK, ERROR_WRITE_PROTECT |
Constructor Summary | |
---|---|
ImageDiskCPM()
|
Method Summary | |
---|---|
DPB |
getDPB()
Return the current DPB. |
void |
init(Hardware parent)
Initialize the hardware. |
void |
setDPB(DPB dpb)
Set the DPB |
Methods inherited from class jmce.sim.disk.ImageDisk |
---|
dismount, getImageName, mount, read, setImageName, toString, write |
Methods inherited from class jmce.sim.disk.AbstractDisk |
---|
format, getBuffer, getDiskSize, getDiskSizeString, getHead, getNumHead, getNumSector, getNumTrack, getReadOnly, getSector, getSectorSize, getTrack, isMounted, read, read, setHead, setMounted, setNumHead, setNumSector, setNumTrack, setReadOnly, setSector, setSectorSize, setTrack, write, write |
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, initSwing, removeHardware, removeHardware, reset, setHardware, setHardware, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface jmce.sim.Disk |
---|
dismount, format, getBuffer, getHead, getNumHead, getNumSector, getNumTrack, getReadOnly, getSector, getSectorSize, getTrack, isMounted, mount, read, setHead, setNumHead, setNumSector, setNumTrack, setReadOnly, setSector, setSectorSize, setTrack, write |
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, initSwing, removeHardware, removeHardware, reset, setHardware, setHardware, setName |
Constructor Detail |
---|
public ImageDiskCPM()
Method Detail |
---|
public void init(Hardware parent) throws SIMException
Hardware
init
in interface Hardware
init
in class AbstractHardware
parent
- Parent of this hardware.
SIMException
public void setDPB(DPB dpb)
DiskCPM
setDPB
in interface DiskCPM
dpb
- - New dpb for this disk.DPB
public DPB getDPB()
DiskCPM
getDPB
in interface DiskCPM
DPB
|
jmce - 1_02 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |