📄 infonesmain.h
字号:
/****************************************************************************************************************
*
* Project : GameCD Player
* Module : Game Emulator
*
* Copyright : (c) 2004, Samsung India Software Operations,
* All Rights Reserved.
* This software is the confidential and proprietary information
* of Samsung Electronics, Inc. (Confidential Information). You
* shall not disclose such Confidential Information and shall use
* it only in accordance with the terms of the license agreement
* you entered into with Samsung Electronics.
*
* File : MMN/GEmu/GApp.h
* Date : 11th of May, 2004
*
* Author(s) :
* Vijay Kumar S - vijaysk@samsung.com
* Bramhanandan K - brahma@samsung.com
*
* Department : System LSI Division, SISO.
*
* Platform : S5H5002 DVD Player, ARM9TDMI
* Compiler : armcc version 2.5.1
*
* File Desc. : Contains Functions Desc of those used in InfoNESMain.c
*
* History :
*
****************************************************************************************************************/
#ifndef __INFONESMAIN_H__
#define __INFONESMAIN_H__
#define USE_VP
#define USE_RCU
#define GAME_MSG_QUEUE "GAM_MSG"
#define GAME_MSG_QUEUE_SIZE 1
#define GAME_MSG_SIZE sizeof (MMN_MSG_ST)
#define GAME_TASK_ID "GAM_TAS"
#define GAME_TASK_STACKSIZE (5*1024)
#define GAME_TASK_PRIORITY 2
#define GAME_TASK_TIME_SLICE 10
#define GAME_BINARY_SIZE ( 1024 * 256 )
#define GAME_NO_SECTORS 5
/* In case of malata cd, First 5 items r PBC menus so actual games
location will be game number + 5
*/
#define NAV_ERROR_EN UINT
#define NAV_FAILURE -1
#define NAV_SUCCESS 1
#define MALATA_GAME_START_LOCATION 5
#define GFB_NO_PTRS 360
#define GFB_NO_Y_PTRS 240
#define GFB_NO_C_PTRS 120
#define GFB_START_Y_IDX 0
#define GFB_END_Y_IDX GFB_NO_Y_PTRS
#define GFB_START_C_IDX GFB_END_Y_IDX
#define GFB_END_C_IDX GFB_NO_PTRS
#define GFB_SRC_STARTX 0
#define GFB_SRC_STARTY 0
#define GFB_SRC_HEIGHT 240
#define GFB_SRC_WIDTH 256
#define GFB_DST_HEIGHT 480
#define GFB_DST_WIDTH 720
struct NesHeader_tag_2
{
unsigned char byInfo1;
unsigned char byRomSize :4;
unsigned char byVRomSize :4;
};
// NAV_ERROR_EN InfoNES_InitFileSystem();
NAV_ERROR_EN InfoNES_LoadBin300CD(UINT16 i16Index);
void InfoNES_ClearScreen();
// void InfoNES_WriteText(UINT16 whichText, INT16 letters);
// void InfoNES_WriteText_DUM(UINT16 whichText1, INT16 letters1);
// void InfoNES_WriteText_DUM1(UINT16 whichText1, INT16 letters1);
// void InfoNES_WriteText_DUM2(UINT16 whichText1, INT16 letters1);
// void InfoNES_WriteText_DUM3(UINT16 whichText1, INT16 letters1);
// void InfoNES_WriteText_DUM4(UINT16 whichText1, INT16 letters1);
void InfoNES_300CdCorrections();
void InfoNES_EndGameApp();
void InfoNES_HandleGame ( void );
void InfoNES_GameRed( void );
void SetGameCdType ( UINT8 type);
void InfoNES_ClearScreen(void);
void InfoNES_ReadRomMalataCD(UINT gameNo);
void InfoNES_300CdCorrections ( UINT8 *romArea );
int InfoNES_RemoteKeyHandle();
UINT8 InfoNES_MalataVBlankCorrection(UINT16 gameNo);
UINT8 GetGameCdType(void);
UINT8* InfoNES_GetBinAddr ( void );
void Disp_Sprite (BYTE Pchar,int nX);
#endif /* __INFONESMAIN_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -