summaryrefslogtreecommitdiff
path: root/builtin_clear.asm
blob: cac621697a77d8dc0e59b9e7dafa18f26dde0cf3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
%ifndef _BUILTIN_CLEAR_ASM
%define _BUILTIN_CLEAR_ASM

builtin_clear:
	call cls		; clear console
	push 0000h		; home position 0x0
	call setcursor		; home cursor on console
	add sp, 2		; cleanup stack
	ret

%endif