Turnstone Operating System
Loading...
Searching...
No Matches
screen.64.c File Reference

Screen implementation for 64-bit mode. More...

#include <graphics/screen.h>
#include <graphics/font.h>

Functions

 MODULE ("turnstone.kernel.graphics.screen")
 
void screen_set_color (color_t fg, color_t bg)
 
void screen_get_color (color_t *fg, color_t *bg)
 
screen_info_t screen_get_info (void)
 
void screen_set_dimensions (int32_t width, int32_t height, int32_t pixels_per_scanline)
 
void screen_clear (void)
 clears screen with efi system table's console output protocol.
 

Variables

static color_t screen_fg_color = {.color = 0xFFFFFFFF}
 
static color_t screen_bg_color = {.color = 0x00000000}
 
static int32_t screen_width = 0
 
static int32_t screen_height = 0
 
static int32_t screen_pixels_per_scanline = 0
 
static int32_t screen_chars_per_line = 0
 
static int32_t screen_lines_on_screen = 0
 
screen_flush_f SCREEN_FLUSH = NULL
 
screen_print_glyph_with_stride_f SCREEN_PRINT_GLYPH_WITH_STRIDE = NULL
 
screen_scroll_f SCREEN_SCROLL = NULL
 
screen_clear_area_f SCREEN_CLEAR_AREA = NULL
 

Detailed Description

Screen implementation for 64-bit mode.

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.