A89: help with ti-gcc
[Prev][Next][Index][Thread]
A89: help with ti-gcc
Can somebody help me? I am getting an error:
Undefined Reference to 'bcopy'
I have no idea what this means. I am using the TI-GCC IDE.
THANX
Dan
Here is my code:
#include <nostub.h>
#include <all.h>
#include <sprites.h>
int _ti89; // Produce .89Z file
// Main Function
int _main()
{
// Place your code here.
LCD_BUFFER buffer;
int i = 0;
int j = 0;
static unsigned int block[] = {0xFF,0xC3,0xA5,0x99,0x99,0xA5,0xC3,0xFF};
int level[7][7] = {{1,1,1,1,1,1,1},
{1,0,0,0,0,0,1},
{1,0,0,0,0,0,1},
{1,0,0,0,0,0,1},
{1,0,0,0,0,0,1},
{1,0,0,0,0,0,1},
{1,1,1,1,1,1,1}};
LCD_save(buffer);
SetCurAttr(A_NORMAL);
ClrScr();
for(i=0;i<7;i++){
for(j=0;j<7;j++){
if(level[i][j] == 1) Sprite16 (j*8, i*8, 8, block, LCD_MEM,
SPRT_OR);
}
}
ngetchx();
ClrScr();
LCD_restore(buffer);
return 0;
}
Follow-Ups: