Guest User

Untitled

a guest
Jan 23rd, 2012
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. void scroll_down(void) {
  2. uint16_t temp;
  3.  
  4. if (GETY >= ROWS) {
  5. temp = GETY - ROWS + 1;
  6. memcpy(pScreen, pScreen + temp*COLS, (ROWS - temp) * COLS * 2);
  7. memsetw(pScreen + (ROWS-temp) *COLS, blank, COLS);
  8. gpos = 1920;
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment