1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 08:49:37 +00:00

Adjusted numbers, empirically.

This commit is contained in:
Thomas Harte 2016-03-10 22:40:18 -05:00
parent a89225987f
commit e305fd9326

View File

@ -26,10 +26,9 @@ namespace {
// 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_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 display_end_interrupt_line = 256;
static const unsigned int real_time_clock_interrupt_line = 100;
static const unsigned int display_end_interrupt_line = 264;
}
#define graphics_line(v) ((((v) >> 7) - first_graphics_line + field_divider_line) % field_divider_line)