0 Members and 1 Guest are viewing this topic.
// C Source File// Created 8/23/2012; 1:28:04 PM#include <tigcclib.h>// Main Functionvoid _main(void){ unsigned char pkball[5] = {0x70,0x88,0xF8,0x88,0x70}; ClrScr(); ClipSprite8(10, 10, 5, pkball, LCD_MEM, SPRT_XOR); ngetchx();}
I don't understand what do you mean by "compiling GCC4TI myself" ?
Then you probably are not compiling GCC4TI yourself I meant: updatesrc, scripts/Install, the INSTALL file for *nix, etc.
What exact version of GCC4TI are you using ? 0.96 Beta 10 with, or without the errata ?
#ifndef __SPRITES#define __SPRITES#include <default.h>/* Begin Auto-Generated Part */enum SprtModes{SPRT_XOR,SPRT_OR,SPRT_AND,SPRT_RPLC};extern void ClipSprite8(short asm("d0"),short asm("d1"),short asm("d2"),const unsigned char* asm("a0"),void* asm("a1"),short asm("d3"))__ATTR_LIB_ASM__;extern void ClipSprite16(short asm("d0"),short asm("d1"),short asm("d2"),__cpushort asm("a0"),void* asm("a1"),short asm("d3"))__ATTR_LIB_ASM__;extern void ClipSprite32(short asm("d0"),short asm("d1"),short asm("d2"),__cpulong asm("a0"),void* asm("a1"),short asm("d3"))__ATTR_LIB_ASM__;extern void Sprite8(short asm("d0"),short asm("d1"),short asm("d2"),const unsigned char* asm("a0"),void* asm("a1"),short asm("d3"))__ATTR_LIB_ASM__;extern void Sprite16(short asm("d0"),short asm("d1"),short asm("d2"),__cpushort asm("a0"),void* asm("a1"),short asm("d3"))__ATTR_LIB_ASM__;extern void Sprite32(short asm("d0"),short asm("d1"),short asm("d2"),__cpulong asm("a0"),void* asm("a1"),short asm("d3"))__ATTR_LIB_ASM__;/* End Auto-Generated Part */#endif