summaryrefslogtreecommitdiff
path: root/bootloader/resetCursorPosIntBios.asm
blob: 18cb0d269496d9c9129e25959f85353055c951d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
resetCursorPosIntBios:

	;Save registers
	push ax
	push bx
	push dx

	mov ax, 0x0200  ;Move cursor interrupt
	mov bx, 0x0000	; X position
	mov dx, 0x0000	; Y Position

	;Call 0x10 interrupt service
	int 0x10

	;Restore registers
	pop dx
	pop bx
	pop ax

	;Back to previous task
	ret