sp1_MoveSprRel.asm
bitfixer_bitfixer/dg/z88dk/libsrc/sprites/software/sp1/zx81hr/sprites/sp1_MoveSprRel.asm
; void sp1_MoveSprRel(struct sp1_ss *s, struct sp1_Rect *clip, uchar *frame, char rel_row, char rel_col, char rel_vrot, char rel_hrot)
; CALLER linkage for function pointers

PUBLIC sp1_MoveSprRel

EXTERN sp1_MoveSprRel_callee
EXTERN ASMDISP_SP1_MOVESPRREL_CALLEE

EXTERN SP1V_TEMP_IY

.sp1_MoveSprRel

   pop af
   pop de
   pop bc
   ld b,e
   pop de
   pop hl
   ld d,l
   pop hl
   pop ix
   ld (SP1V_TEMP_IY),ix
   pop ix
   push hl
   push hl
   push hl
   push hl
   push de
   push bc
   push de
   push af
   jp sp1_MoveSprRel_callee + ASMDISP_SP1_MOVESPRREL_CALLEE
