osdmsg.c
来自「一个不错的硬盘播放器程序,包含VFD显示程序,红外线遥控程序,硬盘读写程序,及解」· C语言 代码 · 共 620 行 · 第 1/2 页
C
620 行
/* Copyright 1997, ESS Technology, Inc. *//* SCCSID @(#)osdmsg.c 1.60 2/6/98 *//* * $Log$ *//* * Leave all OSD messages here to save DRAM space. * * DON'T put one character messages here! They will take up more space * than those saved!! */#include "font.h"typedef struct { char *name; /* Name for C programming reference */ char osd[30]; /* Corresponding OSD */} OSDMSG;OSDMSG osdmsg[] = {#ifdef VCDROM {"e3_close", "CLOSE"}, {"e3_load", "LOAD"}, {"e3_marked", "MARKED"}, {"e3_open", "OPEN"}, {"e3_pirate", "PIRATE"}, {"e3_play", "PLAY"}, {"e3_return", "RETURN"}, {"e3_vcd11", "VCD 1.1"}, {"e3_vcd20", "VCD 2.0"}, {"e3_vcd30", "3.0"},#endif /* VCDROM */#ifdef CUST4 {"auto", " AUTO"}, {"auto_pause", {' ',FONT_AUTO_A,FONT_AUTO_B, 0}}, {"no_disc", "NO DISC"}, {"normal", "NORMAL"}, {"ntsc", " NTSC"}, {"osd_auto", "OSD-AUTO"}, {"osd_off", "OSD-OFF"}, {"osd_on", "OSD-ON"}, {"pal", " PAL"}, {"pbc", "PBC"}, {"pbc_off", "PBC-OFF"}, {"pbc_on", "PBC-ON"}, {"pause", {' ',FONT_PAUSE_A,FONT_PAUSE_B, 0}}, {"play", {' ',FONT_PLAY_A,FONT_PLAY_B, 0}}, {"resume", "RESUME"}, {"repeat_all", "REP ALL"}, {"repeat_off", "REP OFF"}, {"repeat_one", "REP 1"}, {"return", " RETURN"}, {"scene", " SCENE"}, {"search9", "DIGEST"}, {"select", " SELECT"}, {"sharp", " SHARP"}, {"soft", " SOFT"}, {"stereo", "ST"}, {"stop", "STOP"}, {"strobe", "FLASH"}, {"strobe9", "MULTI"}, {"time", " TIME"}, {"unknown_disc", "BAD DISC"}, {"v_index", " V INDEX"},#else#if defined(CUST3)||defined(P315) {"e_open", " OPEN"}, {"e_nodisc", "NO DISC"}, {"e_pal", " PAL"}, {"e_ntsc", " NTSC"}, {"e_vol", "VOL"}, {"e_freeze", " FREEZE"}, {"e_key", "KEY"}, {"e_end", "END"}, {"e_track", "TRACK"}, {"e_stop", " STOP"}, {"e_menu", "SPECIAL MENU"}, {"e_intro_1", "1.INTRO"}, {"e_disc_2", "2.DISC"}, {"e_track_3", "3.TRACK"}, {"e_disc_x", "X.DISC"}, {"e_track_x", "X.TRACK"}, {"e_exit_4", "4.EXIT"}, {"e_total", "TOTAL"}, {"e_step", " STEP"}, {"e_pause", " PAUSE"}, {"e_pbcon", "PBC ON"}, {"e_discchg", "DISC CHG"}, {"e_pbcoff", "PBC OFF"}, {"e_alldisc", "ALL DISC"}, {"e_vcd20", "VCD 2.0"}, {"e_pbc", "PBC"}, {"e_resume", "RESUME"}, {"e_vcd11", "VCD 1.1"}, {"e_audiocd", "AUDIO CD"}, {"e_program", "PROGRAM"}, {"e_shuffle", "SHUFFLE"}, {"e_error", "ERROR"}, {"e_mute", " MUTE"}, {"e_select", "SELECT"}, {"e_vcd", "VCD"}, {"e_close", " CLOSE"}, {"e_stereo", " STEREO"}, {"e_monol", " MONO L"}, {"e_monor", " MONO R"}, {"e_surround", "SURROUND"}, {"e_continue", "CONTINUE"}, {"e_repeat_one", "REPEAT ONE"}, {"e_repeat_all", "REPEAT ALL"}, {"e_repeat_a", "REPEAT A"}, {"e_repeat_ab", "REPEAT AB"}, {"e_play", " PLAY"}, {"e_next", " NEXT"}, {"e_prev", " PREV"}, {"e_return", " RETURN"}, {"e_exchg", "EXCHG"}, {"e_zoomin", "ZOOM IN"},#if defined(S215)||defined(P315) {"e_215_repeat_one", "REPT ONE"}, {"e_215_repeat_all", "REPT ALL"}, {"e_215_repeat_a", "REPT A-"}, {"e_215_repeat_ab", "REPT A-B"}, {"e_215_poweroff", " POWER OFF"},#ifdef DNR {"e_215_dnron", " DNR ON"}, {"e_215_dnroff", " DNR OFF"},#endif#ifdef K_OK {"e_215_kokon", "K-OK ON"}, {"e_215_kokoff", "K-OK OFF"},#endif#ifdef P315 {"e_215_intro_1", "1.DISC INTRO"}, {"e_215_disc_2", "2.DISC DIGEST"}, {"e_215_track_3", "3.TRACK DIGEST"}, {"e_215_exit_4", "4.EXIT"},#endif {"e_215_volume", "VOLUME"}, {"e_215_key", "KEY CONTROL"}, {"e_215_end", " END"}, {"e_215_locking", " LOCKING"}, {"e_215_cont", "CONT"}, {"e_215_intro_1_exit_3","1.DISC INTRO 3.EXIT"}, {"e_215_2_digest_menu", "2.DIGEST MENU"}, {"e_215_digest_menu", " -- DIGEST MENU -- "}, {"e_215_disc_1_exit_3", "1.DISC DIGEST 3.EXIT"}, {"e_215_track_2", "2.TRACK DIGEST"}, {"e_215_discscan", "DISC SCAN"}, {"e_215_locked", " LOCKED"}, {"e_215_vcd20", " VCD 2.0"}, {"e_215_vcd11", " VCD 1.1"}, {"e_215_oldpwd", "OLDPWD ----"}, {"e_215_passwd", "PASSWD ----"}, {"e_215_newpwd", "NEWPWD ----"}, {"e_215_again", "AGAIN ----"}, {"e_215_invalid", "INVALID"}, {"e_215_saving", "SAVING"}, {"e_215_prev", "PREVIOUS"}, {"e_215_poweron", " POWER ON"}, {"e_215_intro", " INTRO"}, {"e_215_nodisc", " NO DISC"}, {"e_215_random", "RANDOM"}, {"e_215_vocall", " VOCAL L"}, {"e_215_vocalr", " VOCAL R"}, {"e_215_program", "PROG"},#ifdef ECHO {"echo_on", "ECHO ON"}, {"echo_off", "ECHO OFF"}, {"mic_on", "MIC ON"}, {"mic_off", "MIC OFF"}, {"e_215_volm", "VOL MODE"}, {"e_215_echom", "ECHO MODE"}, {"e_215_echo", "ECHO"},#endif /* end of ifdef ECHO */#endif#ifdef BILINGUAL_OSD#if !(defined(S215)||defined(P315)) {"c_play", {' ',' ',' ', FONT_CN53, FONT_CN4, 0}}, {"c_error", {FONT_CN22, FONT_CN23, 0}}, {"c_open", {' ',' ',' ', FONT_CN10, FONT_CN11, 0}}, {"c_close", {' ',' ',' ', FONT_CN24, FONT_CN11, 0}}, {"c_stop", {' ',' ',' ', FONT_CN2, FONT_CN57, 0}}, {"c_audiocd", {FONT_CN8, FONT_CN9,'C','D', 0}}, {"c_next", {' ',' ',' ', FONT_CN64, FONT_CN67, 0}}, {"c_prev", {' ',' ',' ', FONT_CN66, FONT_CN67, 0}}, {"c_pause", {' ',' ',' ', FONT_CN1, FONT_CN2, 0}}, {"c_nodisc", {FONT_CN12, FONT_CN13, 0}}, {"c_track", {FONT_CN14, FONT_CN15, 0}}, {"c_disc_digest", {FONT_CN18, FONT_CN19, FONT_CN16, FONT_CN17, 0}}, {"c_track_digest", {FONT_CN14, FONT_CN15, FONT_CN16, FONT_CN17, 0}}, {"c_total", {FONT_CN33, FONT_CN14, FONT_CN15, 0}}, {"c_continue", {FONT_CN34, FONT_CN35, FONT_CN53, FONT_CN4, 0}}, {"c_shuffle", {FONT_CN40, FONT_CN35, FONT_CN53, FONT_CN4, 0}}, {"c_program", {FONT_CN41, FONT_CN42, FONT_CN53, FONT_CN4, 0}}, {"c_pbcon", {' ',' ','P','B','C', FONT_CN10, 0}}, {"c_pbcoff", {' ',' ','P','B','C', FONT_CN24, 0}}, {"c_repeatone", {FONT_CN45, FONT_CN14, FONT_CN43, FONT_CN44, 0}}, {"c_repeatall", {FONT_CN46, FONT_CN14, FONT_CN43, FONT_CN44, 0}}, {"c_alldisc", {FONT_CN46, FONT_CN13, FONT_CN43, FONT_CN44, 0}}, {"c_end", {FONT_CN52, FONT_CN54, 0}}, {"c_return", {' ',' ',' ', FONT_CN68, FONT_CN69, 0}}, {"c_select", {FONT_CN5, FONT_CN6, FONT_CN7, 0}}, {"c_exit", {FONT_CN62, FONT_CN63, 0}}, {"c_exchg", {FONT_CN55, FONT_CN13, 0}}, {"c_resume", {FONT_CN20, FONT_CN21, FONT_CN53, FONT_CN4, 0}}, {"c_zoom", {FONT_CN4, FONT_CN38, 0}}, {"c_discchg", {FONT_CN71, FONT_CN72, 0}}, {"c_mute", {' ',' ',' ', FONT_CN61, FONT_CN8, 0}}, {"c_step", {' ',' ',' ', FONT_CN45, FONT_CN70, 0}}, {"c_freeze", {' ',' ',' ', FONT_CN51, FONT_CN52, 0}}, {"c_intro", {FONT_CN14, FONT_CN39, FONT_CN65, FONT_CN4, 0}}, {"c_stereo", {FONT_CN25, FONT_CN26, FONT_CN27, 0}}, {"c_monol", {FONT_CN28, FONT_CN27, FONT_CN29, 0}}, {"c_monor", {FONT_CN30, FONT_CN27, FONT_CN29, 0}}, {"c_surround", {FONT_CN31, FONT_CN32, FONT_CN27, 0}}, {"c_repeata", {FONT_CN43, FONT_CN44, 'A', 0}}, {"c_repeatab", {FONT_CN43, FONT_CN44, 'A','B', 0}}, {"c_1_intro", {'1','.', FONT_CN14, FONT_CN39, FONT_CN65, FONT_CN4, 0}}, {"c_2_disc", {'2','.', FONT_CN18, FONT_CN19, 0}}, {"c_3_track", {'3','.', FONT_CN14, FONT_CN15, 0}}, {"c_4_exit", {'4','.', FONT_CN62, FONT_CN63, 0}}, {"c_x_disc", {'X','.', FONT_CN18, FONT_CN19, 0}}, {"c_x_track", {'X','.', FONT_CN14, FONT_CN15, 0}},#else /* 215 chinese osd */ {"c_play", {' ',' ',' ', FONT_CN29, FONT_CN30, 0}}, {"c_error", {' ', 0}}, {"c_open", {' ',' ',' ', FONT_CN10, FONT_CN9, 0}}, {"c_close", {' ',' ',' ', FONT_CN8, FONT_CN9, 0}}, {"c_stop", {' ',' ',' ', FONT_CN15, FONT_CN50, 0}}, {"c_audiocd", {' ',' ',' ',' ',' ','C','D', FONT_CN7, 0}}, {"c_next", {' ',' ', FONT_CN58, FONT_CN31, FONT_CN12, 0}}, {"c_prev", {' ', FONT_CN59, FONT_CN31, FONT_CN12, 0}}, {"c_pause", {' ',' ',' ', FONT_CN14, FONT_CN15, 0}}, {"c_track", {FONT_CN12, FONT_CN13, 0}}, {"c_total", {FONT_CN26, FONT_CN12, FONT_CN13, 0}}, {"c_continue", {FONT_CN27, FONT_CN28, FONT_CN29, FONT_CN30, 0}}, {"c_program", {FONT_CN62, FONT_CN63, FONT_CN29, FONT_CN30, 0}}, {"c_pbcon", {'P','B','C', FONT_CN3, 0}}, {"c_pbcoff", {'P','B','C', FONT_CN4, 0}}, {"c_repeatone", {FONT_CN31, FONT_CN12, FONT_CN32, FONT_CN29, 0}}, {"c_repeatall", {FONT_CN33, FONT_CN7, FONT_CN32, FONT_CN29, 0}}, {"c_215_end", {FONT_CN29, FONT_CN30, FONT_CN48, FONT_CN49, 0}}, {"c_return", {' ',' ',' ', FONT_CN60, FONT_CN61, 0}}, {"c_select", {' ',' ',' ', FONT_CN5, FONT_CN6, 0}}, {"c_exit", {FONT_CN40, FONT_CN10, 0}}, {"c_resume", {FONT_CN69, FONT_CN70, FONT_CN29, FONT_CN30, 0}}, {"c_zoom", {FONT_CN45, FONT_CN46, FONT_CN30, FONT_CN68, 0}}, {"c_mute", {' ',' ',' ', FONT_CN66, FONT_CN67, 0}}, {"c_freeze", {FONT_CN45, FONT_CN46, FONT_CN47, FONT_CN48, 0}}, {"c_stereo", {FONT_CN18, FONT_CN19, FONT_CN20, 0}}, {"c_monol", {FONT_CN21, FONT_CN20, FONT_CN22, 0}}, {"c_monor", {FONT_CN23, FONT_CN20, FONT_CN22, 0}}, {"c_surround", {FONT_CN24, FONT_CN25, FONT_CN20, 0}}, {"c_repeata", {'A','-',' ', FONT_CN32, FONT_CN29, 0}}, {"c_repeatab", {'A','-','B', FONT_CN32, FONT_CN29, 0}}, {"c_215_poweroff", {' ',' ',' ',' ', FONT_CN1, FONT_CN2, FONT_CN4, 0}},#ifdef DNR {"c_215_dnron", {' ',' ',' ','D','N','R',FONT_CN3,'\0'}}, {"c_215_dnroff", {' ',' ',' ','D','N','R',FONT_CN4,'\0'}},#endif#ifdef K_OK {"c_215_kokon", {FONT_CN43, FONT_CN44, 'O','K', FONT_CN3, 0}}, {"c_215_kokoff", {FONT_CN43, FONT_CN44, 'O','K', FONT_CN4, 0}},#endif#ifdef P315 {"c_215_menu", {' ', ' ', ' ', ' ', FONT_CN51, FONT_CN45, FONT_CN46, FONT_CN56, FONT_CN57, 0}}, {"c_215_intro_1", {'1', '.', FONT_CN33, FONT_CN7, FONT_CN54, FONT_CN55, 0}}, {"c_215_disc_2", {'2', '.', FONT_CN33, FONT_CN7, FONT_CN51, FONT_CN45, 0}}, {"c_215_track_3", {'3', '.', FONT_CN31, FONT_CN12, FONT_CN51, FONT_CN45,'\0'}}, {"c_215_exit_4", {'4', '.', FONT_CN40, FONT_CN10, 0}},#endif {"c_215_volume", {FONT_CN67, FONT_CN73, 0}}, {"c_215_key", {FONT_CN71, FONT_CN72, 0}}, {"c_215_intro_1_exit_3", {'1','.', FONT_CN54, FONT_CN55, FONT_CN29, FONT_CN30,' ',' ',' ',' ','3','.', FONT_CN40, FONT_CN10, 0}}, {"c_215_2_digest_menu", {'2','.', FONT_CN51, FONT_CN45, /*FONT_CN46,*/ FONT_CN56, FONT_CN57, 0}}, {"c_215_digest_menu", {' ','-','-',' ', FONT_CN51, FONT_CN45, /*FONT_CN46,*/FONT_CN56, FONT_CN57,' ', '-', '-', 0}}, {"c_215_disc_1_exit_3", {'1','.', FONT_CN33, FONT_CN7, FONT_CN51, FONT_CN45, ' ', ' ', /*FONT_CN46,*/ ' ',' ', '3','.', FONT_CN40, FONT_CN10, 0}}, {"c_215_track_2", {'2','.', FONT_CN31, FONT_CN12, FONT_CN51, FONT_CN45, /*FONT_CN46, */0}}, {"c_215_discscan", {FONT_CN33, FONT_CN7, FONT_CN51, FONT_CN45, /*FONT_CN46,*/0}}, {"c_215_prev", {' ',' ', FONT_CN59, FONT_CN31, FONT_CN12, 0}}, {"c_215_poweron", {' ',' ',' ',' ', FONT_CN1, FONT_CN2, FONT_CN3, 0}}, {"c_215_intro", {' ', FONT_CN54, FONT_CN55, 0}}, {"c_215_nodisc", {' ',' ',' ',' ',' ',' ', FONT_CN11, FONT_CN7, 0}}, {"c_215_random", {FONT_CN64, FONT_CN65, FONT_CN29, FONT_CN30, 0}}, {"c_menu", {FONT_CN51, FONT_CN45, /*FONT_CN46, */ FONT_CN52, FONT_CN53, 0}}, {"c_215_vocall", {FONT_CN76, FONT_CN77, FONT_CN21, 0}}, {"c_215_vocalr", {FONT_CN76, FONT_CN77, FONT_CN23, 0}},
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?