sp1_InitCharStruct.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/temp/sp1/zx/c/sccz80/sp1_InitCharStruct.asm
; void sp1_InitCharStruct(struct sp1_cs *cs, void *drawf, uchar type, void *graphic, uchar plane)
; CALLER linkage for function pointers

SECTION code_clib
SECTION code_temp_sp1

PUBLIC sp1_InitCharStruct

EXTERN asm_sp1_InitCharStruct

sp1_InitCharStruct:

   pop ix
   pop bc
   ld a,c
   ex af,af
   pop bc
   pop de
   ld a,e
   pop de
   pop hl
   push hl
   push de
   push de
   push bc
   push bc
   push ix
   
   jp asm_sp1_InitCharStruct
