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

; void void BIFROSTH_fillTileAttrH(unsigned int lin,unsigned int col,unsigned int attr)

SECTION code_clib
SECTION code_bifrost_h

PUBLIC BIFROSTH_fillTileAttrH

EXTERN asm_BIFROSTH_fillTileAttrH

BIFROSTH_fillTileAttrH:

   	ld hl,2
   	add hl,sp
   	ld c,(hl)       ; C=attrib
   	inc hl
   	inc hl
   	ld e,(hl)       ; E=col
   	inc hl
   	inc hl
   	ld d,(hl)       ; D=lin

   	jp asm_BIFROSTH_fillTileAttrH        ; execute 'fill_tile_attr'
