18 enum class ClientState : unsigned char {
36 inline unsigned char operator|(ClientState l,
unsigned char r) {
37 return static_cast<unsigned char>(l) | r;
87 std::string disassembly;
91 bool breakpoint =
false;
96 const ClientState checkBoardState();
97 const std::array<std::string, 16> getJimulatorRegisterValues();
98 std::array<Jimulator::MemoryValues, 13> getJimulatorMemoryValues(
99 const uint32_t s_address_int);
100 const std::string getJimulatorTerminalMessages();
105 const char*
const pathToS,
106 const char*
const pathToKMD);
107 const bool loadJimulator(
const char*
const pathToKMD);
111 void startJimulator(
const int steps);
112 void continueJimulator();
113 void pauseJimulator();
114 void resetJimulator();
115 const bool sendTerminalInputToJimulator(
const unsigned int val);
116 const bool setBreakpoint(
const uint32_t address);
Groups together functions that make up the Jimulator API layer - these functions and classes are used...
int writeToJimulator
Stores the file descriptor used for writing to Jimulator.
unsigned char operator|(ClientState l, unsigned char r)
Performing an or between a ClientState and an unsigned char.
int readFromJimulator
Stores the file descriptor used for reading from Jimulator.
int communicationToJimulator[2]
The pipe which will be used by KoMo2 to write to Jimulator (i.e. Jimulator will read from it...
void compileJimulator(const char *const pathToBin, const char *const pathToS, const char *const pathToKMD)
Runs pathToS through the associated compiler binary, and outputs a .kmd file at pathToKMD.
int communicationFromJimulator[2]
The pipe which will be used by KoMo2 to read from Jimulator (i.e. Jimulator will write to it...
int compilerCommunication[2]
The pipe that handles communication between the compiler process and KoMo2.