mirror of
https://github.com/TomHarte/CLK.git
synced 2024-08-16 16:28:59 +00:00
Moved code out of header.
This commit is contained in:
parent
3b52ab0d37
commit
b04ba41951
@ -210,3 +210,9 @@ void VideoOutput::run_for_cycles(int number_of_cycles)
|
||||
number_of_cycles -= cycles_run_for;
|
||||
}
|
||||
}
|
||||
|
||||
void VideoOutput::set_character_set_base_address()
|
||||
{
|
||||
if(_is_graphics_mode) _character_set_base_address = _use_alternative_character_set ? 0x9c00 : 0x9800;
|
||||
else _character_set_base_address = _use_alternative_character_set ? 0xb800 : 0xb400;
|
||||
}
|
||||
|
@ -34,11 +34,7 @@ class VideoOutput {
|
||||
uint8_t _ink, _paper;
|
||||
|
||||
int _character_set_base_address;
|
||||
inline void set_character_set_base_address()
|
||||
{
|
||||
if(_is_graphics_mode) _character_set_base_address = _use_alternative_character_set ? 0x9c00 : 0x9800;
|
||||
else _character_set_base_address = _use_alternative_character_set ? 0xb800 : 0xb400;
|
||||
}
|
||||
inline void set_character_set_base_address();
|
||||
|
||||
bool _is_graphics_mode;
|
||||
bool _next_frame_is_sixty_hertz;
|
||||
|
Loading…
Reference in New Issue
Block a user