clsgraph.asm
bitfixer_bitfixer/dg/z88dk/libsrc/graphics/text/clsgraph.asm
;
;       Generic pseudo graphics routines for text-only platforms
;
;       Written by Stefano Bodrato 30/01/2002
;
;
;       Clears graph screen.
;
;
;	$Id: clsgraph.asm,v 1.5 2015/01/19 01:32:51 pauloscustodio Exp $
;


			INCLUDE	"graphics/text/textgfx.inc"

			PUBLIC	cleargraphics
			EXTERN	base_graphics


.cleargraphics

	ld	hl,(base_graphics)
	ld	d,h
	ld	e,l
	inc	de
	ld	bc,+(maxx/2)*(maxy/2)
	ld	(hl),blankch
	ldir

	ret
