Kernel: Implement fast scrolling for TTY

This commit is contained in:
2024-06-28 23:15:03 +03:00
parent 010c2c934b
commit 42237a3bc8
6 changed files with 46 additions and 6 deletions

View File

@@ -17,6 +17,10 @@ namespace Kernel
void set_pixel(uint32_t x, uint32_t y, uint32_t rgb);
// positive rows -> empty pixels on bottom
// negative rows -> empty pixels on top
void scroll(int32_t rows, uint32_t rgb);
void sync_pixels_full();
void sync_pixels_linear(uint32_t first_pixel, uint32_t pixel_count);
void sync_pixels_rectangle(uint32_t top_right_x, uint32_t top_right_y, uint32_t width, uint32_t height);