mirror of
https://github.com/TomHarte/CLK.git
synced 2025-07-25 13:24:23 +00:00
Attempts actual performance of the state machine.
This commit is contained in:
@@ -10,7 +10,9 @@
|
||||
#define DiskII_hpp
|
||||
|
||||
#include "../../ClockReceiver/ClockReceiver.hpp"
|
||||
|
||||
#include <cstdint>
|
||||
#include <vector>
|
||||
|
||||
namespace Apple {
|
||||
|
||||
@@ -33,13 +35,16 @@ class DiskII {
|
||||
uint8_t get_shift_register();
|
||||
|
||||
void run_for(const Cycles cycles);
|
||||
void set_state_machine(const std::vector<uint8_t> &);
|
||||
|
||||
private:
|
||||
uint8_t state_ = 0;
|
||||
uint8_t inputs_ = 0;
|
||||
uint8_t shift_register_ = 0;
|
||||
uint8_t data_register_ = 0;
|
||||
|
||||
bool is_write_protected();
|
||||
std::vector<uint8_t> state_machine_;
|
||||
};
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user