-->
0 Members and 1 Guest are viewing this topic.
void plot(int x0, int y0, int color) { char* VRAM = (char*)0xA8000000; VRAM += 2*(y0*LCD_WIDTH_PX + x0); *(VRAM++) = (color&0x0000FF00)>>8; *(VRAM++) = (color&0x000000FF); return;}
inline void plot(unsigned short x0, unsigned short y0, unsigned short color) { unsigned short* VRAM = (unsigned short*)0xA8000000; VRAM += (y0*LCD_WIDTH_PX) + x0; *VRAM = color;}
"welcome to the world of computers, where everything seems to be based on random number generators"
I am curious about how fast this would be in computer Lua on a 150 MHz computer with 64 MB of RAM compared to the Lua TI gave us.