⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nvcmd.h

📁 车载电子影音系统dvd播放系统原程序代码
💻 H
字号:
#ifndef     __NVCMD_H__
#define     __NVCMD_H__

#ifdef __cplusplus
   extern "C"{
#endif

// ** TCH0.29; begin...
// There are 15 kinds of NV command, Ref VI 4-180
// the output after executing the NV command
extern  BYTE    __bReturnState;
// the parameters for output state
extern  WORD    __wReturnParameter;
extern  WORD    __wReturnParameter2;
// DVD_155Micky, must record the cell number for resume
// fix "dinosaur" 1/28-> back to menu-> can play from TT/CC 01/01
// the Cell number to resume
extern BYTE __bNVRSMCN;

//DVD_050Micky
extern WORD  __wStoreSPRM13;
// ** TCH0.29; end...

#define NV_GOTO_BASE        0
#define NV_GOTO_CMD         (NV_GOTO_BASE+1)
#define NV_NOP              (NV_GOTO_BASE+2)
#define NV_EXIT_CMD_AREA    (NV_GOTO_BASE+3)
#define NV_GOTO_LENGTH      10

#define NV_LINK_BASE        (NV_GOTO_BASE+NV_GOTO_LENGTH)
#define NV_LINK_PGCN        (NV_LINK_BASE+1)
#define NV_LINK_PTTN        (NV_LINK_BASE+2)
#define NV_LINK_PG          (NV_LINK_BASE+3)
#define NV_LINK_CN          (NV_LINK_BASE+4)
#define NV_LINK_NOLINK      (NV_LINK_BASE+5)
#define NV_LINK_TOPC        (NV_LINK_BASE+6)
#define NV_LINK_NEXTC       (NV_LINK_BASE+7)
#define NV_LINK_PREVC       (NV_LINK_BASE+8)
#define NV_LINK_TOPPG       (NV_LINK_BASE+9)
#define NV_LINK_NEXTPG      (NV_LINK_BASE+10)
#define NV_LINK_PREVPG      (NV_LINK_BASE+11)
#define NV_LINK_TOPPGC      (NV_LINK_BASE+12)
#define NV_LINK_NEXTPGC     (NV_LINK_BASE+13)
#define NV_LINK_PREVPGC     (NV_LINK_BASE+14)
#define NV_LINK_GOUPPGC     (NV_LINK_BASE+15)
#define NV_LINK_TAILPGC     (NV_LINK_BASE+16)
#define NV_LINK_RSM         (NV_LINK_BASE+17)
#define NV_LINK_LENGTH      20

#define NV_JUMP_BASE        (NV_LINK_BASE+NV_LINK_LENGTH)
#define NV_JUMP_EXIT        (NV_JUMP_BASE+1)
#define NV_JUMP_TT          (NV_JUMP_BASE+2)
#define NV_JUMP_VTSTT       (NV_JUMP_BASE+3)
#define NV_JUMP_VTSPTT      (NV_JUMP_BASE+4)
#define NV_JUMP_ROOT_MENU   (NV_JUMP_BASE+5)
#define NV_JUMP_SUPIC_MENU  (NV_JUMP_BASE+6)
#define NV_JUMP_AUDIO_MENU  (NV_JUMP_BASE+7)
#define NV_JUMP_ANGLE_MENU  (NV_JUMP_BASE+8)
#define NV_JUMP_PTT_MENU    (NV_JUMP_BASE+9)
#define NV_JUMP_TITLE_MENU  (NV_JUMP_BASE+10)
#define NV_JUMP_FP_PGC      (NV_JUMP_BASE+11)
#define NV_JUMP_VMGM_PGC    (NV_JUMP_BASE+12)
#define NV_JUMP_LENGTH      20

BIT _NV_Compare(WORD wOPCode);
BIT _NV_Cmp_GoTo_Cmd(WORD wOPCode);
BIT _NV_SetCmp_LinkSIns(WORD wOPCode);
BIT _NV_Cmp_SetLinkSIns(WORD wOPCode);
BIT _NV_Cmp_Set_LinkSIns(WORD wOPCode);
BIT _NV_Cmp_Link_Cmd(WORD wOPCode);
BIT _NV_Cmp_Jump_Cmd(WORD wOPCode);
BIT _NV_Cmp_SetSystem(WORD wOPCode);
BIT _NV_SetSystemLink(WORD wOPCode);
BIT _NV_Cmp_Set(WORD wOPCode);
BIT _NV_SetLink(WORD wOPCode);
BIT _NV_Set(void);
BIT _NV_LinkSIns(void);
BIT _NV_Link(void);
BIT _NV_Jump(void);
BIT _NV_SetSystem(void);
WORD    _NV_Random(WORD wMaxValue);

BIT NV_ExecuteCommand(unsigned char *s8Command);
void NV_InitialParameters ( BYTE bCondition );  // ** TCH1.61a;  
#ifdef __cplusplus
   }
#endif

#endif      // __NVCMD_H__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -