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

Method getWriteConfiguration

src/main/java/jace/apple2e/RAM128k.java:233–256  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

231 }
232
233 public String getWriteConfiguration() {
234 String wstate = "";
235 if (SoftSwitches.RAMWRT.getState()) {
236 wstate += "Wa";
237 } else {
238 wstate += "W0";
239 }
240 String LCW = "L0W";
241 if (SoftSwitches.LCWRITE.isOn()) {
242 if (SoftSwitches.AUXZP.isOff()) {
243 LCW = "L1W";
244 if (SoftSwitches.LCBANK1.isOff()) {
245 LCW = "L2W";
246 }
247 } else {
248 LCW = "L1aW";
249 if (SoftSwitches.LCBANK1.isOff()) {
250 LCW = "L2aW";
251 }
252 }
253 }
254 wstate += LCW;
255 return wstate;
256 }
257
258 public String getAuxZPConfiguration() {
259 String astate = "";

Callers 1

configureActiveMemoryMethod · 0.95

Calls 3

isOffMethod · 0.80
getStateMethod · 0.45
isOnMethod · 0.45

Tested by

no test coverage detected