BIFROSTL_getTile_callee.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/arch/zx/bifrost_l/c/sccz80/BIFROSTL_getTile_callee.asm
; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR THE BIFROST* ENGINE - RELEASE 1.2/L
;
; See "bifrost_l.h" for further details
; ----------------------------------------------------------------

; unsigned char BIFROSTL_getTile(unsigned int px, unsigned int py)
; callee

SECTION code_clib
SECTION code_bifrost_l

PUBLIC BIFROSTL_getTile_callee

BIFROSTL_getTile_callee:

        pop hl          ; RET address
        pop bc          ; BC=py
        ex (sp),hl      ; HL=px

        INCLUDE "arch/zx/bifrost_l/z80/asm_BIFROSTL_getTile.asm"
