I want to write a generic clear screen function. Could anyone advise?
clrscr: mov ax, 0600 ;service scrolls up the screen
mov bh,49 ;hopefully light red foreground on blue background
mov cx,00 ;starting row/column
mov dx,184 ;ending row/column
int 10 ;call dos
ret
clrscr: mov ax,0600h ;service scrolls up the screen
xor bx,bx
mov bh,30h ;attempt to change the colour
int 10h ;call dos and kiss your system good bye
ret