sp1_PutTiles.asm
bitfixer_bitfixer/dg/z88dk/libsrc/sprites/software/sp1/spectrum/tiles/sp1_PutTiles.asm
; void sp1_PutTiles(struct sp1_Rect *r, struct sp1_tp *src)
; CALLER linkage for function pointers

PUBLIC sp1_PutTiles

EXTERN sp1_PutTiles_callee
EXTERN ASMDISP_SP1_PUTTILES_CALLEE

.sp1_PutTiles

   ld hl,2
   add hl,sp
   ld e,(hl)
   inc hl
   ld d,(hl)
   push de
   inc hl
   ld a,(hl)
   inc hl
   ld h,(hl)
   ld l,a
   ld d,(hl)
   inc hl
   ld e,(hl)
   inc hl
   ld b,(hl)
   inc hl
   ld c,(hl)
   pop hl
   jp sp1_PutTiles_callee + ASMDISP_SP1_PUTTILES_CALLEE
