()
| 192 | } |
| 193 | |
| 194 | public String getReadConfiguration() { |
| 195 | String rstate = ""; |
| 196 | if (SoftSwitches.RAMRD.getState()) { |
| 197 | rstate += "Ra"; |
| 198 | } else { |
| 199 | rstate += "R0"; |
| 200 | } |
| 201 | String LCR = "L0R"; |
| 202 | if (SoftSwitches.LCRAM.isOn()) { |
| 203 | if (SoftSwitches.AUXZP.isOff()) { |
| 204 | LCR = "L1R"; |
| 205 | if (SoftSwitches.LCBANK1.isOff()) { |
| 206 | LCR = "L2R"; |
| 207 | } |
| 208 | } else { |
| 209 | LCR = "L1aR"; |
| 210 | if (SoftSwitches.LCBANK1.isOff()) { |
| 211 | LCR = "L2aR"; |
| 212 | } |
| 213 | } |
| 214 | } |
| 215 | rstate += LCR; |
| 216 | if (SoftSwitches.CXROM.getState()) { |
| 217 | rstate += "CXROM"; |
| 218 | } else { |
| 219 | rstate += "!CX"; |
| 220 | if (SoftSwitches.SLOTC3ROM.isOff()) { |
| 221 | rstate += "C3"; |
| 222 | } |
| 223 | if (SoftSwitches.INTC8ROM.isOn()) { |
| 224 | rstate += "C8"; |
| 225 | } else { |
| 226 | rstate += "C8"+getActiveSlot(); |
| 227 | } |
| 228 | } |
| 229 | |
| 230 | return rstate; |
| 231 | } |
| 232 | |
| 233 | public String getWriteConfiguration() { |
| 234 | String wstate = ""; |
no test coverage detected