MCPcopy Create free account
hub / github.com/badvision/jace / getMemoryPage

Method getMemoryPage

src/main/java/jace/core/PagedMemory.java:109–113  ·  view source on GitHub ↗
(int memoryBase)

Source from the content-addressed store, hash-verified

107 }
108
109 public byte[] getMemoryPage(int memoryBase) {
110 int offset = memoryBase - type.baseAddress;
111 int page = (offset >> 8) & 0x0ff;
112 return internalMemory[page];
113 }
114
115 public void setBanks(int sourceStart, int sourceLength, int targetStart, PagedMemory source) {
116 for (int i = 0; i < sourceLength; i++) {

Callers 6

generateChecksumMethod · 0.95
readByteMethod · 0.95
writeByteMethod · 0.95
writeMethod · 0.80
readRawMethod · 0.80
readMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected