dioscuri.module.video
Class Video.DiosJPCVideoConnect
java.lang.Object
dioscuri.module.cpu32.Memory
dioscuri.module.video.Video.DiosJPCVideoConnect
- All Implemented Interfaces:
- ByteArray
- Enclosing class:
- Video
public class Video.DiosJPCVideoConnect
- extends Memory
Method Summary |
void |
clear()
|
void |
clear(int start,
int length)
|
void |
copyContentsFrom(int address,
byte[] buffer,
int off,
int len)
|
void |
copyContentsInto(int address,
byte[] buffer,
int off,
int len)
|
CodeBlock |
decodeCodeBlockAt(Processor cpu,
int offset)
|
int |
execute(Processor cpu,
int offset)
|
byte |
getByte(int offset)
|
int |
getDoubleWord(int offset)
|
long |
getLowerDoubleQuadWord(int offset)
|
long |
getQuadWord(int offset)
|
long |
getSize()
|
long |
getUpperDoubleQuadWord(int offset)
|
short |
getWord(int offset)
|
boolean |
isAllocated()
|
boolean |
isCacheable()
|
boolean |
isVolatile()
|
void |
setByte(int offset,
byte data)
|
void |
setDoubleWord(int offset,
int data)
|
void |
setLowerDoubleQuadWord(int offset,
long data)
|
void |
setQuadWord(int offset,
long data)
|
void |
setUpperDoubleQuadWord(int offset,
long data)
|
void |
setWord(int offset,
short data)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Video.DiosJPCVideoConnect
public Video.DiosJPCVideoConnect()
isCacheable
public boolean isCacheable()
- Returns:
- -
isVolatile
public boolean isVolatile()
- Returns:
- -
copyContentsInto
public void copyContentsInto(int address,
byte[] buffer,
int off,
int len)
- Specified by:
copyContentsInto
in interface ByteArray
- Specified by:
copyContentsInto
in class Memory
- Parameters:
address
- buffer
- off
- len
-
copyContentsFrom
public void copyContentsFrom(int address,
byte[] buffer,
int off,
int len)
- Specified by:
copyContentsFrom
in class Memory
- Parameters:
address
- buffer
- off
- len
-
getSize
public long getSize()
- Specified by:
getSize
in interface ByteArray
- Specified by:
getSize
in class Memory
- Returns:
- -
isAllocated
public boolean isAllocated()
- Overrides:
isAllocated
in class Memory
- Returns:
- -
getByte
public byte getByte(int offset)
- Specified by:
getByte
in interface ByteArray
- Specified by:
getByte
in class Memory
- Parameters:
offset
-
- Returns:
- -
getWord
public short getWord(int offset)
- Specified by:
getWord
in class Memory
- Parameters:
offset
-
- Returns:
- -
getDoubleWord
public int getDoubleWord(int offset)
- Specified by:
getDoubleWord
in class Memory
- Parameters:
offset
-
- Returns:
- -
getQuadWord
public long getQuadWord(int offset)
- Specified by:
getQuadWord
in class Memory
- Parameters:
offset
-
- Returns:
- -
getLowerDoubleQuadWord
public long getLowerDoubleQuadWord(int offset)
- Specified by:
getLowerDoubleQuadWord
in class Memory
- Parameters:
offset
-
- Returns:
- -
getUpperDoubleQuadWord
public long getUpperDoubleQuadWord(int offset)
- Specified by:
getUpperDoubleQuadWord
in class Memory
- Parameters:
offset
-
- Returns:
- -
setByte
public void setByte(int offset,
byte data)
- Specified by:
setByte
in interface ByteArray
- Specified by:
setByte
in class Memory
- Parameters:
offset
- data
-
setWord
public void setWord(int offset,
short data)
- Specified by:
setWord
in class Memory
- Parameters:
offset
- data
-
setDoubleWord
public void setDoubleWord(int offset,
int data)
- Specified by:
setDoubleWord
in class Memory
- Parameters:
offset
- data
-
setQuadWord
public void setQuadWord(int offset,
long data)
- Specified by:
setQuadWord
in class Memory
- Parameters:
offset
- data
-
setLowerDoubleQuadWord
public void setLowerDoubleQuadWord(int offset,
long data)
- Specified by:
setLowerDoubleQuadWord
in class Memory
- Parameters:
offset
- data
-
setUpperDoubleQuadWord
public void setUpperDoubleQuadWord(int offset,
long data)
- Specified by:
setUpperDoubleQuadWord
in class Memory
- Parameters:
offset
- data
-
clear
public void clear()
- Specified by:
clear
in interface ByteArray
- Specified by:
clear
in class Memory
clear
public void clear(int start,
int length)
- Specified by:
clear
in class Memory
- Parameters:
start
- length
-
execute
public int execute(Processor cpu,
int offset)
- Specified by:
execute
in class Memory
- Parameters:
cpu
- offset
-
- Returns:
- -
decodeCodeBlockAt
public CodeBlock decodeCodeBlockAt(Processor cpu,
int offset)
- Specified by:
decodeCodeBlockAt
in class Memory
- Parameters:
cpu
- offset
-
- Returns:
- -