summaryrefslogtreecommitdiff
path: root/kernel/util.asm
blob: 548223dcad7015861d15f835c4182a580a02b29d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
format ELF64

section '.text' executable

public vga_cursor_hide
vga_cursor_hide:
	mov dx, 0x03d4
	mov al, 0x0a
	out dx, al

	inc dx
	mov al, 0x20
	out dx, al

	ret

public halt
halt:
	hlt
	jmp halt