mirror of
https://github.com/TomHarte/CLK.git
synced 2024-07-17 13:29:02 +00:00
31 lines
500 B
C++
31 lines
500 B
C++
|
//
|
||
|
// MFP68901.hpp
|
||
|
// Clock Signal
|
||
|
//
|
||
|
// Created by Thomas Harte on 06/10/2019.
|
||
|
// Copyright © 2019 Thomas Harte. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#ifndef MFP68901_hpp
|
||
|
#define MFP68901_hpp
|
||
|
|
||
|
#include <cstdint>
|
||
|
#include "../../ClockReceiver/ClockReceiver.hpp"
|
||
|
|
||
|
namespace Motorola {
|
||
|
namespace MFP68901 {
|
||
|
|
||
|
class MFP68901 {
|
||
|
public:
|
||
|
uint8_t read(int address);
|
||
|
void write(int address, uint8_t value);
|
||
|
|
||
|
void run_for(HalfCycles);
|
||
|
HalfCycles get_next_sequence_point();
|
||
|
};
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#endif /* MFP68901_hpp */
|