mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-26 15:32:04 +00:00
Threw in support for the light-pen trigger.
This commit is contained in:
parent
a1e2646301
commit
a5593bec79
@ -169,6 +169,11 @@ template <class T> class CRTC6845 {
|
||||
registers_[selected_register_] = value & masks[selected_register_];
|
||||
}
|
||||
|
||||
void trigger_light_pen() {
|
||||
registers_[17] = bus_state_.refresh_address & 0xff;
|
||||
registers_[16] = bus_state_.refresh_address >> 8;
|
||||
}
|
||||
|
||||
private:
|
||||
Personality personality_;
|
||||
T &bus_handler_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user