📄 main.cpp
字号:
/***************************************************************/
/* Test para 2700 */
/***************************************************************/
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include "api_277_lib.h"
#include <stddefs.h>
#include "sti5518.h"
/**** Variables globales ****/
int base_ram[0xDC000];//Espacio reservado para no tocar la memoria del prog. de ellos
/******** Forward declarations ***********/
extern void front(void);
int dummy_block(void)
#pragma ST_section(dummy_block,"mi_code")
{
return 0;
}
void init_fn(int arg1) //Inicializar funciones que dependen de OS20
{
front(); //Control remoto y teclado
}
int main(void)
{
//Saltar a la aplicacion
__asm
{
ldc 0x80000140;
gajw;
ldc 0x7FFEFFFE;//Modificado para el bin 2700 convertido sin compactar
gcall; //Debia decir normalmente 7FFEFFFE
}
}
/******************* end of file *************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -