Hello
I develop a drivers for t6963c controllers. I try to develop a doublebuffer.
However i don't understand this specification.
I tested by writing in RAM an image :
example :
#define frontbuffer 0x0000
#define backbuffer 0x0850
and used that to display
Code:
void InitBuffer(int buffer)
{
if(buffer==0)
{
G_BASE=0x0000;
/* SET GRAPHICS HOME ADDR */
WriteData(G_BASE & 0xFF); // Data1: LowAddress graphic home addr
WriteData(G_BASE >> 8); // Data2: HighAddress
WriteCtrl(SET_GRAPHICS_HOME_ADDR); // Command: 0x42 -> 01000010
}
if(buffer==1)
{
G_BASE=0x0850;
/* SET GRAPHICS HOME ADDR */
WriteData(G_BASE & 0xFF); // Data1: LowAddress graphic home addr
WriteData(G_BASE >> 8); // Data2: HighAddress
WriteCtrl(SET_GRAPHICS_HOME_ADDR); // Command: 0x42 -> 01000010
}
}
i think it is false...
someone , use doublebuffer for t6963c?