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

Method handleMLI

src/main/java/jace/hardware/ProdosDriver.java:70–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68 abstract public Card getOwner();
69
70 public void handleMLI() {
71 Emulator.withComputer(computer -> {
72 int returnCode = prodosMLI().intValue;
73 MOS65C02 cpu = (MOS65C02) computer.getCpu();
74 cpu.A = returnCode;
75 // Clear carry flag if no error, otherwise set carry flag
76 cpu.C = (returnCode == 0x00) ? 00 : 01;
77 });
78 }
79
80 private MLI_RETURN prodosMLI() {
81 return Emulator.withMemory(memory -> {

Callers 1

handleFirmwareAccessMethod · 0.80

Calls 3

withComputerMethod · 0.95
prodosMLIMethod · 0.95
getCpuMethod · 0.45

Tested by

no test coverage detected