fix early console
This commit is contained in:
parent
306a3a1eac
commit
7febffdda1
@ -46,12 +46,10 @@ static void scroll()
|
|||||||
|
|
||||||
static void set_cursor(unsigned int position)
|
static void set_cursor(unsigned int position)
|
||||||
{
|
{
|
||||||
disable_int();
|
|
||||||
outb(CRTC_ADDR_REG, CURSOR_H);
|
outb(CRTC_ADDR_REG, CURSOR_H);
|
||||||
outb(CRTC_DATA_REG, (position >> 8) & 0xFF);
|
outb(CRTC_DATA_REG, (position >> 8) & 0xFF);
|
||||||
outb(CRTC_ADDR_REG, CURSOR_L);
|
outb(CRTC_ADDR_REG, CURSOR_L);
|
||||||
outb(CRTC_DATA_REG, position & 0xFF);
|
outb(CRTC_DATA_REG, position & 0xFF);
|
||||||
enable_int();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void simpleconsole_init()
|
void simpleconsole_init()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user