Add: graphics fb cursor

This commit is contained in:
xamidev
2024-08-23 14:27:24 +02:00
parent f1a9f84f24
commit 6d0c9ac62b
5 changed files with 50 additions and 44 deletions

View File

@@ -6,6 +6,12 @@ volatile unsigned long global_ticks = 0;
void timer_handler()
{
global_ticks++;
if (global_ticks % 20 == 0)
{
draw_cursor(white);
} else if (global_ticks % 20 == 10) {
erase_cursor();
}
}
void timer_install()