?? testgba.c
字號:
#include "Gba_Include.h"
void jjjdelay(void)
{
unsigned int delay;
for(delay=0;delay<0xA0FF0;delay++);
}
main()
{
unsigned short int i;
GBA_Initial();
GBA_CleanToColor(&GBA_LcdScreen,GBA_COLOR16_SKYBLUE);
while(1)
{
GBA_CleanToColor(&GBA_LcdScreen,GBA_COLOR16_SKYBLUE);
GBA_SetBitmapMode(&GBA_LcdScreen,COPY_MODE);
GBA_SetBitmapPenFrontColor(&GBA_LcdScreen,GBA_COLOR16_LIME);
GBA_TextOut(&GBA_LcdScreen,0,0,"abc我是好人");
GBA_LcdScreen.PenAlpha = (GBA_LcdScreen.PenAlpha+1)&0xFF;
GBA_SetBitmapMode(&GBA_LcdScreen,TRANSPANRENT_MODE);
GBA_SetBitmapPenFrontColor(&GBA_LcdScreen,GBA_COLOR16_RED);
GBA_TextOut(&GBA_LcdScreen,0,0,"edc他億度偶臺");
jjjdelay();
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -