Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void FT800String (char *s){
- int length, n, tmp = 0;
- length = strlen(s) + 1;
- wr32(RAM_DL + tmp, CLEAR(1, 1, 1));
- wr32(RAM_DL + tmp+4, BEGIN(BITMAPS));
- for(n = 0; n < length; n++){
- wr32(RAM_DL + tmp, VERTEX2II(220+(8*n), 110, 19, *s));
- tmp=tmp+4;
- }
- wr32(RAM_DL + tmp+4, END());
- wr32(RAM_DL + tmp+8, DISPLAY());
- wr32(REG_DLSWAP, 1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement