Ignore:
Timestamp:
07/24/09 18:55:32 (3 years ago)
Author:
debrouxl
Message:

library: add ClipSprite8/16/32 routines (with explicit register parameters) and some documentation.
These routines are based on an implementation by Joey Adams, contributed to TIGCC in 2005 (at the same time as the Sprite* merged in GCC4TI several weeks ago).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tigcc/include/C/sprites.h

    r1360 r1361  
    66/* Begin Auto-Generated Part */ 
    77enum SprtModes{SPRT_XOR,SPRT_OR,SPRT_AND,SPRT_RPLC}; 
     8extern 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__; 
     9extern void ClipSprite16(short asm("d0"),short asm("d1"),short asm("d2"),__cpushort asm("a0"),void* asm("a1"),short asm("d3"))__ATTR_LIB_ASM__; 
     10extern void ClipSprite32(short asm("d0"),short asm("d1"),short asm("d2"),__cpulong asm("a0"),void* asm("a1"),short asm("d3"))__ATTR_LIB_ASM__; 
    811extern 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__; 
    912extern void Sprite16(short asm("d0"),short asm("d1"),short asm("d2"),__cpushort asm("a0"),void* asm("a1"),short asm("d3"))__ATTR_LIB_ASM__; 
Note: See TracChangeset for help on using the changeset viewer.