Thank You. That works very well.
Another problem I am facing is that content is being displayed in segments.
I analysed the function calls and found that the disp_flush function is called around 8 times with different area segments segments.
For eg the first call to disp_flush is with area segments X1 = 0, X2=64 and Y1=0, Y2=8
the second call to disp_flush is with area segments X1 = 0, X2=64 and Y1=8, Y2=16
and so on…
**How can I increase speed of display process ? **