f_ansi_cls.asm
bitfixer_bitfixer/dg/z88dk/libsrc/stdio/ansi/sprinter/f_ansi_cls.asm
;
;       Sprinter C Library
;
; 	ANSI Video handling for Sprinter
;
; 	CLS - Clear the screen
;	
;
;	Stefano Bodrato - Apr. 2000
;
;
;	$Id: f_ansi_cls.asm,v 1.3 2015/01/19 01:33:19 pauloscustodio Exp $
;

	PUBLIC	ansi_cls

.ansi_cls
	ld	d,0		;top left x
	ld	e,0		;top left y
	ld	h,32		;height
	ld	l,80		;depth
	xor	a		;fill character
	ld	b,7		;clear colour?
	ld	c,$57		;CLEAR
	rst	$10
	ret
	
