Skip to main content

Module debug_overlay

Module debug_overlay 

Source

StaticsΒ§

VGA_DEBUG_COL πŸ”’
Current cursor column for the live debug writer (0-based character column).
VGA_DEBUG_MAX_COL πŸ”’
Maximum columns available on the current framebuffer (cached).
VGA_DEBUG_MAX_ROW πŸ”’
Maximum rows available on the current framebuffer (cached).
VGA_DEBUG_ROW πŸ”’
Current cursor row for the live debug writer (0-based character row).

FunctionsΒ§

vga_debug_clear_cell πŸ”’ ⚠
Clear a single 8Γ—16 character cell with the background colour.
vga_debug_draw_glyph πŸ”’ ⚠
Draw a single 8Γ—16 character from the panic font.
vga_debug_fill_line πŸ”’ ⚠
Fill a single text line (16 pixel rows) with a solid colour. max_col is the number of character columns (each 8px wide).
vga_debug_init
Initialise or re-initialise the live debug writer’s geometry. Called automatically from vga::init().
vga_debug_scroll πŸ”’
Scroll the live debug area up by one line.
vga_debug_write
Write a string directly to the VGA framebuffer in real time.
vga_debug_writeln
Write a newline-terminated line to the live VGA debug output.