NIRVANAP_drawT_callee.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/arch/zx/nirvanap/c/sdcc/NIRVANAP_drawT_callee.asm
; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR NIRVANA+ ENGINE - by Einar Saukas
;
; See "nirvana+.h" for further details
; ----------------------------------------------------------------

; void NIRVANAP_drawT(unsigned int tile, unsigned int lin, unsigned int col)
; callee

SECTION code_clib
SECTION code_nirvanap

PUBLIC _NIRVANAP_drawT_callee

EXTERN asm_NIRVANAP_drawT

_NIRVANAP_drawT_callee:

	pop hl          ; RET address
	pop de          ; tile
	ld a,e
	pop de          ; line
	ld d,e
	ex (sp),hl      ; col
	ld e,l

	jp asm_NIRVANAP_drawT
