sp1_ClearRectInv_callee.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_iy/sp1_ClearRectInv_callee.asm
; void sp1_ClearRectInv(struct sp1_Rect *r, uchar colour, uchar tile, uchar rflag)

SECTION code_clib
SECTION code_temp_sp1

PUBLIC _sp1_ClearRectInv_callee

EXTERN asm_sp1_ClearRectInv

_sp1_ClearRectInv_callee:

   pop af
   pop hl
   pop bc
   pop de
   ld d,b
   pop bc
   push af
   
   ld a,c
   push de
   ld d,(hl)
   inc hl
   ld e,(hl)
   inc hl
   ld b,(hl)
   inc hl
   ld c,(hl)
   pop hl

   jp asm_sp1_ClearRectInv
