zx_pxy2aaddr.asm
bitfixer_bitfixer/dg/z88dk/libsrc/zx81/chroma81/zx_pxy2aaddr.asm
; uchar *zx_pxy2aaddr(uchar xcoord, uchar ycoord)
; CALLER linkage for function pointers

PUBLIC zx_pxy2aaddr

EXTERN zx_pxy2aaddr_callee
EXTERN ASMDISP_ZX_PXY2AADDR_CALLEE

.zx_pxy2aaddr

   pop af
   pop de
   pop hl
   push hl
   push de
   push af
   
   ld h,e
   jp zx_pxy2aaddr_callee + ASMDISP_ZX_PXY2AADDR_CALLEE
