This commit is contained in:
zanostro 2025-11-13 20:22:50 +01:00
parent 43c8fb2cce
commit 42737c0a66
5 changed files with 107 additions and 18 deletions

View file

@ -91,6 +91,7 @@ public:
void setSpeed(int kHz);
void start();
void stop();
void tick();
// error handling methods
void notImplemented(string mnemonic);
@ -115,7 +116,6 @@ private:
// Execution control
std::atomic<bool> running{false};
std::atomic<int> speedkHz{1}; // Default 1 kHz
void tick(); // simulate a clock tick
};