mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:17:45 +00:00
Implement 'H' and 'J' escape sequences.
This commit is contained in:
parent
cc7e3519a6
commit
8289a5c93c
5 changed files with 168 additions and 14 deletions
|
@ -15,6 +15,12 @@ void vga_scroll_up()
|
|||
memset(vga_mem + (160 * 24), 0, 160);
|
||||
}
|
||||
|
||||
void vga_clear()
|
||||
{
|
||||
InterruptDisabler disabler;
|
||||
memset(vga_mem, 0, 160 * 25);
|
||||
}
|
||||
|
||||
void vga_putch_at(byte row, byte column, byte ch)
|
||||
{
|
||||
word cur = (row * 160) + (column * 2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue