16-bit 320*240 bitmap size of 150K bytes, and for the em-stm3210e Development Board, the RAM only 128K, far enough to display a complete bitmap, Red Bull's Development Board even if there is 256K of RAM, but the plane to heap, stack and tinyclr itself, the rest is not much. , so a full-screen bitmap must be displayed in blocks.
But this brings two problems, a picture to block production, quite cumbersome, but this can upgrade the Tbconvert program, so that it supports automatic block function, this problem is solved perfectly. The next question, from the flash need a certain time, display also need a certain time, so that the process of displaying Full-screen bitmap, is from top to bottom, a piece of the picture block in turn, the effect is not very good. Fortunately LCD drive, the 7th Register can control the display process, you can update the video memory data, do not update the screen, but this process should not be too long, or LCD screen will have an ugly article appears.
After the upgrade of the Tbconvert program as follows, you can set the number of blocks to be divided, note that the height must divide the number of blocks:
Tbconvert Download Address: Http://www.sky-walker.com.cn/yefan/MFV40/TBConvert.exe
For the second issue, upgrade the Tinygui library and add the following two functions:
public static void SuspendLayout(); //挂起更新
public static void ResumeLayout(); //恢复更新
OK, we use the drawing tool, make three 240*320 bitmap, after making good, use Tbconvert to divide into 4 paragraphs then save. Then use the Yfaccessflash tool, the three bitmap download to custom to go, before downloading remember to first empty flash (press erase button), three pictures together to download.