📄 osd.lst
字号:
84 =1 extern xdata unsigned short MoveY;
85 =1 extern xdata unsigned char MuteTimer;
86 =1 extern xdata unsigned char checksum;
87 =1 extern bit NodeToggle;
88 =1
89 =1 #define ChNumCnt VP_Max
90 =1 #define ChSystem HP_Min
91 =1 #define Flag_MSP HV_Pol
92 =1 #define OutOfRangeTimer PoSvTimer
93 =1
94 =1 #endif
6 #include "stdio.h"
1 =1 /*--------------------------------------------------------------------------
2 =1 STDIO.H
3 =1
4 =1 Prototypes for standard I/O functions.
5 =1 Copyright (c) 1988-2002 Keil Elektronik GmbH and Keil Software, Inc.
6 =1 All rights reserved.
7 =1 --------------------------------------------------------------------------*/
8 =1
9 =1 #ifndef __STDIO_H__
10 =1 #define __STDIO_H__
11 =1
12 =1 #ifndef EOF
13 =1 #define EOF -1
14 =1 #endif
15 =1
16 =1 #ifndef NULL
17 =1 #define NULL ((void *) 0)
18 =1 #endif
19 =1
20 =1 #ifndef _SIZE_T
21 =1 #define _SIZE_T
22 =1 typedef unsigned int size_t;
23 =1 #endif
24 =1
25 =1 #pragma SAVE
26 =1 #pragma REGPARMS
C51 COMPILER V7.20 OSD 09/14/2004 12:21:05 PAGE 9
27 =1 extern char _getkey (void);
28 =1 extern char getchar (void);
29 =1 extern char ungetchar (char);
30 =1 extern char putchar (char);
31 =1 extern int printf (const char *, ...);
32 =1 extern int sprintf (char *, const char *, ...);
33 =1 extern int vprintf (const char *, char *);
34 =1 extern int vsprintf (char *, const char *, char *);
35 =1 extern char *gets (char *, int n);
36 =1 extern int scanf (const char *, ...);
37 =1 extern int sscanf (char *, const char *, ...);
38 =1 extern int puts (const char *);
39 =1
40 =1 #pragma RESTORE
41 =1
42 =1 #endif
43 =1
7 #include "UserAdj.H"
1 =1 #ifndef _UserAdj_H_
2 =1 #define _UserAdj_H_
3 =1
4 =1 extern code unsigned char ColorTab[];
5 =1
6 =1 void BrightnessUp(void);
7 =1 void BrightnessDown(void);
8 =1 void LoadModeIndependentSettings(void);
9 =1 void LoadModeDependentSettings(void);
10 =1 void SaveModeDependentSettings(void);
11 =1 void ContrastUp(void);
12 =1 void ContrastDown(void);
13 =1 void ClockUp(void);
14 =1 void ClockDown(void);
15 =1 void PhaseUp(void);
16 =1 void PhaseDown(void);
17 =1 void HP_Up(void);
18 =1 void HP_Down(void);
19 =1 void VP_Up(void);
20 =1 void VP_Down(void);
21 =1 void Recall(void);
22 =1 void OSD_X_Up(void);
23 =1 void OSD_X_Down(void);
24 =1 void OSD_Y_Up(void);
25 =1 void OSD_Y_Down(void);
26 =1 void SharpnessUp(void);
27 =1 void SharpnessDown(void);
28 =1 void RGB_Up(void);
29 =1 void RGB_Down(void);
30 =1 void OSD_TimerUp(void);
31 =1 void OSD_TimerDown(void);
32 =1 void ColorTempUp(void);
33 =1 void ColorTempDown(void);
34 =1 void LanguageUp(void);
35 =1 void LanguageDown(void);
36 =1 void ResetEEPROM(void);
37 =1 void SaturationUp(void);
38 =1 void SaturationDown(void);
39 =1 void TintUp(void);
40 =1 void TintDown(void);
41 =1 void SharpnessDown(void);
42 =1 void CH_SystemUp(void);
43 =1 void CH_SystemDown(void);
44 =1 void InverterUp(void);
C51 COMPILER V7.20 OSD 09/14/2004 12:21:05 PAGE 10
45 =1 void InverterDown(void);
46 =1 void SourceSelect(void);
47 =1
48 =1 #endif
8 #include "AutoAdj.H"
1 =1 #ifndef _AutoAdj_H_
2 =1 #define _AutoAdj_H_
3 =1
4 =1 void AutoTune(void);
5 =1 void AutoPosition(void);
6 =1 void AutoClock(void);
7 =1 void AutoPhase(void);
8 =1 void AutoPhaseFineTune(void);
9 =1 void SetADC_Offset(unsigned char OffSet);
10 =1 void SetADC_Gain(unsigned char OffSet);
11 =1 void WriteADC_Offset(unsigned char r,unsigned char g,unsigned char b);
12 =1 void AutoColor(void);
13 =1 ///////////////////////////////////////////////////////////////////////////////
14 =1 void CheckRCV(void);
15 =1 void RcvError(void);
16 =1 void CheckCmd(unsigned char i);
17 =1 void ReadHistogram(void);
18 =1 void AutoClockByPhase(bit h);
19 =1 unsigned long CheckPhaseData(void);
20 =1
21 =1 #endif
9 #include "PANEL.H"
1 =1 #ifndef __PANEL_H__
2 =1 #define __PANEL_H__
3 =1
4 =1 #define LVDS 0
5 =1 #define TTL 1
6 =1 #define RSDS 2
7 =1 #define TCON 3
8 =1
9 =1 #define AU_L150X2M_1 0 // 0: 2 pixel/clk, 6 bit
10 =1 #define CMO_M150X3_T05 1 // 1: 2 pixel/clk, 6 bit
11 =1 #define HannStar_HSD150MX49_A 2 // 2: 2 pixel/clk, 8 bit
12 =1 #define HannStar_HSD150MX41_A 3 // 3: 2 pixel/clk, 6 bit
13 =1 #define HannStar_HSD150MX12_A 4 // 4: 1 pixel/clk, 8 bit
14 =1 #define CPT_CLAA150XG01 5 // 5: 2 pixel/clk, 8 bit
15 =1 #define SINAI43140CBx_1 6 // 6: 2 pixel/clk, 6 bit
16 =1 #define SINAI38951CBx 7 // 7: 2 pixel/clk, 6 bit
17 =1 #define SINAI38140CBx 8 // 8: 1 pixel/clk, 8 bit
18 =1 #define Sharp_LQ150X1DG51 9 // 9: 2 pixel/clk, 6 bit
19 =1 #define CMO_M170E4_L01 10 // 10: 2 Pixel/clk, 8 bit
20 =1 #define NL6448BC33_46 11 // 11: 1 Pixel/clk, 6 bit
21 =1 #define AU_L170EN05 12 // 10: 2 Pixel/clk, 8 bit
22 =1 #define AU_M150XN05_1 13 // 13: 2 pixel/clk, 8 bit
23 =1 #define CMO_M150X2_T05 14 // 14: 2 pixel/clk, 6 bit
24 =1 #define QD170E1 15 // 15: 2 Pixel/clk, 8 bit
25 =1 #define Samsung_LTM170E4_L01 16 // 16: 2 Pixel/clk, 8 bit
26 =1 #define QD170ER01 17 // 17: 2 Pixel/clk, 8 bit
27 =1 #define HyundaiHT17E12_100 18 // 18: 2 Pixel/clk, 6 bit
28 =1 #define CPT_CLAA150XG08 19 // 19: 1 pixel/clk, 6 bit
29 =1 #define INNONLUX_RSDS 20 // 20: 2 Pixel/clk, 6 bit
30 =1 #define AU_T26XW01 21 // 21: 1 pixel/clk, 8 bit
31 =1 #define LG_LM170E01 22 // 22: 2 Pixel/clk, 8 bit
32 =1 #define LG_LM150X06_C3 23 // 23: 2 Pixel/clk, 6 bit
33 =1 #define NL10276BC30_10 24 // 24: 1 Pixel/clk, 8 bit
34 =1 #define N141X201 25 // 25: 1 Pixel/clk, 6 bit
35 =1 #define LG_LM150X06_A4 26 //26:1 Pixel/clk, 8 bit
C51 COMPILER V7.20 OSD 09/14/2004 12:21:05 PAGE 11
36 =1 #define HannStar_HSD150MX84 27 //27:2 pixel/clk, 6bit
37 =1
38 =1 //**************************************************************
39 =1 // S E L E C T E D P A N E L
40 =1 //**************************************************************
41 =1 // #define PANEL AU_L150X2M_1
42 =1 // #define PANEL CMO_M150X3_T05
43 =1 // #define PANEL CMO_M150X2_T05
44 =1 // #define PANEL HannStar_HSD150MX49_A
45 =1 // #define PANEL HannStar_HSD150MX41_A
46 =1 // #define PANEL HannStar_HSD150MX12_A
47 =1 // #define PANEL CPT_CLAA150XG01
48 =1 // #define PANEL SINAI43140CBx_1
49 =1 // #define PANEL SINAI38951CBx
50 =1 // #define PANEL SINAI38140CBx
51 =1 // #define PANEL Sharp_LQ150X1DG51
52 =1 // #define PANEL CMO_M170E4_L01
53 =1 // #define PANEL NL6448BC33_46
54 =1 // #define PANEL AU_L170EN05
55 =1 // #define PANEL AU_M150XN05_1
56 =1 // #define PANEL QD170E1
57 =1 // #define PANEL Samsung_LTM170E4_L01
58 =1 // #define PANEL QD170ER01
59 =1 // #define PANEL HyundaiHT17E12_100
60 =1 // #define PANEL CPT_CLAA150XG08
61 =1 // #define PANEL INNONLUX_RSDS
62 =1 // #define PANEL AU_T26XW01
63 =1 // #define PANEL LG_LM170E01
64 =1 // #define PANEL LG_LM150X06_C3
65 =1 // #define PANEL NL10276BC30_10
66 =1 // #define PANEL N141X201
67 =1 #define PANEL LG_LM150X06_A4
68 =1 // #define PANEL HannStar_HSD150MX84
69 =1
70 =1 //**************************************************************
71 =1 // P A N E L D E F I N I T I O N S
72 =1 //**************************************************************
73 =1
74 =1
75 =1 #if PANEL == AU_L150X2M_1
=1
=1 #define PanelName "AU_L150X2M_1\r\n"
=1 #define PanelXga 1
=1 #define PanelSxga 0
=1 #define PanelUxga 0
=1 #define PanelTwoPixelPerClk 1 // Double pixels output
=1 #define PanelDepth 6
=1 #define PanelSync_DE 0
=1
=1 #define PanelWidth 1024
=1 #define PanelHeight 768
=1
=1 #define PanelMaxVFreq 75 // Hz
=1 #define PanelMinVFreq 50 // Hz
=1 #define PanelMaxHFreq 60000 // Hz
=1
=1 #define PanelMinPClk 60000 // KHz
=1 #define PanelMaxPClk 80000 // KHz
=1
=1 #define PanelMinHTotal 1200
=1 #define PanelTypHTotal 1344
=1 #define PanelMaxHTotal 1800
C51 COMPILER V7.20 OSD 09/14/2004 12:21:05 PAGE 12
=1 #define PanelMinHSyncWidth 80
=1 #define PanelMinHSyncBackPorch 80
=1 #define PanelHSyncStart PanelMinHTotal - PanelMinHSyncWidth - PanelMinHSyncBackPorch
=1 #define PanelHSyncEnd PanelHSyncStart + PanelMinHSyncWidth
=1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -