mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-16 18:30:32 +00:00
Adds a getter for the interrupt line.
This commit is contained in:
parent
7a8920ee38
commit
6808ad6f5d
@ -102,10 +102,14 @@ void GLU::EnsoniqState::set_register(uint16_t address, uint8_t value) {
|
||||
}
|
||||
|
||||
uint8_t GLU::get_data() {
|
||||
// TODO: all of this. From local_, with just-in-time generation of the data sample and AD values.
|
||||
// TODO: all of this. From local_, with just-in-time generation of the data sample, AD values and interrupt status.
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool GLU::get_interrupt_line() {
|
||||
return false;
|
||||
}
|
||||
|
||||
// MARK: - Time entry points.
|
||||
|
||||
void GLU::run_for(Cycles cycles) {
|
||||
|
@ -34,6 +34,7 @@ class GLU: public Outputs::Speaker::SampleSource {
|
||||
|
||||
void run_for(Cycles);
|
||||
Cycles get_next_sequence_point() const;
|
||||
bool get_interrupt_line();
|
||||
|
||||
// SampleSource.
|
||||
void get_samples(std::size_t number_of_samples, std::int16_t *target);
|
||||
|
Loading…
x
Reference in New Issue
Block a user