mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-16 18:30:32 +00:00
Add some commentary.
This commit is contained in:
parent
17abd87791
commit
e8036127fe
@ -742,6 +742,8 @@ template <Analyser::Static::AppleII::Target::Model model, bool has_mockingboard>
|
|||||||
// actor, but this will actually be the result most of the time so it's not
|
// actor, but this will actually be the result most of the time so it's not
|
||||||
// too terrible.
|
// too terrible.
|
||||||
if(isReadOperation(operation) && address != 0xc000) {
|
if(isReadOperation(operation) && address != 0xc000) {
|
||||||
|
// Ensure any enqueued video changes are applied before grabbing the
|
||||||
|
// vapour value.
|
||||||
if(video_.has_deferred_actions()) {
|
if(video_.has_deferred_actions()) {
|
||||||
update_video();
|
update_video();
|
||||||
}
|
}
|
||||||
|
@ -123,7 +123,8 @@ template <class BusHandler, bool is_iie> class Video: public VideoBase {
|
|||||||
bus_handler_(bus_handler) {}
|
bus_handler_(bus_handler) {}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
Obtains the last value the video read prior to time now+offset.
|
Obtains the last value the video read prior to time now+offset, according to the *current*
|
||||||
|
video mode, i.e. not allowing for any changes still enqueued.
|
||||||
*/
|
*/
|
||||||
uint8_t get_last_read_value(Cycles offset) {
|
uint8_t get_last_read_value(Cycles offset) {
|
||||||
// Rules of generation:
|
// Rules of generation:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user