Compare commits
3 Commits
pinoutInCl
...
CommandLin
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6772f448ba | ||
|
|
9319a14d88 | ||
|
|
9d7d1ce5b1 |
@@ -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) {
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user