Basic read-only cli #35

Merged
Darkress merged 3 commits from CommandLineInterface into main 2023-06-17 23:35:00 +02:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 9319a14d88 - Show all commits

View File

@@ -15,7 +15,7 @@ class Main
{
public static void main(String[] args) throws InterruptedException {
Command[] program = Parser.parser("de/darkress/pic16f84sim/TestPrograms/TPicSim10.LST");
Command[] program = Parser.parser("de/darkress/pic16f84sim/TestPrograms/TPicSim11.LST");
Memory.initMemory();

View File

@@ -29,7 +29,8 @@ public class Watchdog
public static void resetProgram()
{
Memory.setRegister(0x03, Memory.getRegister(0x03) | 0x10);
Memory.setRegister(0x03, Memory.getRegister(0x03) | 0x10); //Set !T0 in StatusReg
ProgramCounter.resetProgramCounter();
watchdogTimer = 18000;
}