0 Members and 3 Guests are viewing this topic.
char* scrbuf = (char*) malloc(SCREEN_BYTES_SIZE);line(scrbuf, x1, x2, y1, y2);refresh(scrbuf);
BUt what value do I use for scrbuf? Also, is there a way to draw a line directly to the screen?
What Bwang said. Plus you won't get flickering when stuff moves around (and needs to be erased to do so). I don't know how Nspire ASM/C compares to 83+ Axe, but on 83+ Axe, inverting the entire screen bit by bit takes about 20-30 seconds for 6144 pixels if you draw directly to the LCD. When storing to the buffer then only updating the screen once everything is done, it took about half a second.