📄 rom_map.lst
字号:
C51 COMPILER V7.20 ROM_MAP 09/14/2004 12:21:10 PAGE 1
C51 COMPILER V7.20, COMPILATION OF MODULE ROM_MAP
OBJECT MODULE PLACED IN .\BIN\Rom_map.obj
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE SRC\Rom_map.c OPTIMIZE(9,SPEED) BROWSE DEBUG OBJECTEXTEND CODE LISTINCLUDE
-SYMBOLS PRINT(.\LST\Rom_map.lst) PREPRINT(.\LST\Rom_map.i) OBJECT(.\BIN\Rom_map.obj)
line level source
1 // 0x00 ... 0xc7 ==>h_sync,hv_pol,v_sync (total 50 mode)
2 // 0x100 ... 0x28f ==>lcd timing (total 50 mode)
3 // 0x290 ... 0x2ff ==>htotal refrance
4 // 0x300 ... 0x37f ==>analog DDC
5 // 0x380 ... 0x38f ==>digiatl DDC
6
7 #include "MyDef.H"
1 =1 #ifndef _MyDef_H
2 =1 #define _MyDef_H
3 =1
4 =1 #define BIT_0 0x01
5 =1 #define BIT_1 0x02
6 =1 #define BIT_2 0x04
7 =1 #define BIT_3 0x08
8 =1 #define BIT_4 0x10
9 =1 #define BIT_5 0x20
10 =1 #define BIT_6 0x40
11 =1 #define BIT_7 0x80
12 =1
13 =1 //#define GammaOff
14 =1 //#define GammaOn
15 =1 #define SOG_ON
16 =1 //#define Debug
17 =1 #define Version 0x00 //0
18 =1 #define Reversion 0x12 //12
19 =1 #define ModeButtom 4*ModeNum //4*50
20 =1 #define ModeNum 50
21 =1 #define UserModeSt 31 //user mode (31 --- 50)
22 =1 #define SyncStabTime 50 //500ms
23 =1
24 =1 #define H_Min 28 //KHz
25 =1 #define H_Max 85 //KHz
26 =1 #define V_Min 55 //Hz
27 =1 //#define V_Max 90 //Hz
28 =1 #define V_Max 80 //Hz
29 =1 #define P_Max 140 //MHz
30 =1
31 =1 #define Scaler_Addr 0xB0
32 =1 #define NOVATEK_Addr 0x6e // for Utility Alignment command
33 =1 //KeyPad
34 =1 #define PowerKey 0x22
35 =1 #define SourceKey 0x41
36 =1 #define LeftKey 0x04
37 =1 #define RightKey 0x24
38 =1 #define UpKey 0x40
39 =1 #define DownKey 0x42
40 =1 #define KeyStabTime 50 //50ms
41 =1 #define KeyHoldTime 100 //1 sec.
42 =1 #define KeyRepeatTime 3 //0.1 sec.
43 =1 // ADC PLL
44 =1 #define AnalogPLL 0
45 =1 #define DigitalPLL 1
46 =1
47 =1 #define ADC_PLL DigitalPLL
C51 COMPILER V7.20 ROM_MAP 09/14/2004 12:21:10 PAGE 2
48 =1 //DVI
49 =1 #define HVmode 0
50 =1 #define DEmode 1
51 =1
52 =1 #define DVImode HVmode
53 =1
54 =1 #define Low 0
55 =1 #define High 1
56 =1 #define PanelPowerActive High
57 =1
58 =1 #endif
8
9 code unsigned char MCU_DataMap[]={
10 //H_SYNC(16bit),HV_Pol(4bit),V_SYNC(12bit)
11 0x01,0x3b,0x11,0xf4,0x01,0x3b,0x12,0x57, //0
12 0x01,0x3b,0x12,0xbd,0x01,0x7b,0x13,0x53,
13 0x01,0x3b,0x21,0xf4,0x01,0x3b,0x22,0x57, //1
14 0x01,0x3b,0x22,0xbd,0x01,0x79,0x23,0x48,
15 0x01,0x3b,0x01,0xf4,0x01,0x3b,0x02,0x57, //2
16 0x01,0x5e,0x12,0x9b,0x01,0x7b,0x02,0xd8,
17 0x01,0x77,0x02,0xee,0x01,0xb1,0x03,0x52, //3
18 0x01,0x60,0x32,0x33,0x01,0x7b,0x32,0x5b,
19 0x01,0xe1,0x32,0xd2,0x01,0xd5,0x32,0xee, //4
20 0x02,0x19,0x33,0x52,0x01,0xf1,0x02,0xee,
21 0x01,0xe3,0x02,0x58,0x02,0x35,0x02,0xbd, //5
22 0x02,0x41,0x02,0xd1,0x02,0x58,0x32,0xee,
23 0x02,0xaf,0x33,0x52,0x02,0xa3,0x32,0xee, //6
24 0x02,0x58,0x32,0x58,0x03,0x5b,0x33,0x52,
25 0x02,0x80,0x32,0x58,0x03,0x20,0x32,0xee, //7
26 0x03,0x90,0x33,0x52,0x00,0x9d,0x22,0x57,
27 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //8
28 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
29 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //9
30 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
31 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //a
32 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
33 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //b
34 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
35 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //c
36 0x32, //0xc8 = sRGB saturation
37 0x32, //0xc9 = sRGB Tint
38 0x02, //0xca = Sharpness(VGA)
39 0xff, //0xcb =
40 0x80, //0xcc = Power Status
41 0x00, //0xcd = burn in mode
42 0x00, //0xce = osd rotation
43 0x0a, //0xcf = OSD timer
44 0x32, //0xd0 = brightness
45 0x32, //0xd1 = contrast
46 UserModeSt-1, //0xd2 = user mode start point
47 0x00, //0xd3 = Main/SAP
48 0x32, //0xd4 = volume
49 0x00, //0xd5 = Inverter
50 0x32, //0xd6 = video brightness
51 0x32, //0xd7 = video contrast
52 0x40, //0xd8 = video saturation
53 0x32, //0xd9 = video Tint
54 0x04, //0xda = Sharpness(video)
55 0x00, //0xdb = Auto Adjusment 0 = 0ff, 1 = 0n
56 0x01, //0xdc = Power saving flag 0 = no power saving, 1 = have power saving
57 0x32, //0xdd = OSD position x
58 0x32, //0xde = OSD position y
C51 COMPILER V7.20 ROM_MAP 09/14/2004 12:21:10 PAGE 3
59 0x07, //0xdf = TV/CATV channel
60 0x00, //0xe0 = language
61 0x01, //0xe1 = color temperature select
62 0x00, //0xe2 = Channel system
63 0x00, //0xe3 = TV/CATV
64 0xff, //0xe4 =
65 0xff, //0xe5 =
66 0xff, //0xe6 =
67 0xff, //0xe7 =
68 0xff, //0xe8 =
69 0xff, //0xe9 =
70 0xff, //0xea = eeprom empty
71 0xff, //0xeb = eeprom empty
72 0xff, //0xec = F/W version
73 0xff, //0xed = F/W reversion
74 0x64, //0xee = r contrast k1
75 0x64, //0xef = g contrast k1
76 0x64, //0xf0 = b contrast k1
77 0x64, //0xf1 = r contrast k2
78 0x5a, //0xf2 = g contrast k2
79 0x5a, //0xf3 = b contrast k2
80 0x64, //0xf4 = r contrast k3
81 0x60, //0xf5 = g contrast k3
82 0x60, //0xf6 = b contrast k3
83 0x60, //0xf7 = r contrast k4
84 0x60, //0xf8 = g contrast k4
85 0x64, //0xf9 = b contrast k4
86 0x38, //0xfa = ADC r offset
87 0x44, //0xfb = ADC g offset
88 0x3e, //0xfc = ADC b offset
89 0x72, //0xfd = ADC r gain
90 0x71, //0xfe = ADC g gain
91 0x70, //0xff = ADC b gain
92
93 // SharpV_BP H_BP H_Tatol Reso Phase
94 0x00,0x96,0x00,0x30,0x06,0x40,0x00,0x10, //10
95 0x00,0x62,0x00,0x30,0x06,0x40,0x00,0x10,
96 0x00,0x3c,0x00,0x30,0x06,0x40,0x00,0x10, //11
97 0x00,0x3c,0x00,0x60,0x06,0x80,0x00,0x10,
98 0x00,0x7d,0x00,0x36,0x03,0x84,0x01,0x10, //12
99 0x00,0x49,0x00,0x36,0x03,0x84,0x01,0x10,
100 0x00,0x23,0x00,0x36,0x03,0x84,0x01,0x10, //13
101 0x00,0x2A,0x00,0x6c,0x03,0xa8,0x01,0x10,
102 0x00,0x55,0x00,0x30,0x06,0x40,0x02,0x10, //14
103 0x00,0x19,0x00,0x28,0x06,0x40,0x02,0x10,
104 0x00,0x27,0x00,0x60,0x06,0xc0,0x02,0x10, //15
105 0x00,0x14,0x00,0x78,0x06,0x80,0x02,0x10,
106 0x00,0x10,0x00,0x78,0x06,0x90,0x02,0x10, //16
107 0x00,0x19,0x00,0x50,0x06,0x80,0x02,0x10,
108 0x00,0x16,0x00,0x80,0x04,0x00,0x03,0x10, //17
109 0x00,0x17,0x00,0x58,0x04,0x20,0x03,0x10,
110 0x00,0x17,0x00,0x40,0x04,0x10,0x03,0x10, //18
111 0x00,0x15,0x00,0xa0,0x04,0x20,0x03,0x10,
112 0x00,0x1b,0x00,0x98,0x04,0x18,0x03,0x10, //19
113 0x00,0x28,0x00,0xe2,0x04,0x80,0x04,0x10,
114 0x00,0x1d,0x00,0xa0,0x05,0x40,0x05,0x10, //1a
115 0x00,0x1d,0x00,0x90,0x05,0x30,0x05,0x10,
116 0x00,0x14,0x00,0x8a,0x05,0x50,0x05,0x10, //1b
117 0x00,0x1c,0x00,0xb0,0x05,0x20,0x05,0x10,
118 0x00,0x24,0x00,0xd0,0x05,0x60,0x05,0x10, //1c
119 0x00,0x20,0x01,0x00,0x06,0x40,0x06,0x10,
120 0x00,0x24,0x01,0x38,0x07,0x08,0x07,0x10, //1d
C51 COMPILER V7.20 ROM_MAP 09/14/2004 12:21:10 PAGE 4
121 0x00,0x2f,0x00,0xe0,0x06,0xc0,0x07,0x10,
122 0x00,0x26,0x00,0xf8,0x06,0x98,0x08,0x18, //1e
123 0x00,0x26,0x00,0xf8,0x06,0x98,0x08,0x10,
124 0x00,0x2c,0x00,0xe0,0x06,0xc0,0x08,0x10, //1f
125 0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,
126 0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10, //20
127 0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,
128 0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10, //21
129 0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,
130 0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10, //22
131 0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,
132 0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10, //23
133 0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,
134 0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10, //24
135 0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,
136 0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10, //25
137 0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,
138 0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10, //26
139 0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,
140 0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10, //27
141 0x00,0xff,0x00,0xff,0xff,0xff,0xff,0x10,
142 };
143
144
C51 COMPILER V7.20 ROM_MAP 09/14/2004 12:21:10 PAGE 5
ASSEMBLY LISTING OF GENERATED OBJECT CODE
C51 COMPILER V7.20 ROM_MAP 09/14/2004 12:21:10 PAGE 6
NAME CLASS MSPACE TYPE OFFSET SIZE
==== ===== ====== ==== ====== ====
MCU_DataMap. . . . . . . . . . . . . . PUBLIC CODE ARRAY 0000H 640
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = ---- ----
CONSTANT SIZE = 640 ----
XDATA SIZE = ---- ----
PDATA SIZE = ---- ----
DATA SIZE = ---- ----
IDATA SIZE = ---- ----
BIT SIZE = ---- ----
END OF MODULE INFORMATION.
C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -