mirror of
https://github.com/TomHarte/CLK.git
synced 2024-06-25 18:30:07 +00:00
Log selected screen mode.
This commit is contained in:
parent
cefcc1d443
commit
13e490e7d7
|
@ -674,6 +674,8 @@ void Base<personality>::commit_register(int reg, uint8_t value) {
|
|||
// b4: enable horizontal retrace interrupt
|
||||
// b5: enable light pen interrupts
|
||||
// b6: set colour bus to input or output mode
|
||||
|
||||
LOG("Screen mode: " << int(current_screen_mode()));
|
||||
break;
|
||||
|
||||
case 1:
|
||||
|
@ -682,6 +684,8 @@ void Base<personality>::commit_register(int reg, uint8_t value) {
|
|||
((value & 0x10) >> 4) |
|
||||
((value & 0x08) >> 2)
|
||||
);
|
||||
|
||||
LOG("Screen mode: " << int(current_screen_mode()));
|
||||
break;
|
||||
|
||||
case 8:
|
||||
|
|
Loading…
Reference in New Issue
Block a user