mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-10 08:31:34 +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
|
// b4: enable horizontal retrace interrupt
|
||||||
// b5: enable light pen interrupts
|
// b5: enable light pen interrupts
|
||||||
// b6: set colour bus to input or output mode
|
// b6: set colour bus to input or output mode
|
||||||
|
|
||||||
|
LOG("Screen mode: " << int(current_screen_mode()));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
@ -682,6 +684,8 @@ void Base<personality>::commit_register(int reg, uint8_t value) {
|
|||||||
((value & 0x10) >> 4) |
|
((value & 0x10) >> 4) |
|
||||||
((value & 0x08) >> 2)
|
((value & 0x08) >> 2)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
LOG("Screen mode: " << int(current_screen_mode()));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 8:
|
case 8:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user