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

📄 osd.lst

📁 myson的MTV332的DEMO程序 主要功能有菜单的设计和无线遥控以及视频参数的调节
💻 LST
📖 第 1 页 / 共 4 页
字号:
 211      =2  extern void Disp_PowerMenu(void);
 212      =2  
 213      =2  extern void gotoxy(BYTE x,BYTE y);
 214      =2  extern void SetDouble(void);
 215      =2  extern void PrintString(BYTE *chardata,BYTE number,BYTE color);
 216      =2  extern void PrintByteString(BYTE * databuf, BYTE number, BYTE color);
 217      =2  extern void ClearMenu(void);
 218      =2  
 219      =2  extern void PrintChar(WORD chardata,BYTE color);
 220      =2  extern void PrintValue(WORD value, BYTE color);
 221      =2  extern void Disp_VideoBright(void);
 222      =2  extern void Disp_VideoBrightness(void);
 223      =2  extern void Disp_Saturation(void);
 224      =2  extern void Disp_Hue(void);
 225      =2  extern void Disp_OSDHPosition(void);
 226      =2  extern void Disp_OSDVPosition(void);
 227      =2  extern void Execute_Rotate(void);
 228      =2  extern void Execute_Recall(void);
 229      =2  extern void Execute_Dimmer(void);
 230      =2  extern void Execute_Format(void);
 231      =2  
 232      =2  
 233      =2  
 234      =2  
 235      =2  extern void Disp_VideoContrast(void);
 236      =2  extern void Disp_VideoColor(void);
 237      =2  extern void Disp_OSDSetup(void);
 238      =2  extern void Disp_VideoMisc(void);
 239      =2  extern void Disp_Entry(void);
 240      =2  extern void Execute_Power(void);
 241      =2  extern void Execute_Source(void);
 242      =2  
 243      =2  
 244      =2  extern void Disp_VideoRecall(void);
 245      =2  extern void SetProgressData(BYTE progress_no);
 246      =2  extern void SaveProgressData(BYTE progress_no);
 247      =2  extern void Set_OSD_HPosition(void);
 248      =2  extern void Set_OSD_VPosition(void);
 249      =2  
 250      =2  
 251      =2  
 252      =2  
 253      =2  
 254      =2  
 255      =2  
 256      =2  
 257      =2  
  11      =1  //#include "menu.h"
  12      =1  //#include "ram.h"
  13      =1  //#include "variable.h"
C51 COMPILER V6.10  OSD                                                                    12/02/2004 10:58:52 PAGE 15  

   2          #include "font.h"
   1      =1  
   2      =1  #define __                     0x00            // EMPTY
   3      =1  
   4      =1  #define _DEGREE                0x78            // K-Degree
   5      =1  
   6      =1  #define _PLUS                  0x72            // +
   7      =1  #define _DASH                  0x73            // -
   8      =1  #define _DOT                   0x76            // .
   9      =1  
  10      =1  #define _0                     0x01            // 0
  11      =1  #define _1                     0x02            // 1
  12      =1  #define _2                     0x03            // 2
  13      =1  #define _3                     0x04            // 3
  14      =1  #define _4                     0x05            // 4
  15      =1  #define _5                     0x06            // 5
  16      =1  #define _6                     0x07            // 6
  17      =1  #define _7                     0x08            // 7
  18      =1  #define _8                     0x09            // 8
  19      =1  #define _9                     0x0A            // 9
  20      =1  #define _COLON                 0x77            // :
  21      =1  
  22      =1  
  23      =1  #define _A                     0x0B            // A
  24      =1  #define _B                     (_A + 1)          // B
  25      =1  #define _C                     (_A + 2)          // C
  26      =1  #define _D                     (_A + 3)          // D
  27      =1  #define _E                     (_A + 4)          // E
  28      =1  #define _F                     (_A + 5)          // F
  29      =1  #define _G                     (_A + 6)          // G
  30      =1  #define _H                     (_A + 7)          // H
  31      =1  #define _I                     (_A + 8)          // I
  32      =1  #define _J                     (_A + 9)          // J
  33      =1  #define _K                     (_A + 10)         // K
  34      =1  #define _L                     (_A + 11)         // L
  35      =1  #define _M                     (_A + 12)         // M
  36      =1  #define _N                     (_A + 13)         // N
  37      =1  #define _O                     _0                // O
  38      =1  #define _P                     (_A + 14)         // P
  39      =1  #define _Q                     (_A + 15)         // Q
  40      =1  #define _R                     (_A + 16)         // R
  41      =1  #define _S                     (_A + 17)         // S
  42      =1  #define _T                     (_A + 18)         // T
  43      =1  #define _U                     (_A + 19)         // U
  44      =1  #define _V                     (_A + 20)         // V
  45      =1  #define _W                     (_A + 21)         // W
  46      =1  #define _X                     (_A + 22)         // X
  47      =1  #define _Y                     (_A + 23)         // Y
  48      =1  #define _Z                     (_A + 24)         // Z
  49      =1  
  50      =1  #define _a                     0x24            // a
  51      =1  #define _b                     (_a + 1)          // b
  52      =1  #define _c                     (_a + 2)          // c
  53      =1  #define _d                     (_a + 3)          // d
  54      =1  #define _e                     (_a + 4)          // e
  55      =1  #define _f                     (_a + 5)          // f
  56      =1  #define _g                     (_a + 6)          // g
  57      =1  #define _h                     (_a + 7)          // h
  58      =1  #define _i                     (_a + 8)          // i
  59      =1  #define _j                     (_a + 9)          // j
  60      =1  #define _k                     (_a + 10)         // k
  61      =1  #define _l                     (_a + 11)         // l
C51 COMPILER V6.10  OSD                                                                    12/02/2004 10:58:52 PAGE 16  

  62      =1  #define _m                     (_a + 12)         // m
  63      =1  #define _n                     (_a + 13)         // n
  64      =1  #define _o                     (_a + 14)         // o
  65      =1  #define _p                     (_a + 15)         // p
  66      =1  #define _q                     (_a + 16)         // q
  67      =1  #define _r                     (_a + 17)         // r
  68      =1  #define _s                     (_a + 18)         // s
  69      =1  #define _t                     (_a + 19)         // t
  70      =1  #define _u                     (_a + 20)         // u
  71      =1  #define _v                     (_a + 21)         // v
  72      =1  #define _w                     (_a + 22)         // w
  73      =1  #define _x                     (_a + 23)         // x
  74      =1  #define _y                     (_a + 24)         // y
  75      =1  #define _z                     (_a + 25)         // z
  76      =1  
  77      =1  #define _BRIGH_L               0xAC            // L of BRIGHTNESS
  78      =1  #define _BRIGH_R               0xAD            // R of BRIGHTNESS
  79      =1  #define _CONTR_L               0xAE            // L of CONTRAST
  80      =1  #define _CONTR_R               0xAF            // R of CONTRAST
  81      =1  #define _LANGU_L               0xF6            // L of Language
  82      =1  #define _LANGU_R               0xF7            // R of Language
  83      =1  #define _RECAL_L               0xBC            // L of Recall
  84      =1  #define _RECAL_R               0xBD            // R of Recall
  85      =1  
  86      =1  #define _POSIT_L               0xD0            // L of Position
  87      =1  #define _POSIT_R               0xD1            // R of Position
  88      =1  #define _HPOSI_L               0xDE            // L of H POSITION
  89      =1  #define _HPOSI_R               0xDF            // R of H POSITION
  90      =1  #define _OSDHP_L               0xA1            // L of OSD H-Position
  91      =1  #define _OSDHP_R               0xA2            // R of OSD H-Position
  92      =1  
  93      =1  #define _VPOSI_L               0xD6            // L of V POSITION
  94      =1  #define _VPOSI_R               0xD7            // R of V POSITION
  95      =1  #define _OSDVP_L               0x9F            // L of OSD V-Position
  96      =1  #define _OSDVP_R               0xA0            // R of OSD V-Position
  97      =1  
  98      =1  #define _MENUB_L               0xF2            // L of Menu icon
  99      =1  #define _MENUB_R               0xF3            // R of Menu icon
 100      =1  
 101      =1  #define _OSDBP_L               0x90            // L of OSD icon
 102      =1  #define _OSDBP_R               0x91            // R of OSD icon
 103      =1  
 104      =1  #define _AUTOT_L               0xC0            // L of Auto-Tune
 105      =1  #define _AUTOT_R               0xC1            // R of Auto-Tune
 106      =1  
 107      =1  #define _INFOR_L               0xC2            // L of Information
 108      =1  #define _INFOR_R               0xC3            // R of Information
 109      =1  
 110      =1  #define _CLOCK_L               0xEA            // L of CLOCK
 111      =1  #define _CLOCK_R               0xEB            // R of CLOCK
 112      =1  #define _COLOR_L               0xF8            // L of Color temp.
 113      =1  #define _COLOR_R               0xF9            // R of Color temp.
 114      =1  #define _CTEMP_K               0x78
 115      =1  
 116      =1  #define _PHASE_L               0xE2            // L of Phase
 117      =1  #define _PHASE_R               0xE3            // R of Phase
 118      =1  #define _VIDEO_L               0x9B            // L of Vedio
 119      =1  #define _VIDEO_R               0x9C            // R of Vedio
 120      =1  
 121      =1  //#define _MISCL_L               0xF0            // L of Miscelleniouce
 122      =1  //#define _MISCL_R               0xF1            // R of Miscelleniouce
 123      =1  
C51 COMPILER V6.10  OSD                                                                    12/02/2004 10:58:52 PAGE 17  

 124      =1  //#define _ZOOMF_L               0xf8            // L of Zoom Curve Factor
 125      =1  //#define _ZOOMF_R               0xf9            // R of Zoom Curve Factor
 126      =1  //#define _GAMAF_L               0xfa            // L of Gama Curve Factor
 127      =1  //#define _GAMAF_R               0xfb            // R of Gama Curve Factor
 128      =1  #define _INPUT_L               0xBE            // L of Input Signal
 129      =1  #define _INPUT_R               0xBF            // R of Input Signal
 130      =1  
 131      =1  #define _POINT_U               0x84            // U of Point
 132      =1  #define _POINT_D               0x85            // D of Point
 133      =1  #define _POINT_L               0x86            // L of Point
 134      =1  #define _POINT_R               0x87            // R of Point
 135      =1  
 136      =1  #define _COBAR_S               0x80            // START of PROGRESS BAR
 137      =1  #define _COBAR_F               0x81            // FULL of PROGRESS BAR
 138      =1  #define _COBAR_3               0x82            // 3/4 of PROGRESS BAR
 139      =1  #define _COBAR_2               0x83            // 2/4 of PROGRESS BAR
 140      =1  #define _COBAR_1               0x84            // 1/4 of PROGRESS BAR
 141      =1  #define _COBAR_EMPTY     0x5A     // 0x85    For Necvox is an Line
 142      =1  #define _COBAR_BLOCK     0x5b     // 0x85    For Necvox is an BLOCK
 143      =1  
 144      =1  #define _COBAR_END             0x86            // END of PROGRESS BAR
 145      =1  
 146      =1  #define _EXIT_L                0xBA            //
 147      =1  #define _EXIT_R                0xBB            //
 148      =1  
   3          #include "menu.h"
   1      =1  code BYTE Saturation_Item[]=
   2      =1  	{__,__,_C,__,_O,__,_L,__,_O,__,_R,__,__,__,__};
   3      =1  
   4      =1  code BYTE Brightness_Item[]=
   5      =1  	{__,__,_B,__,_R,__,_I,__,_G,__,_H,__,_T,__,__};
   6      =1  
   7      =1  code BYTE Hue_Item[]=
   8      =1  	{__,__,_T,__,_I,__,_N,__,_T,__,__,__,__,__,__};
   9      =1  
  10      =1  code BYTE Format_Item[]=
  11      =1  	{__,__,_F,__,_O,__,_R,__,_M,__,_A,__,_T,__,__};
  12      =1  
  13      =1  code BYTE Dimmer_Item[]=
  14      =1  	{__,__,_D,__,_I,__,_M,__,_M,__,_E,__,_R,__,__};
  15      =1  
  16      =1  code BYTE Recall_Item[]=
  17      =1  	{__,__,_R,__,_E,__,_S,__,_E,__,_T,__,__,__,__};
  18      =1  
  19      =1  code BYTE MOD_Item[]=	{_M,__,_O,__,_D,__,_E};
  20      =1  code BYTE MENU_Item[]=	{_M,__,_E,__,_N,__,_U};
  21      =1  code BYTE UP_Item[]	   =	{__,__,__,__,0x5D,__,__};
  22      =1  code BYTE DOWN_Item[]=	{__,__,__,__,0x5E,__,__};
  23      =1  
  24      =1  
  25      =1  //code WORD EmptyString[MainPageItemLength]={
  26      =1  //__,__,__,__,__,__,__,__,__,__,__,__,__,__,__};
  27      =1  
  28      =1  /*
  29      =1  code WORD Bright_Item[MaxLanguageItem][MainPageItemLength]={	//brightness
  30      =1  0x1ea,0x1eb,__,_B,_R,_I,_G,_H,_T,_N,_E,_S,_S,__,__,
  31      =1  0x1ea,0x1eb,__,0x19c,__,0x19d,__,0x108,__,0x109,__,__,__,__,__
  32      =1  };
  33      =1  
  34      =1  code WORD Color_Item[MaxLanguageItem][MainPageItemLength]={	//color
  35      =1  0x1e2,0x1e3,__,_C,_O,_L,_O,_R,__,__,__,__,__,__,__,
  36      =1  0x1e2,0x1e3,__,0x15d,__,0x112,__,0x108,__,0x109,__,__,__,__,__,	
C51 COMPILER V6.10  OSD                                                                    12/02/2004 10:58:52 PAGE 18  

  37      =1  };
  38      =1  
  39      =1  code WORD VideoSetup_Item[MaxLanguageItem][MainPageItemLength]={
  40      =1  0x1e2,0x1e3,__,_V,_I,_D,_E,_O,__,_S,_E,_T,_U,_P,__,
  41      =1  0x1e2,0x1e3,__,_V,_I,_D,_E,_O,__,_S,_E,_T,_U,_P,__
  42      =1  };
  43      =1  */
  44      =1  /*
  45      =1  code WORD OSDSetup_Item[MaxLanguageItem][MainPageItemLength]={	//osd setup
  46      =1  0x1e0,0x1e1,__,_O,_S,_D,__,_S,_E,_T,_U,_P,__,__,__,
  47      =1  0x1e0,0x1e1,__,_O,_S,_D,__,0x11d,__,0x11e,__,__,__,__,__,
  48      =1  };*/
  49      =1  /*	
  50      =1  code WORD OSDSetup_Item[MaxLanguageItem][MainPageItemLength]={	//osd setup
  51      =1  __,__,_O,_S,_D,__,_S,_E,_T,_U,_P,__,__,__,
  52      =1  __,__,_O,_S,_D,__,0x11d,__,0x11e,__,__,__,__,__,
  53      =1  };
  54      =1  
  55      =1  code WORD Misc_Item[MainPageItemLength]={		//misc
  56      =1  0x1f4,0x1f5,__,_M,_I,_S,_C,__,__,__,__,__,__,__,__
  57      =1  };
  58      =1  */
  59      =1  /*
  60      =1  code WORD Recall_Item[MainPageItemLength]={	//recall
  61      =1  0x1e8,0x1e9,__,_R,_E,_C,_A,_L,_L,__,__,__,__,__,__
  62      =1  };*/
  63      =1  /*
  64      =1  code WORD Exit_Item[MaxLanguageItem][MainPageItemLength]={
  65      =1  __,__,_E,_X,_I,_T,__,__,__,__,__,__,__,__,__,
  66      =1  __,0x161,__,0x162,__,__,__,__,__,__,__,__,__,__,__
  67      =1  };*/
  68      =1  
  69      =1  /*
  70      =1  code WORD OSDHPosition_Item[MaxLanguageItem][MainPageItemLength]={
  71      =1  __,__,_O,_S,_D,__,_H,_P,_O,_S,_I,_T,_I,_O,_N,
  72      =1  __,__,_O,_S,_D,__,__,__,0x157,__,0x108,__,0x109,__,__	//

⌨️ 快捷键说明

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