Implement 'H' and 'J' escape sequences.

This commit is contained in:
Andreas Kling 2018-10-27 23:42:20 +02:00
commit 8289a5c93c
Notes: sideshowbarker 2024-07-19 18:37:27 +09:00
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);