?? password.c
字號:
Test_Front_Panel_flag=0;
#endif
return;
}
}
else
{
op_tray_count=0;
}
if(rx==Custm_Password[custm_count])
{
custm_count++;
if(custm_count>=PASSWORD_TOTAL_DIGITAL)
{
display_custm_menu();
return;
}
}
else
{
custm_count=0;
}
#endif
#ifdef ORITRON_SET_DEFAULT
if(rx==oritron_set_default_password[op_set_default_count])
{
op_set_default_count++;
if(op_set_default_count>=ORITRON_MAX_NUMBER)
{
PrintOsdMsg(STR_OS_SET_DEFAULT , REGION2, 2, 0);
set_default_value();
reset_amp_variable(); //OP FCR 2005-10-11 16:49
run_set_variable();
run_save_total_sel();
rep_mode = REPEAT_IDLE;//libing 2005-6-29 21:42
rep_ab_mode = REPEAT_AB_IDLE;
prog_func_clear();
shuffle_flag=0;
#ifdef SUPPORT_BOOK //hongfeng 2005-08-22
cancel_bookmark();
#endif
#ifdef DVD_5_DISC_RESUME//lijd 2005-6-22 16:38
Clear5DVDResumeInfo();
#endif
#ifdef SUPPORT_TEN_DISC_RESUME //hongfeng add 2005-09-22
//RsmInfo2Flash(1);
ClearDVDResumeInfo();
#endif
set_tuner_default_value(); //opv-joke: set tuner default data when press 76000
//
printf("joke: =========== set default data =====================\n");
delay_srv_10ms(20);
call_ir_func(IRC_POWER);
return;
}
}else
{
op_set_default_count = 0;
}
#endif
#ifdef ORITRON_PARENTAL_PASSWORD
if(rx==oritron_parent_password[op_parent_count])
{
op_parent_count++;
if(op_parent_count>=ORITRON_MAX_NUMBER)
{
PrintOsdMsg(STR_OS_CLAER_PWD , REGION2, 2, 0);
UserSet.parent_passwd = DEFAULT_PASSWORD;
UserSet.parental_ststus = 1;
op_parent_pwd_flag = 1;
setup_VA[SETUP_VA_PASSWORD] = 2+1;
run_set_variable();
run_save_total_sel();
return;
}
}
else
{
op_parent_count = 0;
}
#endif
#ifdef TEST_VFD_PANNEL_AND_KEY //test front pannel password lijd 2005-5-8 14:05
if(rx==oritron_test_panel_password[op_test_panel_count])
{
op_test_panel_count++;
printf("==========76==============\n");
if(op_test_panel_count>=ORITRON_MAX_NUMBER)
{
printf("==========88==============\n");
op_test_panel_count=0;
Test_Front_Panel_flag=1;
return;
}
}
else
{
op_test_panel_count=0;
}
#endif
} //if( (play_state==VCD_STATE_IDLE)||(play_state==VCD_STATE_OPEN) )
#ifdef TEST_VFD_PANNEL_AND_KEY//lijd 2005-5-8 14:05
else
{
Test_Front_Panel_flag=0;
}
#endif
}
#endif//#ifdef ORITRON_PASSWORD//libing 2005-4-25 10:07
#ifdef SHOW_FLASH_CODE //kaiji
int fcode_count =0;
BYTE showfcode_flag =1;
#endif
static inline void standard_chk_password(UINT8 rx)
{
#if defined(ALCO_DVD_UI)
if(play_state==VCD_STATE_OPEN)
#else
if( (play_state==VCD_STATE_IDLE)||(play_state==VCD_STATE_OPEN) )
#endif
{
#ifdef SHOW_FLASH_CODE //kaiji
if (rx == 1)
fcode_count = 1;
else if (rx == 2)
fcode_count = (fcode_count == 1) ? 2 : 0;
else if (rx == 0)
fcode_count = (fcode_count == 2) ? 3 : 0;
else if (rx == 5 && fcode_count == 3)
{
fcode_count = 0;
showfcode_flag = !showfcode_flag;
if (full_scrn&CUSTM){
display_custm_menu();
display_custm_menu();}
return;
}
else fcode_count = 0;
#endif
if (full_scrn&SETUP)
{
custm_count=0;
#ifdef SUPPORT_PASSWD2
custm_count1=0;
#endif
}
if(rx==Custm_Password[custm_count])
{
custm_count++;
if(custm_count>=PASSWORD_TOTAL_DIGITAL)
{
#ifdef QSI_PLATFORM //qsi: added by johnson 20040713
version_show_entry=VER_SHOW_VIA_NORMAL;
#endif
#ifdef SHOW_FLASH_CODE //kaiji
showfcode_flag = 1;
#endif
display_custm_menu();
return;
}
}
#if defined ( AD_TCL) || defined(AD_HL_USE)//2004-3-22 14:51 lijd // lxg 2006-7-22 02:18
else if (rx==inter_Pass[inter_count])
{
inter_count++;
if(inter_count>=4)
{
#ifdef AD_HL_USE // lxg 2006-7-22 02:18
int i=0x06ff; // 0x2fff
while(i--)
{
psprintf(linebuf,MACRO_VER);
strcpy(RegionValStr[REGION2], linebuf);
PrintOsdMsg(STR_OS_SPACE, REGION2, 1, 1);
}
macro_count=0;
#endif
psprintf(linebuf,INTER_VER);
strcpy(RegionValStr[REGION2], linebuf);
PrintOsdMsg(STR_OS_SPACE, REGION2, 1, 1);
inter_count=0;
return;
}
}
else if (rx==macro_Pass[macro_count])
{
macro_count++;
if(macro_count>=4)
{
psprintf(linebuf,MACRO_VER);
strcpy(RegionValStr[REGION2], linebuf);
PrintOsdMsg(STR_OS_SPACE, REGION2, 1, 1);
macro_count=0;
return;
}
}
#endif
#ifdef PAUSE_PREV_DISPLAY_MACROVISION_VERSION //Jack added for Alco Portable
else if(rx == Macrovision_Version_Password[MACVersion_count])
{
MACVersion_count++;
//osd_tog_region(REGION1,OSD_OFF);
//PrintOsdMsg(STR_OS_SPACE, REGION1, 1, 0);
if(MACVersion_count>=2)
{
psprintf(linebuf,MACROVISION_STRING);
#ifdef SDRAM_16Mb_Mode
strcpy(RegionValStr[REGION1], linebuf);
PrintOsdMsg(STR_OS_SPACE, REGION1, 2, 1);
#else
strcpy(RegionValStr[REGION2], linebuf);
PrintOsdMsg(STR_OS_SPACE, REGION2, 2, 1);
#endif
return;
}
}
#endif//#ifdef PAUSE_PREV_DISPLAY_MACROVISION_VERSION //Jack added for Alco Portable
else
{
#if defined ( AD_TCL) || defined(AD_HL_USE)//2004-3-22 14:51 lijd // lxg 2006-7-22 02:18
macro_count=0;
inter_count=0;
#endif
custm_count=0;
}
#ifdef SUPPORT_PASSWD2
if(rx==Custm_Password1[custm_count1])
{
custm_count1++;
if(custm_count1>=4)
{
#ifdef QSI_PLATFORM //qsi: added by johnson 20040713
version_show_entry=VER_SHOW_VIA_SPECIAL;
#endif
display_custm_menu();
only_disp_setup_menu=1;
return;
}
} else
{
custm_count1=0;
}
if(only_disp_setup_menu==1)
{
ExitSetupPage(1);
only_disp_setup_menu = 0;
}
#endif
#ifdef SUPPORT_PASSWD3
if( full_scrn==(SETUP|CUSTM) )
{
if(rx==Custm_Password3[custm_count3])
{
custm_count3++;
if(custm_count3>=4)
{
setup_audio_mode=1;
chg_audio_default_mode();
}
} else
{
custm_count3=0;
}
}
#endif
#ifdef DVD_SERVO
if(rx==Servo_Password[servo_count]) { //Jeff 20030818
servo_count++;
if(servo_count>=8) {
servo_count=0;
psprintf(RegionValStr[REGION2], "%s", GetServoCodeVersion());
PrintOsdMsg(STR_OS_SPACE, REGION2, 10, 1);
return;
}
} else {
servo_count=0;
}
#endif
#ifdef WATCH_LOADER_ID
if(rx==Loader_Password[LoaderId_count]) {
extern char Loader_ID[28];//kenny 2002/11/22
LoaderId_count++;
if(LoaderId_count>=4) {
LoaderId_count=0;
psprintf(RegionValStr[REGION3], "LOADER ID: %s", &Loader_ID[0]);
PrintOsdMsg(STR_OS_SPACE, REGION3, 0, 1);
return;
}
} else {
LoaderId_count=0;
}
#endif //#ifdef WATCH_LOADER_ID
#if defined (SUPPORT_SPG_GAME) && !defined (DVDRELEASE) && defined (SPG_ICE)
if(rx==ICE_Password[ICEId_count]) {
extern void FS_ICEMainLoop();
ICEId_count++;
if(ICEId_count>=4) {
ICEId_count=0;
FS_ICEMainLoop();
return;
}
} else {
ICEId_count=0;
}
#endif //#ifdef WATCH_LOADER_ID
} //if( (play_state==VCD_STATE_IDLE)||(play_state==VCD_STATE_OPEN) )
}
#ifdef PULIANG_PASSWORD //yaowh add 04-12-22
static inline void puliang_chk_password(UINT8 rx)
{
if ( (rx==Custm_Password[custm_count])&&(full_scrn&SETUP) )
{
custm_count++;
if(custm_count>=4)
{
display_custm_menu();
return;
}
}
else if( (rx==Custm_Password_1[custm_count_1])&&(play_state==VCD_STATE_OPEN) )
{
custm_count_1++;
if(custm_count_1>=4)
{
PrintOsdMsg(FIRM_WARE_VER , REGION1, 0, 0);
return;
}
}
else if( (rx==Custm_Password_2[custm_count_2])&&(play_state==VCD_STATE_OPEN) )
{
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -