sp1_SetPrintPos.asm
bitfixer_bitfixer/dg/z88dk/libsrc/sprites/software/sp1/spectrum/tiles/sp1_SetPrintPos.asm
; void sp1_SetPrintPos(struct sp1_pss *ps, uchar row, uchar col)
; CALLER linkage for function pointers

PUBLIC sp1_SetPrintPos

EXTERN sp1_SetPrintPos_callee
EXTERN ASMDISP_SP1_SETPRINTPOS_CALLEE

.sp1_SetPrintPos

   ld hl,2
   add hl,sp
   ld e,(hl)
   inc hl
   inc hl
   ld d,(hl)
   inc hl
   inc hl
   ld a,(hl)
   inc hl
   ld h,(hl)
   ld l,a
   
   jp sp1_SetPrintPos_callee + ASMDISP_SP1_SETPRINTPOS_CALLEE
