Initialize Component Management

This commit is contained in:
2025-03-25 18:44:16 +01:00
parent 52daa062df
commit 133ee646d1
28 changed files with 167 additions and 69 deletions

View File

@ -1,6 +1,6 @@
package fabrik.simulator.pic16f84.interfaces;
public interface CommandInterface {
public interface CommandInterface extends PICComponentInterface {
void CALL(int isr);
double getTotalExecutionTime();

View File

@ -1,6 +1,6 @@
package fabrik.simulator.pic16f84.interfaces;
public interface DataRegisterInterface {
public interface DataRegisterInterface extends PICComponentInterface {
void clearBit(int f, int b);
void setBit(int f, int b);

View File

@ -1,6 +1,6 @@
package fabrik.simulator.pic16f84.interfaces;
public interface EEPROMInterface {
public interface EEPROMInterface extends PICComponentInterface {
void registerTime(boolean b);
void parse(int i, int content, int i1);

View File

@ -1,6 +1,6 @@
package fabrik.simulator.pic16f84.interfaces;
public interface FrontendControllerInterface {
public interface FrontendControllerInterface extends PICComponentInterface {
double getExecutionTimeMultiplier();
void sleep();

View File

@ -5,7 +5,7 @@ import javafx.scene.shape.Circle;
import java.io.IOException;
public interface IOPortInterface {
public interface IOPortInterface extends PICComponentInterface {
void resetTRIS();
void setRegister(int i, int content);

View File

@ -1,6 +1,6 @@
package fabrik.simulator.pic16f84.interfaces;
public interface InterruptInterface {
public interface InterruptInterface extends PICComponentInterface {
void triggerRBInterrupt(int oldValue, int value);
void triggerRB0Interrupt(int oldValue, int value);

View File

@ -0,0 +1,7 @@
package fabrik.simulator.pic16f84.interfaces;
import fabrik.simulator.pic16f84.PICComponents;
public interface PICComponentInterface {
void initialize(PICComponents picComponents);
}

View File

@ -2,7 +2,7 @@ package fabrik.simulator.pic16f84.interfaces;
import java.util.List;
public interface ProgramStackInterface {
public interface ProgramStackInterface extends PICComponentInterface {
int pop();
void push(int i);

View File

@ -1,5 +1,5 @@
package fabrik.simulator.pic16f84.interfaces;
public interface TableInterface {
public interface TableInterface extends PICComponentInterface {
void refresh();
}

View File

@ -1,7 +1,7 @@
package fabrik.simulator.pic16f84.interfaces;
public interface TimerInterface {
public void cycles(int i);
public interface TimerInterface extends PICComponentInterface {
void cycles(int i);
void incrementFromPin(int directRegister);

View File

@ -2,6 +2,6 @@ package fabrik.simulator.pic16f84.interfaces;
import fabrik.simulator.pic16f84.ToggleButtonGroupExt;
public interface ToggleButtonInterface {
public interface ToggleButtonInterface extends PICComponentInterface {
ToggleButtonGroupExt get();
}

View File

@ -1,6 +1,6 @@
package fabrik.simulator.pic16f84.interfaces;
public interface WatchdogTimerInterface {
public interface WatchdogTimerInterface extends PICComponentInterface {
void reset();
void testAndTrigger();

View File

@ -1,5 +1,5 @@
package fabrik.simulator.pic16f84.interfaces;
public interface WindowManagement {
public interface WindowManagement extends PICComponentInterface {
void refreshTable();
}