BIFROSTL_fillTileAttrL_callee.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/arch/zx/bifrost_l/c/sccz80/BIFROSTL_fillTileAttrL_callee.asm
; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR THE BIFROST* ENGINE - RELEASE 1.2/L
;
; See "bifrost_l.h" for further details
; ----------------------------------------------------------------

; void BIFROSTL_fillTileAttrL(unsigned int row, unsigned int col, unsigned int attr)
; callee

SECTION code_clib
SECTION code_bifrost_l

PUBLIC BIFROSTL_fillTileAttrL_callee

EXTERN asm_BIFROSTL_fillTileAttrL

BIFROSTL_fillTileAttrL_callee:

        pop hl          ; RET address
        pop bc          ; C=attrib
        pop de          ; E=col
        ex (sp),hl      ; L=row
        ld d,l          ; D=row

        jp asm_BIFROSTL_fillTileAttrL        ; execute 'fill_tile_attr'
