fix early console

This commit is contained in:
Catfood 2023-01-14 15:32:29 +08:00
parent 306a3a1eac
commit 7febffdda1

View File

@ -46,12 +46,10 @@ static void scroll()
static void set_cursor(unsigned int position)
{
disable_int();
outb(CRTC_ADDR_REG, CURSOR_H);
outb(CRTC_DATA_REG, (position >> 8) & 0xFF);
outb(CRTC_ADDR_REG, CURSOR_L);
outb(CRTC_DATA_REG, position & 0xFF);
enable_int();
}
void simpleconsole_init()