1
Fork 0
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:
Andreas Kling 2018-10-27 23:42:20 +02:00
parent cc7e3519a6
commit 8289a5c93c
5 changed files with 168 additions and 14 deletions

View file

@ -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);