关于进度条问题!!!
在TC-256模式下如何实现用下面的画点函数编写一个进度条函数~~~!请高手指点~~point(unsigned long i,unsigned long j,unsigned char B,unsigned char G,unsigned char R)
{static oldpage=0,newpage=0;
if (i>=640||j>=480) return;
newpage=(j*2560+i*4)/65536;
if (newpage!=oldpage) {selectpage(newpage);oldpage=newpage;}
pokeb(0xa000,(j*2560+i*4+0)%65536,B);
pokeb(0xa000,(j*2560+i*4+1)%65536,G);
pokeb(0xa000,(j*2560+i*4+2)%65536,R);
}