cplot.asm
bitfixer_bitfixer/dg/z88dk/libsrc/graphics/osca/cplot.asm
;
;       Z88 Graphics Functions - Small C+ stubs
;
;       Written around the Interlogic Standard Library
;
;       Stubs Written by D Morris - 30/9/98
;
;       Color HRG version by Stefano Bodrato
;
;	$Id: cplot.asm,v 1.2 2015/01/19 01:32:49 pauloscustodio Exp $
;

;Usage: cplot(int x, int y, int color)



                PUBLIC    cplot
                EXTERN     swapgfxbk
                EXTERN    swapgfxbk1

                EXTERN     cplotpixel

.cplot
		pop	af
		pop	bc
		pop	de
		pop	hl
		push  hl
		push  de
		push  bc
		push  af
		ld	a,c
		ex af,af

                call    swapgfxbk
                call    cplotpixel
                jp      swapgfxbk1

