Compare commits

..

3 Commits

Author SHA1 Message Date
Darkress
6772f448ba removed comment 2023-06-17 23:34:20 +02:00
Darkress
9319a14d88 Fixed reset Program on WatchDog Timeout 2023-06-17 23:25:54 +02:00
Darkress
9d7d1ce5b1 Basic read-only cli 2023-06-17 23:25:54 +02:00
2 changed files with 0 additions and 10 deletions

View File

@@ -23,9 +23,6 @@ public class Cli
printf(Memory.getPCLATH(), "PCLATH", true);
printf(Memory.getPCL(), "PCL", true);
System.out.printf("%n");
System.out.printf("%s:\t\t%s\t", "PortA", Integer.toBinaryString(Memory.getPortA()));
System.out.printf("%s:\t\t%s\t", "PortB", Integer.toBinaryString(Memory.getPortB()));
System.out.printf("%n");
}
private static void printf(int value, String description, boolean hex) {

View File

@@ -143,13 +143,6 @@ public class Memory
return memory[0x81];
}
public static int getPortB() {
return memory[0x06];
}
public static int getPortA() {
return memory[0x05] & 0x1F;
}
public static int getTimer()
{
return memory[0x01];