mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-15 14:27:29 +00:00
Adjusted numbers, empirically.
This commit is contained in:
@@ -26,10 +26,9 @@ namespace {
|
|||||||
// with pixels in field 2 will be 20+field_divider_line
|
// with pixels in field 2 will be 20+field_divider_line
|
||||||
static const unsigned int first_graphics_line = 38;
|
static const unsigned int first_graphics_line = 38;
|
||||||
static const unsigned int first_graphics_cycle = 33;
|
static const unsigned int first_graphics_cycle = 33;
|
||||||
static const unsigned int last_graphics_cycle = 80 + first_graphics_cycle;
|
|
||||||
|
|
||||||
static const unsigned int real_time_clock_interrupt_line = 156;
|
static const unsigned int real_time_clock_interrupt_line = 100;
|
||||||
static const unsigned int display_end_interrupt_line = 256;
|
static const unsigned int display_end_interrupt_line = 264;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define graphics_line(v) ((((v) >> 7) - first_graphics_line + field_divider_line) % field_divider_line)
|
#define graphics_line(v) ((((v) >> 7) - first_graphics_line + field_divider_line) % field_divider_line)
|
||||||
|
Reference in New Issue
Block a user