?? sanosentry.c
字號:
// file: SanOSentry.c
// by : Sanicle
// ver : 2005.03.20
// from: http://3mn.net
// This file is used to test SanOSlib on Samsung2410
#include <stdlib.h>
#include <string.h>
#include "def.h"
#include "2410lib.h"
#include "SanOSlib.h"
#include "Drivers\SanDriverMouse.h"
#include "Drivers\SanDriverLCD.h"
#include "SanOSgui.h"
/////////// C Entry Point ////////////
void Starting(void)
{
// Initialize Uart
Uart_Init();
Uart_SendString("\n #############################\n");
Uart_SendString(" ## SanOS BootLoader 0.2 ##\n");
Uart_SendString(" #############################\n\n");
pISR_UART1 = (U32)MouseInterrupt;
mouseInit();
// Test LCD
// Run SanOS_GUI
// 640*480 LCD or CRT Display
Lcd_Tft_8Bit_640480_Init();
Lcd_Tft_8Bit_640480_GUI();
for(;TRUE;)
{
Delay(3000000);
Uart_SendString("SanOS\n");
}
//Finish Starting will goto 0x0
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -