1; void __CALLEE__ *sp1_TileEntry_callee(uchar c, void *def) 2; 02.2006 aralbrec, Sprite Pack v3.0 3; sinclair spectrum version 4 5PUBLIC sp1_TileEntry_callee 6PUBLIC ASMDISP_SP1_TILEENTRY_CALLEE 7EXTERN SP1V_TILEARRAY 8 9.sp1_TileEntry_callee 10 11 pop hl 12 pop de 13 pop bc 14 push hl 15 16.asmentry 17 18; Associate a new graphic with character code passed in. 19; 20; enter : de = address of udg graphic to associate with character code 21; c = char code 22; exit : hl = old udg graphic associated with char code 23; uses : af, b, de, hl 24 25.SP1TileEntry 26 27 ld hl,SP1V_TILEARRAY 28 ld b,0 29 add hl,bc 30 ld a,(hl) 31 ld (hl),e 32 ld e,a 33 inc h 34 ld a,(hl) 35 ld (hl),d 36 ld h,a 37 ld l,e 38 39 ret 40 41DEFC ASMDISP_SP1_TILEENTRY_CALLEE = asmentry - sp1_TileEntry_callee 42