mirror of
https://github.com/TomHarte/CLK.git
synced 2024-08-17 07:29:04 +00:00
40 lines
623 B
C++
40 lines
623 B
C++
//
|
|
// Video.hpp
|
|
// Clock Signal
|
|
//
|
|
// Created by Thomas Harte on 04/10/2019.
|
|
// Copyright © 2019 Thomas Harte. All rights reserved.
|
|
//
|
|
|
|
#ifndef Video_hpp
|
|
#define Video_hpp
|
|
|
|
#include "../../Outputs/CRT/CRT.hpp"
|
|
#include "../../ClockReceiver/ClockReceiver.hpp"
|
|
|
|
namespace Atari {
|
|
namespace ST {
|
|
|
|
class Video {
|
|
public:
|
|
Video();
|
|
|
|
/*!
|
|
Sets the target device for video data.
|
|
*/
|
|
void set_scan_target(Outputs::Display::ScanTarget *scan_target);
|
|
|
|
/*!
|
|
Produces the next @c duration period of pixels.
|
|
*/
|
|
void run_for(HalfCycles duration);
|
|
|
|
private:
|
|
Outputs::CRT::CRT crt_;
|
|
};
|
|
|
|
}
|
|
}
|
|
|
|
#endif /* Video_hpp */
|