0 Members and 2 Guests are viewing this topic.
How fast are they? An inline function would be better, I could make one if i knew the addresses.
int PRGM_GetKey(){unsigned char buffer[12]; PRGM_GetKey_OS( buffer );return ( buffer[1] & 0x0F ) * 10 + ( ( buffer[2] & 0xF0 ) >> 4 );}
Ok that's good then. I was a bit worried X.x
#define D_VRAM GetVRAMAddress();
Thanks, though it would be faster to create a pointer that has the address rather than calling the function every time the address is needed. I guess the large space needed is one of the downsides of having a 16 bit color screen 384*216*2 bytes = 165888 bytes. Is there a way to stop the screen from updating while graphics are drawn to the VRAM to eliminate flicker? (Come to think of it, that is actually a lot more efficient than using a screen buffer.)
What LCD controller does it use?