1; void sp1_PrintAtInv(uchar row, uchar col, uchar colour, uint tile) 2 3SECTION code_clib 4SECTION code_temp_sp1 5 6PUBLIC _sp1_PrintAtInv 7 8EXTERN asm_sp1_PrintAtInv 9 10_sp1_PrintAtInv: 11 12 ld hl,2 13 add hl,sp 14 15 ld d,(hl) 16 inc hl 17 inc hl 18 ld e,(hl) 19 inc hl 20 inc hl 21 ld a,(hl) 22 inc hl 23 inc hl 24 ld c,(hl) 25 inc hl 26 ld b,(hl) 27 28 jp asm_sp1_PrintAtInv 29