A89: Help! Sprite Question!


[Prev][Next][Index][Thread]

A89: Help! Sprite Question!




Hello,
I am curious if anyone knows the routine(s) for displaying
8x8,16x16, or 32x32 sprites in a C program for the 89.

I have the following data already. I used the TI-GCC Sprite
Editor to convert the pictures into data. Now how do I use 
the following data? Please help!!!

Here's the 32x32 sprite:

sword[]={ 0x0, 0x38000, 0x7C000, 0x7C000, 0x38000, 0x28000, 0x38000,
0x38000, 0x38000, 0x28000, 0x3FF800, 0x400400, 0x3FF800, 0x5C000,
0x4C000, 0x85C000, 0x144C000, 0x85C000, 0x4C000, 0x5C000, 0x4C000,
0x5C000, 0x4C000, 0x5C000, 0x4C000, 0x5C400, 0x4CA00, 0x5C400, 0x28000,
0x10000, 0x0, 0x0};
swmask[]={ 0x0, 0x38000, 0x6C000, 0x54000, 0x38000, 0x28000, 0x28000,
0x28000, 0x28000, 0x28000, 0x3FF800, 0x400400, 0x3FF800, 0x64000,
0x874000, 0x64000, 0x2274000, 0x64000, 0x874000, 0x64000, 0x74000,
0x64000, 0x74000, 0x64000, 0x74400, 0x64000, 0x75100, 0x64000, 0x38400,
0x10000, 0x0, 0x0};

S. Thompson



Follow-Ups: