mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-01 11:49:58 +00:00
Starts to build in a serial line for input.
This commit is contained in:
parent
d3f0d15732
commit
6d34432988
@ -12,6 +12,7 @@
|
|||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
#include "Implementation/6526Storage.hpp"
|
#include "Implementation/6526Storage.hpp"
|
||||||
|
#include "../Serial/Line.hpp"
|
||||||
|
|
||||||
namespace MOS {
|
namespace MOS {
|
||||||
namespace MOS6526 {
|
namespace MOS6526 {
|
||||||
@ -63,6 +64,13 @@ template <typename PortHandlerT, Personality personality> class MOS6526:
|
|||||||
/// Sets the current state of the CNT input.
|
/// Sets the current state of the CNT input.
|
||||||
void set_cnt_input(bool active);
|
void set_cnt_input(bool active);
|
||||||
|
|
||||||
|
/// Provides the serial input bit.
|
||||||
|
Serial::Line serial_input;
|
||||||
|
|
||||||
|
/// Optionally sets CNT to automatically toggle based on the events
|
||||||
|
/// generated by @c serial_input.
|
||||||
|
void set_cnt_tied_to_input(bool);
|
||||||
|
|
||||||
/// Sets the current state of the FLG input.
|
/// Sets the current state of the FLG input.
|
||||||
void set_flag_input(bool low);
|
void set_flag_input(bool low);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user