Mode_Detect.lst
上传用户:xmyjxjd
上传日期:2013-05-04
资源大小:1517k
文件大小:371k
- ; SOURCE LINE # 1257
- ; SOURCE LINE # 1260
- 003E 900000 E MOV DPTR,#CAP_WIN+05AH
- 0041 120000 R LCALL L?0396
- 0044 FF MOV R7,A
- 0045 7800 E MOV R0,#LOW usADC_Clock
- 0047 A606 MOV @R0,AR6
- 0049 08 INC R0
- 004A A607 MOV @R0,AR7
- ; SOURCE LINE # 1261
- 004C 900000 E MOV DPTR,#CAP_WIN+05CH
- 004F 120000 R LCALL L?0396
- 0052 FF MOV R7,A
- 0053 120000 R LCALL L?0463
- ; SOURCE LINE # 1262
- 0056 900000 E MOV DPTR,#CAP_WIN+05EH
- 0059 120000 R LCALL L?0396
- 005C FF MOV R7,A
- 005D 7800 E MOV R0,#LOW usIPH_ACT_WID
- 005F A606 MOV @R0,AR6
- 0061 08 INC R0
- 0062 A607 MOV @R0,AR7
- ; SOURCE LINE # 1263
- 0064 020000 R LJMP ?C0218
- 0067 ?C0217:
- ; SOURCE LINE # 1265
- ; SOURCE LINE # 1266
- 0067 120000 R LCALL L?0489
- 006A A4 MUL AB
- 006B 2400 E ADD A,#LOW CAP_WIN
- 006D F582 MOV DPL,A
- 006F E5F0 MOV A,B
- 0071 3400 E ADDC A,#HIGH CAP_WIN
- 0073 120000 R LCALL L?0433
- 0076 7800 E MOV R0,#LOW usADC_Clock
- 0078 A604 MOV @R0,AR4
- 007A 08 INC R0
- 007B F6 MOV @R0,A
- ; SOURCE LINE # 1267
- 007C 75F00A MOV B,#0AH
- 007F EF MOV A,R7
- 0080 A4 MUL AB
- 0081 2400 E ADD A,#LOW CAP_WIN+02H
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 87
- 0083 F582 MOV DPL,A
- 0085 E5F0 MOV A,B
- 0087 3400 E ADDC A,#HIGH CAP_WIN+02H
- 0089 120000 R LCALL L?0395
- 008C 7800 E MOV R0,#LOW usIPH_ACT_STA
- 008E A606 MOV @R0,AR6
- 0090 08 INC R0
- 0091 F6 MOV @R0,A
- ; SOURCE LINE # 1268
- 0092 120000 R LCALL L?0447
- 0095 2400 E ADD A,#LOW CAP_WIN+04H
- 0097 F582 MOV DPL,A
- 0099 E5F0 MOV A,B
- 009B 3400 E ADDC A,#HIGH CAP_WIN+04H
- 009D 120000 R LCALL L?0395
- 00A0 7800 E MOV R0,#LOW usIPH_ACT_WID
- 00A2 A606 MOV @R0,AR6
- 00A4 08 INC R0
- 00A5 F6 MOV @R0,A
- ; SOURCE LINE # 1271
- 00A6 7800 R MOV R0,#LOW usHsync
- 00A8 120000 R LCALL L?0400
- 00AB 120000 R LCALL L?0483
- 00AE C004 PUSH AR4
- 00B0 C005 PUSH AR5
- 00B2 C006 PUSH AR6
- 00B4 C007 PUSH AR7
- 00B6 7800 E MOV R0,#LOW usADC_Clock
- 00B8 120000 R LCALL L?0400
- 00BB 120000 R LCALL L?0491
- 00BE D003 POP AR3
- 00C0 D002 POP AR2
- 00C2 D001 POP AR1
- 00C4 D000 POP AR0
- ; SOURCE LINE # 1272
- 00C6 120000 R LCALL L?0427
- ; SOURCE LINE # 1275
- 00C9 C3 CLR C
- 00CA 748C MOV A,#08CH
- 00CC 9500 R SUBB A,usDispLen+01H
- 00CE E4 CLR A
- 00CF 9500 R SUBB A,usDispLen
- 00D1 5054 JNC ?C0218
- 00D3 7800 R MOV R0,#LOW ucMode_Curr
- 00D5 E6 MOV A,@R0
- 00D6 FF MOV R7,A
- 00D7 7437 MOV A,#037H
- 00D9 9F SUBB A,R7
- 00DA 504B JNC ?C0218
- 00DC 743B MOV A,#03BH
- 00DE C3 CLR C
- 00DF 9F SUBB A,R7
- 00E0 4045 JC ?C0218
- ; SOURCE LINE # 1276
- ; SOURCE LINE # 1277
- 00E2 E6 MOV A,@R0
- 00E3 FF MOV R7,A
- 00E4 75F006 MOV B,#06H
- 00E7 A4 MUL AB
- 00E8 2400 E ADD A,#LOW ADC_SD_SET+0FEB6H
- 00EA F582 MOV DPL,A
- 00EC E5F0 MOV A,B
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 88
- 00EE 3400 E ADDC A,#HIGH ADC_SD_SET+0FEB6H
- 00F0 120000 R LCALL L?0433
- 00F3 7800 E MOV R0,#LOW usADC_Clock
- 00F5 A604 MOV @R0,AR4
- 00F7 08 INC R0
- 00F8 F6 MOV @R0,A
- ; SOURCE LINE # 1278
- 00F9 75F006 MOV B,#06H
- 00FC EF MOV A,R7
- 00FD A4 MUL AB
- 00FE 2400 E ADD A,#LOW ADC_SD_SET+0FEB8H
- 0100 F582 MOV DPL,A
- 0102 E5F0 MOV A,B
- 0104 3400 E ADDC A,#HIGH ADC_SD_SET+0FEB8H
- 0106 120000 R LCALL L?0395
- 0109 7800 E MOV R0,#LOW usIPH_ACT_STA
- 010B A606 MOV @R0,AR6
- 010D 08 INC R0
- 010E F6 MOV @R0,A
- ; SOURCE LINE # 1279
- 010F 7800 R MOV R0,#LOW ucMode_Curr
- 0111 E6 MOV A,@R0
- 0112 75F006 MOV B,#06H
- 0115 A4 MUL AB
- 0116 2400 E ADD A,#LOW ADC_SD_SET+0FEBAH
- 0118 F582 MOV DPL,A
- 011A E5F0 MOV A,B
- 011C 3400 E ADDC A,#HIGH ADC_SD_SET+0FEBAH
- 011E 120000 R LCALL L?0395
- 0121 7800 E MOV R0,#LOW usIPH_ACT_WID
- 0123 A606 MOV @R0,AR6
- 0125 08 INC R0
- 0126 F6 MOV @R0,A
- ; SOURCE LINE # 1280
- ; SOURCE LINE # 1282
- 0127 ?C0218:
- ; SOURCE LINE # 1285
- 0127 7800 R MOV R0,#LOW usHsync
- 0129 120000 R LCALL L?0400
- 012C 120000 R LCALL L?0483
- 012F C004 PUSH AR4
- 0131 C005 PUSH AR5
- 0133 C006 PUSH AR6
- 0135 C007 PUSH AR7
- 0137 7800 E MOV R0,#LOW usADC_Clock
- 0139 120000 R LCALL L?0400
- 013C 120000 R LCALL L?0491
- 013F D003 POP AR3
- 0141 D002 POP AR2
- 0143 D001 POP AR1
- 0145 D000 POP AR0
- ; SOURCE LINE # 1286
- 0147 120000 R LCALL L?0427
- ; SOURCE LINE # 1290
- 014A D3 SETB C
- 014B 742D MOV A,#02DH
- 014D 9500 R SUBB A,usDispLen+01H
- 014F E4 CLR A
- 0150 9500 R SUBB A,usDispLen
- 0152 4004 JC ?C0220
- 0154 7B15 MOV R3,#015H
- 0156 8002 SJMP ?C0221
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 89
- 0158 ?C0220:
- 0158 7B05 MOV R3,#05H
- 015A ?C0221:
- 015A 7DE0 MOV R5,#0E0H
- 015C 7FEA MOV R7,#0EAH
- 015E 120000 E LCALL _RTDSetBit
- ; SOURCE LINE # 1296
- 0161 D3 SETB C
- 0162 743C MOV A,#03CH
- 0164 9500 R SUBB A,usDispLen+01H
- 0166 E4 CLR A
- 0167 9500 R SUBB A,usDispLen
- 0169 4004 JC ?C0222
- 016B 7B08 MOV R3,#08H
- 016D 8002 SJMP ?C0223
- 016F ?C0222:
- 016F 7B00 MOV R3,#00H
- 0171 ?C0223:
- 0171 7DF3 MOV R5,#0F3H
- 0173 7F04 MOV R7,#04H
- 0175 120000 E LCALL _RTDSetBit
- ; SOURCE LINE # 1298
- 0178 E4 CLR A
- 0179 FD MOV R5,A
- 017A 7F3C MOV R7,#03CH
- 017C 120000 E LCALL _RTDSetByte
- ; SOURCE LINE # 1300
- 017F 7D06 MOV R5,#06H
- 0181 7FEB MOV R7,#0EBH
- 0183 120000 E LCALL _RTDSetByte
- ; SOURCE LINE # 1310
- 0186 7B40 MOV R3,#040H
- 0188 7DFF MOV R5,#0FFH
- 018A 7FEC MOV R7,#0ECH
- 018C 120000 E LCALL _RTDSetBit
- ; SOURCE LINE # 1318
- 018F 7D1D MOV R5,#01DH
- 0191 7FE8 MOV R7,#0E8H
- 0193 120000 E LCALL _RTDSetByte
- ; SOURCE LINE # 1322
- 0196 E4 CLR A
- 0197 FB MOV R3,A
- 0198 7DC7 MOV R5,#0C7H
- 019A 7FEB MOV R7,#0EBH
- 019C 120000 E LCALL _RTDSetBit
- ; SOURCE LINE # 1327
- 019F 7B04 MOV R3,#04H
- 01A1 7DFF MOV R5,#0FFH
- 01A3 7FFF MOV R7,#0FFH
- 01A5 120000 E LCALL _RTDSetBit
- ; SOURCE LINE # 1330
- 01A8 7800 R MOV R0,#LOW ucMode_Curr
- 01AA E6 MOV A,@R0
- 01AB C3 CLR C
- 01AC 941D SUBB A,#01DH
- 01AE 5004 JNC ?C0224
- ; SOURCE LINE # 1331
- 01B0 7D08 MOV R5,#08H
- 01B2 8002 SJMP ?C0378
- 01B4 ?C0224:
- ; SOURCE LINE # 1333
- 01B4 7D10 MOV R5,#010H
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 90
- 01B6 ?C0378:
- 01B6 7FE9 MOV R7,#0E9H
- 01B8 120000 E LCALL _RTDSetByte
- 01BB ?C0225:
- ; SOURCE LINE # 1337
- 01BB 7800 R MOV R0,#LOW ucMode_Curr
- 01BD E6 MOV A,@R0
- 01BE FF MOV R7,A
- 01BF 743C MOV A,#03CH
- 01C1 D3 SETB C
- 01C2 9F SUBB A,R7
- 01C3 4010 JC ?C0216
- ; SOURCE LINE # 1338
- ; SOURCE LINE # 1341
- 01C5 75F00A MOV B,#0AH
- 01C8 EF MOV A,R7
- 01C9 120000 R LCALL L?0421
- 01CC 120000 R LCALL L?0395
- 01CF 7800 E MOV R0,#LOW usIPV_ACT_LEN
- 01D1 ?C0384:
- 01D1 A606 MOV @R0,AR6
- 01D3 08 INC R0
- 01D4 F6 MOV @R0,A
- ; SOURCE LINE # 1342
- ; SOURCE LINE # 1344
- 01D5 ?C0216:
- ; SOURCE LINE # 1348
- 01D5 7D03 MOV R5,#03H
- 01D7 7F8C MOV R7,#08CH
- 01D9 120000 E LCALL _RTDSetByte
- ; SOURCE LINE # 1350
- 01DC 120000 R LCALL L?0448
- 01DF 2400 E ADD A,#LOW CAP_WIN+06H
- 01E1 F582 MOV DPL,A
- 01E3 E5F0 MOV A,B
- 01E5 3400 E ADDC A,#HIGH CAP_WIN+06H
- 01E7 F583 MOV DPH,A
- 01E9 7401 MOV A,#01H
- 01EB 93 MOVC A,@A+DPTR
- 01EC 24FC ADD A,#0FCH
- 01EE 7800 E MOV R0,#LOW usIPV_ACT_STA+01H
- 01F0 F6 MOV @R0,A
- 01F1 E4 CLR A
- 01F2 93 MOVC A,@A+DPTR
- 01F3 34FF ADDC A,#0FFH
- 01F5 18 DEC R0
- 01F6 F6 MOV @R0,A
- ; SOURCE LINE # 1353
- 01F7 7D06 MOV R5,#06H
- 01F9 7F8D MOV R7,#08DH
- 01FB 120000 E LCALL _RTDSetByte
- ; SOURCE LINE # 1356
- 01FE 7800 R MOV R0,#LOW ucMode_Curr
- 0200 E6 MOV A,@R0
- 0201 FF MOV R7,A
- 0202 C3 CLR C
- 0203 9417 SUBB A,#017H
- 0205 5005 JNC ?C0227
- ; SOURCE LINE # 1357
- 0207 750002 E MOV Data,#02H
- 020A 800E SJMP ?C0228
- 020C ?C0227:
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 91
- ; SOURCE LINE # 1358
- 020C EF MOV A,R7
- 020D C3 CLR C
- 020E 942C SUBB A,#02CH
- 0210 5005 JNC ?C0229
- ; SOURCE LINE # 1359
- 0212 750005 E MOV Data,#05H
- 0215 8003 SJMP ?C0228
- 0217 ?C0229:
- ; SOURCE LINE # 1361
- 0217 750003 E MOV Data,#03H
- 021A ?C0228:
- ; SOURCE LINE # 1364
- 021A 120000 R LCALL L?0476
- 021D 24FA ADD A,#0FAH
- 021F 08 INC R0
- 0220 F6 MOV @R0,A
- 0221 EF MOV A,R7
- 0222 34FF ADDC A,#0FFH
- 0224 18 DEC R0
- 0225 F6 MOV @R0,A
- ; SOURCE LINE # 1368
- 0226 120000 R LCALL L?0490
- 0229 120000 R LCALL L?0417
- 022C F583 MOV DPH,A
- 022E E4 CLR A
- 022F 93 MOVC A,@A+DPTR
- 0230 F500 R MOV usDispLen,A
- 0232 7401 MOV A,#01H
- 0234 93 MOVC A,@A+DPTR
- 0235 F500 R MOV usDispLen+01H,A
- ; SOURCE LINE # 1370
- 0237 EF MOV A,R7
- 0238 643C XRL A,#03CH
- 023A 701F JNZ ?C0231
- ; SOURCE LINE # 1371
- ; SOURCE LINE # 1372
- 023C E500 R MOV A,ucOption
- 023E 30E748 JNB ACC.7,?C0235
- ; SOURCE LINE # 1373
- ; SOURCE LINE # 1374
- 0241 120000 R LCALL L?0426
- 0244 FE MOV R6,A
- 0245 D3 SETB C
- 0246 7410 MOV A,#010H
- 0248 9F SUBB A,R7
- 0249 7404 MOV A,#04H
- 024B 9E SUBB A,R6
- 024C 7800 E MOV R0,#LOW usIPV_ACT_LEN
- 024E E6 MOV A,@R0
- 024F 4002 JC ?C0233
- ; SOURCE LINE # 1375
- 0251 8016 SJMP ?C0385
- 0253 ?C0233:
- ; SOURCE LINE # 1377
- 0253 F500 R MOV usDispLen,A
- 0255 08 INC R0
- 0256 E6 MOV A,@R0
- 0257 F500 R MOV usDispLen+01H,A
- ; SOURCE LINE # 1378
- ; SOURCE LINE # 1379
- 0259 802E SJMP ?C0235
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 92
- 025B ?C0231:
- ; SOURCE LINE # 1380
- 025B 7800 R MOV R0,#LOW ucMode_Curr
- 025D E6 MOV A,@R0
- 025E B43D28 CJNE A,#03DH,?C0235
- ; SOURCE LINE # 1381
- ; SOURCE LINE # 1382
- 0261 E500 R MOV A,ucOption
- 0263 30E723 JNB ACC.7,?C0235
- ; SOURCE LINE # 1383
- ; SOURCE LINE # 1384
- 0266 7800 E MOV R0,#LOW usIPV_ACT_LEN
- 0268 E6 MOV A,@R0
- 0269 ?C0385:
- 0269 120000 R LCALL L?0401
- 026C 7B10 MOV R3,#010H
- 026E 120000 R LCALL L?0442
- 0271 C006 PUSH AR6
- 0273 C007 PUSH AR7
- 0275 120000 R LCALL L?0426
- 0278 AB07 MOV R3,AR7
- 027A FA MOV R2,A
- 027B E4 CLR A
- 027C F9 MOV R1,A
- 027D F8 MOV R0,A
- 027E D007 POP AR7
- 0280 D006 POP AR6
- 0282 120000 E LCALL ?C?ULDIV
- 0285 8E00 R MOV usDispLen,R6
- 0287 8F00 R MOV usDispLen+01H,R7
- ; SOURCE LINE # 1385
- ; SOURCE LINE # 1386
- 0289 ?C0235:
- ; SOURCE LINE # 1388
- 0289 7800 R MOV R0,#LOW ucMode_Curr
- 028B E6 MOV A,@R0
- 028C 75F00A MOV B,#0AH
- 028F 120000 R LCALL L?0417
- 0292 120000 R LCALL L?0395
- 0295 FF MOV R7,A
- 0296 C3 CLR C
- 0297 9500 R SUBB A,usDispLen+01H
- 0299 EE MOV A,R6
- 029A 9500 R SUBB A,usDispLen
- 029C 5004 JNC ?C0238
- 029E 8E00 R MOV usDispLen,R6
- 02A0 8F00 R MOV usDispLen+01H,R7
- 02A2 ?C0238:
- ; SOURCE LINE # 1391
- 02A2 120000 R LCALL L?0464
- 02A5 4012 JC ?C0239
- 02A7 120000 R LCALL L?0393
- 02AA FF MOV R7,A
- 02AB C3 CLR C
- 02AC 7800 E MOV R0,#LOW usIPH_ACT_WID+01H
- 02AE 96 SUBB A,@R0
- 02AF EE MOV A,R6
- 02B0 18 DEC R0
- 02B1 96 SUBB A,@R0
- 02B2 5005 JNC ?C0239
- ; SOURCE LINE # 1392
- ; SOURCE LINE # 1393
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 93
- 02B4 A606 MOV @R0,AR6
- 02B6 08 INC R0
- 02B7 A607 MOV @R0,AR7
- ; SOURCE LINE # 1394
- 02B9 ?C0239:
- ; SOURCE LINE # 1396
- 02B9 D3 SETB C
- 02BA 120000 R LCALL L?0465
- 02BD 4003 JC ?C0240
- 02BF 430001 R ORL ucOption,#01H
- 02C2 ?C0240:
- ; SOURCE LINE # 1397
- 02C2 120000 R LCALL L?0464
- 02C5 5003 JNC ?C0241
- 02C7 430002 R ORL ucOption,#02H
- 02CA ?C0241:
- ; SOURCE LINE # 1398
- 02CA 120000 R LCALL L?0393
- 02CD FF MOV R7,A
- 02CE 7800 E MOV R0,#LOW usIPH_ACT_WID
- 02D0 120000 R LCALL L?0457
- 02D3 EF MOV A,R7
- 02D4 9D SUBB A,R5
- 02D5 EE MOV A,R6
- 02D6 9C SUBB A,R4
- 02D7 4003 JC ?C0242
- 02D9 430004 R ORL ucOption,#04H
- 02DC ?C0242:
- ; SOURCE LINE # 1399
- 02DC C3 CLR C
- 02DD EF MOV A,R7
- 02DE 9D SUBB A,R5
- 02DF EE MOV A,R6
- 02E0 9C SUBB A,R4
- 02E1 5003 JNC ?C0243
- 02E3 430008 R ORL ucOption,#08H
- 02E6 ?C0243:
- ; SOURCE LINE # 1402
- 02E6 75000B E MOV Data,#0BH
- ; SOURCE LINE # 1403
- ; SOURCE LINE # 1404
- ; SOURCE LINE # 1405
- ; SOURCE LINE # 1406
- 02E9 120000 R LCALL L?0449
- ; SOURCE LINE # 1407
- 02EC 7800 E MOV R0,#LOW usIPH_ACT_WID+01H
- 02EE E6 MOV A,@R0
- 02EF F500 E MOV Data+05H,A
- ; SOURCE LINE # 1408
- 02F1 EC MOV A,R4
- 02F2 F500 E MOV Data+06H,A
- ; SOURCE LINE # 1409
- 02F4 7800 E MOV R0,#LOW usIPV_ACT_STA+01H
- 02F6 E6 MOV A,@R0
- 02F7 F500 E MOV Data+07H,A
- ; SOURCE LINE # 1410
- 02F9 18 DEC R0
- 02FA E6 MOV A,@R0
- 02FB F500 E MOV Data+08H,A
- ; SOURCE LINE # 1411
- 02FD 7800 E MOV R0,#LOW usIPV_ACT_LEN+01H
- 02FF E6 MOV A,@R0
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 94
- 0300 F500 E MOV Data+09H,A
- ; SOURCE LINE # 1412
- 0302 18 DEC R0
- 0303 E6 MOV A,@R0
- 0304 F500 E MOV Data+0AH,A
- ; SOURCE LINE # 1413
- 0306 E4 CLR A
- 0307 F500 E MOV Data+0BH,A
- ; SOURCE LINE # 1414
- 0309 7F00 E MOV R7,#LOW Data
- 030B 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 1417
- ; SOURCE LINE # 1418
- 030E 120000 R LCALL L?0503
- ; SOURCE LINE # 1419
- 0311 750040 E MOV Data+02H,#040H
- ; SOURCE LINE # 1421
- 0314 E500 R MOV A,ucOption
- 0316 30E30A JNB ACC.3,?C0244
- ; SOURCE LINE # 1422
- ; SOURCE LINE # 1424
- 0319 120000 R LCALL L?0394
- 031C F500 E MOV Data+03H,A
- ; SOURCE LINE # 1425
- 031E EE MOV A,R6
- 031F F500 E MOV Data+04H,A
- ; SOURCE LINE # 1426
- 0321 8006 SJMP ?C0245
- 0323 ?C0244:
- ; SOURCE LINE # 1428
- ; SOURCE LINE # 1430
- 0323 850000 E MOV Data+03H,Data+05H
- ; SOURCE LINE # 1431
- 0326 850000 E MOV Data+04H,Data+06H
- ; SOURCE LINE # 1432
- 0329 ?C0245:
- ; SOURCE LINE # 1434
- 0329 E500 R MOV A,ucOption
- 032B 30E109 JNB ACC.1,?C0246
- ; SOURCE LINE # 1435
- ; SOURCE LINE # 1437
- 032E 850000 E MOV Data+05H,usDispLen+01H
- ; SOURCE LINE # 1438
- 0331 E500 R MOV A,usDispLen
- 0333 F500 E MOV Data+06H,A
- ; SOURCE LINE # 1439
- 0335 8006 SJMP ?C0247
- 0337 ?C0246:
- ; SOURCE LINE # 1441
- ; SOURCE LINE # 1443
- 0337 850000 E MOV Data+05H,Data+09H
- ; SOURCE LINE # 1444
- 033A 850000 E MOV Data+06H,Data+0AH
- ; SOURCE LINE # 1445
- 033D ?C0247:
- ; SOURCE LINE # 1446
- 033D E4 CLR A
- 033E F500 E MOV Data+07H,A
- ; SOURCE LINE # 1447
- 0340 7F00 E MOV R7,#LOW Data
- 0342 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 1450
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 95
- 0345 E500 R MOV A,ucOption
- 0347 540A ANL A,#0AH
- 0349 6006 JZ ?C0248
- ; SOURCE LINE # 1451
- 034B 7B01 MOV R3,#01H
- 034D 7DFF MOV R5,#0FFH
- 034F 8004 SJMP ?C0379
- 0351 ?C0248:
- ; SOURCE LINE # 1453
- 0351 E4 CLR A
- 0352 FB MOV R3,A
- 0353 7DFE MOV R5,#0FEH
- 0355 ?C0379:
- 0355 7F70 MOV R7,#070H
- 0357 120000 E LCALL _RTDSetBit
- 035A ?C0249:
- ; SOURCE LINE # 1455
- 035A E500 R MOV A,ucOption
- 035C 30E006 JNB ACC.0,?C0250
- ; SOURCE LINE # 1456
- 035F 7B02 MOV R3,#02H
- 0361 7DFF MOV R5,#0FFH
- 0363 8004 SJMP ?C0380
- 0365 ?C0250:
- ; SOURCE LINE # 1458
- 0365 E4 CLR A
- 0366 FB MOV R3,A
- 0367 7DFD MOV R5,#0FDH
- 0369 ?C0380:
- 0369 7F15 MOV R7,#015H
- 036B 120000 E LCALL _RTDSetBit
- 036E ?C0251:
- ; SOURCE LINE # 1460
- 036E E500 R MOV A,ucOption
- 0370 30E206 JNB ACC.2,?C0252
- ; SOURCE LINE # 1461
- 0373 7B01 MOV R3,#01H
- 0375 7DFF MOV R5,#0FFH
- 0377 8004 SJMP ?C0381
- 0379 ?C0252:
- ; SOURCE LINE # 1463
- 0379 E4 CLR A
- 037A FB MOV R3,A
- 037B 7DFE MOV R5,#0FEH
- 037D ?C0381:
- 037D 7F15 MOV R7,#015H
- 037F 120000 E LCALL _RTDSetBit
- 0382 ?C0253:
- ; SOURCE LINE # 1466
- ; SOURCE LINE # 1467
- 0382 120000 R LCALL L?0504
- ; SOURCE LINE # 1468
- 0385 750071 E MOV Data+02H,#071H
- ; SOURCE LINE # 1470
- 0388 E500 R MOV A,ucOption
- 038A 30E333 JNB ACC.3,?C0254
- ; SOURCE LINE # 1471
- ; SOURCE LINE # 1473
- 038D 7800 E MOV R0,#LOW usIPH_ACT_WID
- 038F 120000 R LCALL L?0400
- 0392 120000 R LCALL L?0472
- 0395 C006 PUSH AR6
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 96
- 0397 C007 PUSH AR7
- 0399 120000 R LCALL L?0394
- 039C 120000 R LCALL L?0424
- 039F D007 POP AR7
- 03A1 D006 POP AR6
- 03A3 120000 E LCALL ?C?ULDIV
- 03A6 120000 R LCALL L?0407
- ; SOURCE LINE # 1476
- 03A9 7808 MOV R0,#08H
- 03AB 120000 E LCALL ?C?ULSHR
- 03AE EF MOV A,R7
- 03AF 2402 ADD A,#02H
- 03B1 F500 E MOV Data+05H,A
- 03B3 E4 CLR A
- 03B4 3E ADDC A,R6
- 03B5 F500 E MOV Data+04H,A
- ; SOURCE LINE # 1479
- 03B7 850000 E MOV Data+03H,Data+05H
- ; SOURCE LINE # 1481
- 03BA 7B40 MOV R3,#040H
- 03BC 7DFF MOV R5,#0FFH
- ; SOURCE LINE # 1482
- 03BE 8009 SJMP ?C0382
- 03C0 ?C0254:
- ; SOURCE LINE # 1484
- ; SOURCE LINE # 1485
- 03C0 E4 CLR A
- 03C1 F500 E MOV Data+03H,A
- ; SOURCE LINE # 1486
- 03C3 750010 E MOV Data+04H,#010H
- ; SOURCE LINE # 1488
- 03C6 FB MOV R3,A
- 03C7 7DBF MOV R5,#0BFH
- 03C9 ?C0382:
- 03C9 7F04 MOV R7,#04H
- 03CB 120000 E LCALL _RTDSetBit
- ; SOURCE LINE # 1489
- 03CE ?C0255:
- ; SOURCE LINE # 1491
- 03CE E500 R MOV A,ucOption
- 03D0 30E137 JNB ACC.1,?C0256
- ; SOURCE LINE # 1492
- ; SOURCE LINE # 1494
- 03D3 7800 E MOV R0,#LOW usIPV_ACT_LEN
- 03D5 120000 R LCALL L?0400
- 03D8 120000 R LCALL L?0472
- 03DB C006 PUSH AR6
- 03DD C007 PUSH AR7
- 03DF 120000 R LCALL L?0451
- 03E2 D007 POP AR7
- 03E4 D006 POP AR6
- 03E6 120000 E LCALL ?C?ULDIV
- 03E9 120000 R LCALL L?0407
- ; SOURCE LINE # 1497
- 03EC 7808 MOV R0,#08H
- 03EE 120000 E LCALL ?C?ULSHR
- 03F1 8E00 E MOV Data+06H,R6
- 03F3 8F00 E MOV Data+07H,R7
- ; SOURCE LINE # 1499
- 03F5 E500 E MOV A,Data+0FH
- 03F7 7008 JNZ ?C0257
- 03F9 E500 E MOV A,Data+07H
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 97
- 03FB 1500 E DEC Data+07H
- 03FD 7002 JNZ ?C0361
- 03FF 1500 E DEC Data+06H
- 0401 ?C0361:
- 0401 ?C0257:
- ; SOURCE LINE # 1502
- 0401 850000 E MOV Data+05H,Data+07H
- ; SOURCE LINE # 1504
- 0404 7B80 MOV R3,#080H
- 0406 7DFF MOV R5,#0FFH
- ; SOURCE LINE # 1505
- 0408 8009 SJMP ?C0386
- 040A ?C0256:
- ; SOURCE LINE # 1507
- ; SOURCE LINE # 1508
- 040A E4 CLR A
- 040B F500 E MOV Data+05H,A
- ; SOURCE LINE # 1509
- 040D 750010 E MOV Data+06H,#010H
- ; SOURCE LINE # 1511
- 0410 FB MOV R3,A
- 0411 7D7F MOV R5,#07FH
- 0413 ?C0386:
- 0413 7F04 MOV R7,#04H
- 0415 120000 E LCALL _RTDSetBit
- ; SOURCE LINE # 1512
- 0418 ?C0258:
- ; SOURCE LINE # 1513
- 0418 E4 CLR A
- 0419 F500 E MOV Data+07H,A
- ; SOURCE LINE # 1514
- 041B 7F00 E MOV R7,#LOW Data
- 041D 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 1517
- 0420 750008 E MOV Data,#08H
- ; SOURCE LINE # 1518
- 0423 E4 CLR A
- 0424 F500 E MOV Data+01H,A
- ; SOURCE LINE # 1519
- 0426 750016 E MOV Data+02H,#016H
- ; SOURCE LINE # 1521
- 0429 E500 R MOV A,ucOption
- 042B 30E242 JNB ACC.2,?C0259
- ; SOURCE LINE # 1522
- ; SOURCE LINE # 1524
- 042E 7800 E MOV R0,#LOW usIPH_ACT_WID
- 0430 120000 R LCALL L?0400
- 0433 7908 MOV R1,#08H
- 0435 120000 R LCALL L?0473
- 0438 C006 PUSH AR6
- 043A C007 PUSH AR7
- 043C 120000 R LCALL L?0394
- 043F 120000 R LCALL L?0424
- 0442 D007 POP AR7
- 0444 D006 POP AR6
- 0446 120000 E LCALL ?C?ULDIV
- 0449 120000 R LCALL L?0407
- ; SOURCE LINE # 1525
- 044C 120000 R LCALL L?0505
- 044F C004 PUSH AR4
- 0451 C005 PUSH AR5
- 0453 C006 PUSH AR6
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 98
- 0455 C007 PUSH AR7
- 0457 120000 R LCALL L?0443
- 045A D003 POP AR3
- 045C D002 POP AR2
- 045E D001 POP AR1
- 0460 D000 POP AR0
- 0462 120000 R LCALL L?0406
- ; SOURCE LINE # 1527
- 0465 850000 E MOV Data+03H,Data+0EH
- ; SOURCE LINE # 1528
- 0468 850000 E MOV Data+04H,Data+0DH
- ; SOURCE LINE # 1529
- 046B 850000 E MOV Data+07H,Data+0FH
- ; SOURCE LINE # 1530
- 046E 8009 SJMP ?C0260
- 0470 ?C0259:
- ; SOURCE LINE # 1532
- ; SOURCE LINE # 1533
- 0470 7500FF E MOV Data+03H,#0FFH
- ; SOURCE LINE # 1534
- 0473 7500FF E MOV Data+04H,#0FFH
- ; SOURCE LINE # 1535
- 0476 E4 CLR A
- 0477 F500 E MOV Data+07H,A
- ; SOURCE LINE # 1536
- 0479 ?C0260:
- ; SOURCE LINE # 1538
- 0479 E500 R MOV A,ucOption
- 047B 30E046 JNB ACC.0,?C0261
- ; SOURCE LINE # 1539
- ; SOURCE LINE # 1541
- 047E 7800 E MOV R0,#LOW usIPV_ACT_LEN
- 0480 120000 R LCALL L?0400
- 0483 FB MOV R3,A
- 0484 FA MOV R2,A
- 0485 7908 MOV R1,#08H
- 0487 F8 MOV R0,A
- 0488 120000 E LCALL ?C?LMUL
- 048B C006 PUSH AR6
- 048D C007 PUSH AR7
- 048F 120000 R LCALL L?0451
- 0492 D007 POP AR7
- 0494 D006 POP AR6
- 0496 120000 E LCALL ?C?ULDIV
- 0499 120000 R LCALL L?0407
- ; SOURCE LINE # 1542
- 049C 120000 R LCALL L?0505
- 049F C004 PUSH AR4
- 04A1 C005 PUSH AR5
- 04A3 C006 PUSH AR6
- 04A5 C007 PUSH AR7
- 04A7 120000 R LCALL L?0443
- 04AA D003 POP AR3
- 04AC D002 POP AR2
- 04AE D001 POP AR1
- 04B0 D000 POP AR0
- 04B2 120000 R LCALL L?0406
- ; SOURCE LINE # 1544
- 04B5 850000 E MOV Data+05H,Data+0EH
- ; SOURCE LINE # 1546
- 04B8 850000 E MOV Data+06H,Data+0DH
- ; SOURCE LINE # 1548
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 99
- 04BB E500 E MOV A,Data+0FH
- 04BD C4 SWAP A
- 04BE 540F ANL A,#0FH
- 04C0 4200 E ORL Data+07H,A
- ; SOURCE LINE # 1549
- 04C2 8006 SJMP ?C0262
- 04C4 ?C0261:
- ; SOURCE LINE # 1551
- ; SOURCE LINE # 1552
- 04C4 7500FF E MOV Data+05H,#0FFH
- ; SOURCE LINE # 1553
- 04C7 7500FF E MOV Data+06H,#0FFH
- ; SOURCE LINE # 1554
- 04CA ?C0262:
- ; SOURCE LINE # 1555
- 04CA E4 CLR A
- 04CB F500 E MOV Data+08H,A
- ; SOURCE LINE # 1556
- 04CD 7F00 E MOV R7,#LOW Data
- 04CF 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 1561
- 04D2 7D2C MOV R5,#02CH
- 04D4 7F20 MOV R7,#020H
- 04D6 120000 E LCALL _RTDSetByte
- ; SOURCE LINE # 1563
- ; SOURCE LINE # 1564
- 04D9 120000 R LCALL L?0485
- ; SOURCE LINE # 1577
- 04DC 750029 E MOV Data+02H,#029H
- ; SOURCE LINE # 1580
- 04DF 120000 R LCALL L?0448
- 04E2 2400 E ADD A,#LOW Mode_Preset+02H
- 04E4 F582 MOV DPL,A
- 04E6 E5F0 MOV A,B
- 04E8 3400 E ADDC A,#HIGH Mode_Preset+02H
- 04EA F583 MOV DPH,A
- 04EC 7401 MOV A,#01H
- 04EE 93 MOVC A,@A+DPTR
- 04EF 2420 ADD A,#020H
- 04F1 F500 E MOV Data+05H,A
- 04F3 E4 CLR A
- 04F4 93 MOVC A,@A+DPTR
- 04F5 3400 ADDC A,#00H
- 04F7 F500 E MOV Data+04H,A
- ; SOURCE LINE # 1582
- 04F9 850000 E MOV Data+03H,Data+05H
- ; SOURCE LINE # 1586
- 04FC 750005 E MOV Data+05H,#05H
- ; SOURCE LINE # 1587
- 04FF E4 CLR A
- 0500 F500 E MOV Data+06H,A
- ; SOURCE LINE # 1588
- 0502 750034 E MOV Data+07H,#034H
- ; SOURCE LINE # 1591
- 0505 E500 R MOV A,usDispLen+01H
- 0507 240C ADD A,#0CH
- 0509 F500 E MOV Data+0BH,A
- 050B E4 CLR A
- 050C 3500 R ADDC A,usDispLen
- 050E F500 E MOV Data+0AH,A
- ; SOURCE LINE # 1593
- 0510 850000 E MOV Data+08H,Data+0BH
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 100
- ; SOURCE LINE # 1594
- 0513 F500 E MOV Data+09H,A
- ; SOURCE LINE # 1595
- 0515 E4 CLR A
- 0516 F500 E MOV Data+0AH,A
- ; SOURCE LINE # 1596
- 0518 7F00 E MOV R7,#LOW Data
- 051A 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 1599
- 051D 120000 R LCALL L?0448
- 0520 2400 E ADD A,#LOW Mode_Preset
- 0522 F582 MOV DPL,A
- 0524 E5F0 MOV A,B
- 0526 3400 E ADDC A,#HIGH Mode_Preset
- 0528 120000 R LCALL L?0395
- 052B 7800 E MOV R0,#LOW usDH_Total
- 052D A606 MOV @R0,AR6
- 052F 08 INC R0
- 0530 F6 MOV @R0,A
- ; SOURCE LINE # 1603
- 0531 200004 E JB bPanel_Status,?C0263
- ; SOURCE LINE # 1604
- 0534 7D2D MOV R5,#02DH
- 0536 8002 SJMP ?C0383
- 0538 ?C0263:
- ; SOURCE LINE # 1606
- 0538 7D2F MOV R5,#02FH
- 053A ?C0383:
- 053A 7F20 MOV R7,#020H
- 053C 120000 E LCALL _RTDSetByte
- 053F ?C0264:
- ; SOURCE LINE # 1608
- 053F AF00 R MOV R7,usDispLen+01H
- 0541 AE00 R MOV R6,usDispLen
- 0543 120000 R LCALL _Set_Dclk
- ; SOURCE LINE # 1613
- ; SOURCE LINE # 1614
- 0546 120000 R LCALL L?0485
- ; SOURCE LINE # 1615
- 0549 750022 E MOV Data+02H,#022H
- ; SOURCE LINE # 1616
- 054C 7800 E MOV R0,#LOW usDH_Total+01H
- 054E E6 MOV A,@R0
- 054F 24FE ADD A,#0FEH
- 0551 F500 E MOV Data+03H,A
- ; SOURCE LINE # 1617
- 0553 120000 R LCALL L?0493
- ; SOURCE LINE # 1618
- ; SOURCE LINE # 1619
- 0556 120000 R LCALL L?0499
- ; SOURCE LINE # 1624
- 0559 E500 R MOV A,ucOption
- 055B 20E003 JB ACC.0,?C0266
- 055E 30E122 JNB ACC.1,?C0265
- 0561 ?C0266:
- ; SOURCE LINE # 1625
- ; SOURCE LINE # 1637
- 0561 7800 R MOV R0,#LOW usVsync
- 0563 120000 R LCALL L?0400
- 0566 120000 R LCALL L?0441
- 0569 C006 PUSH AR6
- 056B C007 PUSH AR7
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 101
- 056D 120000 R LCALL L?0422
- 0570 D007 POP AR7
- 0572 D006 POP AR6
- 0574 120000 E LCALL ?C?ULDIV
- 0577 EF MOV A,R7
- 0578 2440 ADD A,#040H
- 057A 7800 E MOV R0,#LOW usDV_Total+01H
- 057C F6 MOV @R0,A
- 057D E4 CLR A
- 057E 3E ADDC A,R6
- 057F 18 DEC R0
- 0580 F6 MOV @R0,A
- ; SOURCE LINE # 1641
- 0581 800D SJMP ?C0267
- 0583 ?C0265:
- ; SOURCE LINE # 1643
- 0583 7800 R MOV R0,#LOW usVsync+01H
- 0585 E6 MOV A,@R0
- 0586 2440 ADD A,#040H
- 0588 7900 E MOV R1,#LOW usDV_Total+01H
- 058A F7 MOV @R1,A
- 058B 18 DEC R0
- 058C E4 CLR A
- 058D 36 ADDC A,@R0
- 058E 19 DEC R1
- 058F F7 MOV @R1,A
- 0590 ?C0267:
- ; SOURCE LINE # 1646
- ; SOURCE LINE # 1647
- 0590 120000 R LCALL L?0486
- ; SOURCE LINE # 1648
- 0593 75002D E MOV Data+02H,#02DH
- ; SOURCE LINE # 1649
- 0596 7800 E MOV R0,#LOW usDV_Total+01H
- 0598 E6 MOV A,@R0
- 0599 F500 E MOV Data+03H,A
- ; SOURCE LINE # 1650
- 059B 18 DEC R0
- 059C E6 MOV A,@R0
- 059D 5407 ANL A,#07H
- ; SOURCE LINE # 1651
- ; SOURCE LINE # 1652
- 059F 120000 R LCALL L?0499
- ; SOURCE LINE # 1661
- 05A2 7800 E MOV R0,#LOW usIPV_ACT_LEN
- 05A4 120000 R LCALL L?0400
- 05A7 7A03 MOV R2,#03H
- 05A9 120000 R LCALL L?0492
- 05AC C006 PUSH AR6
- 05AE C007 PUSH AR7
- 05B0 120000 R LCALL L?0452
- 05B3 D007 POP AR7
- 05B5 D006 POP AR6
- 05B7 120000 R LCALL L?0435
- ; SOURCE LINE # 1663
- 05BA E500 R MOV A,ucOption
- 05BC 30E008 JNB ACC.0,?C0268
- ; SOURCE LINE # 1664
- ; SOURCE LINE # 1665
- 05BF AB00 E MOV R3,Data+01H
- 05C1 AA00 E MOV R2,Data
- 05C3 7D05 MOV R5,#05H
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 102
- ; SOURCE LINE # 1667
- 05C5 800B SJMP ?C0387
- 05C7 ?C0268:
- ; SOURCE LINE # 1669
- ; SOURCE LINE # 1673
- 05C7 E500 R MOV A,ucOption
- 05C9 AB00 E MOV R3,Data+01H
- 05CB AA00 E MOV R2,Data
- 05CD 30E106 JNB ACC.1,?C0270
- ; SOURCE LINE # 1674
- ; SOURCE LINE # 1676
- 05D0 7D06 MOV R5,#06H
- 05D2 ?C0387:
- 05D2 7F02 MOV R7,#02H
- ; SOURCE LINE # 1677
- 05D4 8004 SJMP ?C0388
- 05D6 ?C0270:
- ; SOURCE LINE # 1679
- ; SOURCE LINE # 1681
- 05D6 7D09 MOV R5,#09H
- 05D8 7F01 MOV R7,#01H
- 05DA ?C0388:
- 05DA 120000 R LCALL _Calculate_IVS2DVS_Delay
- ; SOURCE LINE # 1682
- ; SOURCE LINE # 1685
- 05DD ?C0269:
- ; SOURCE LINE # 1691
- 05DD E4 CLR A
- 05DE FB MOV R3,A
- 05DF 7DFC MOV R5,#0FCH
- 05E1 7F68 MOV R7,#068H
- 05E3 120000 E LCALL _RTDSetBit
- ; SOURCE LINE # 1695
- 05E6 7800 E MOV R0,#LOW ucDV_Delay
- 05E8 E6 MOV A,@R0
- 05E9 FD MOV R5,A
- 05EA 7F38 MOV R7,#038H
- 05EC 120000 E LCALL _RTDSetByte
- ; SOURCE LINE # 1697
- 05EF E4 CLR A
- 05F0 FD MOV R5,A
- 05F1 7F01 MOV R7,#01H
- 05F3 120000 E LCALL _RTDSetByte
- ; SOURCE LINE # 1698
- 05F6 E4 CLR A
- 05F7 FD MOV R5,A
- 05F8 7F1F MOV R7,#01FH
- 05FA 120000 E LCALL _RTDSetByte
- ; SOURCE LINE # 1707
- 05FD 7B01 MOV R3,#01H
- 05FF 7DFF MOV R5,#0FFH
- 0601 7F04 MOV R7,#04H
- 0603 020000 E LJMP _RTDSetBit
- ; SOURCE LINE # 1709
- 0606 L?0499:
- 0606 F500 E MOV Data+04H,A
- 0608 E4 CLR A
- 0609 F500 E MOV Data+05H,A
- 060B 7F00 E MOV R7,#LOW Data
- 060D 120000 E LCALL _RTDWrite
- 0610 22 RET
- ; FUNCTION Initial_Mode (END)
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 103
- ; FUNCTION Display_VGA_Set (BEGIN)
- ; SOURCE LINE # 1711
- ; SOURCE LINE # 1712
- ; SOURCE LINE # 1717
- 0000 120000 R LCALL Initial_Mode
- ; SOURCE LINE # 1718
- 0003 120000 E LCALL Sharpness
- ; SOURCE LINE # 1720
- 0006 7800 E MOV R0,#LOW usIPH_ACT_WID+01H
- 0008 E6 MOV A,@R0
- 0009 B40013 CJNE A,#00H,?C0273
- 000C 18 DEC R0
- 000D E6 MOV A,@R0
- 000E B4050E CJNE A,#05H,?C0273
- 0011 E500 E MOV A,stGUD1+02H
- 0013 B40209 CJNE A,#02H,?C0273
- ; SOURCE LINE # 1721
- 0016 7B01 MOV R3,#01H
- 0018 7DFF MOV R5,#0FFH
- 001A 7F15 MOV R7,#015H
- 001C 120000 E LCALL _RTDSetBit
- 001F ?C0273:
- ; SOURCE LINE # 1724
- 001F 120000 E LCALL PowerDown_ADC
- ; SOURCE LINE # 1728
- 0022 120000 E LCALL SetADC_GainOffset
- ; SOURCE LINE # 1730
- 0025 120000 E LCALL Set_Gamma
- ; SOURCE LINE # 1731
- 0028 120000 E LCALL Set_Dithering
- ; SOURCE LINE # 1732
- 002B 120000 E LCALL Set_Bright_Contrast
- ; SOURCE LINE # 1735
- 002E 7800 R MOV R0,#LOW ucMode_Curr
- 0030 E6 MOV A,@R0
- 0031 FF MOV R7,A
- 0032 120000 E LCALL _Load_MUD
- ; SOURCE LINE # 1738
- 0035 E4 CLR A
- 0036 7800 R MOV R0,#LOW ucPE_Level
- 0038 F6 MOV @R0,A
- ; SOURCE LINE # 1742
- 0039 741C MOV A,#01CH
- 003B D3 SETB C
- 003C 9500 E SUBB A,stMUD+02H
- 003E 5007 JNC ?C0275
- 0040 74E4 MOV A,#0E4H
- 0042 C3 CLR C
- 0043 9500 E SUBB A,stMUD+02H
- 0045 5003 JNC ?C0274
- 0047 ?C0275:
- 0047 750080 E MOV stMUD+02H,#080H
- 004A ?C0274:
- ; SOURCE LINE # 1746
- 004A 120000 E LCALL Set_Clock
- ; SOURCE LINE # 1748
- 004D 7F06 MOV R7,#06H
- 004F 120000 E LCALL _Delay_Xms
- ; SOURCE LINE # 1750
- 0052 7800 R MOV R0,#LOW ucCE_Value
- 0054 E6 MOV A,@R0
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 104
- 0055 7025 JNZ ?C0276
- ; SOURCE LINE # 1751
- ; SOURCE LINE # 1752
- 0057 7FCA MOV R7,#0CAH
- 0059 120000 R LCALL L?0497
- ; SOURCE LINE # 1753
- 005C 7D0D MOV R5,#0DH
- 005E 7FCA MOV R7,#0CAH
- 0060 120000 E LCALL _RTDSetByte
- ; SOURCE LINE # 1754
- 0063 7F04 MOV R7,#04H
- 0065 120000 E LCALL _Delay_Xms
- ; SOURCE LINE # 1755
- 0068 7FCE MOV R7,#0CEH
- 006A 120000 R LCALL L?0497
- ; SOURCE LINE # 1756
- 006D E500 E MOV A,Data
- 006F 75F0C8 MOV B,#0C8H
- 0072 A4 MUL AB
- 0073 E5F0 MOV A,B
- 0075 7800 E MOV R0,#LOW ucP_Corr
- 0077 F6 MOV @R0,A
- ; SOURCE LINE # 1757
- 0078 7800 R MOV R0,#LOW ucCE_Value
- 007A A600 E MOV @R0,Data
- ; SOURCE LINE # 1759
- 007C ?C0276:
- ; SOURCE LINE # 1761
- 007C 7800 E MOV R0,#LOW ucI_Code
- 007E E6 MOV A,@R0
- 007F 7003 JNZ ?C0277
- ; SOURCE LINE # 1762
- 0081 120000 E LCALL Adjust_I_Code
- 0084 ?C0277:
- ; SOURCE LINE # 1765
- 0084 120000 E LCALL Set_Clock
- ; SOURCE LINE # 1774
- 0087 7800 E MOV R0,#LOW ucH_Max_Margin
- 0089 76B2 MOV @R0,#0B2H
- ; SOURCE LINE # 1775
- 008B 7800 E MOV R0,#LOW ucH_Min_Margin
- 008D 764E MOV @R0,#04EH
- ; SOURCE LINE # 1778
- 008F 7800 R MOV R0,#LOW ucMode_Curr
- 0091 E6 MOV A,@R0
- 0092 14 DEC A
- 0093 FD MOV R5,A
- 0094 7B01 MOV R3,#01H
- 0096 7FAE MOV R7,#0AEH
- 0098 120000 E LCALL _I2CRead
- ; SOURCE LINE # 1779
- 009B E500 E MOV A,Data
- 009D D3 SETB C
- 009E 94E4 SUBB A,#0E4H
- 00A0 4003 JC ?C0278
- ; SOURCE LINE # 1780
- 00A2 E4 CLR A
- 00A3 F500 E MOV Data,A
- 00A5 ?C0278:
- ; SOURCE LINE # 1782
- 00A5 E500 E MOV A,Data
- 00A7 30E71A JNB ACC.7,?C0279
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 105
- 00AA 2480 ADD A,#080H
- 00AC FF MOV R7,A
- 00AD E4 CLR A
- 00AE 34FF ADDC A,#0FFH
- 00B0 FE MOV R6,A
- 00B1 7800 E MOV R0,#LOW usIPH_ACT_STA+01H
- 00B3 E6 MOV A,@R0
- 00B4 24CE ADD A,#0CEH
- 00B6 FD MOV R5,A
- 00B7 18 DEC R0
- 00B8 E6 MOV A,@R0
- 00B9 34FF ADDC A,#0FFH
- 00BB CD XCH A,R5
- 00BC C3 CLR C
- 00BD 9F SUBB A,R7
- 00BE FF MOV R7,A
- 00BF ED MOV A,R5
- 00C0 9E SUBB A,R6
- 00C1 FE MOV R6,A
- 00C2 8009 SJMP ?C0280
- 00C4 ?C0279:
- 00C4 120000 R LCALL L?0476
- 00C7 24CE ADD A,#0CEH
- 00C9 CF XCH A,R7
- 00CA 34FF ADDC A,#0FFH
- 00CC FE MOV R6,A
- 00CD ?C0280:
- 00CD 120000 R LCALL L?0463
- ; SOURCE LINE # 1784
- ; SOURCE LINE # 1785
- 00D0 120000 R LCALL L?0486
- ; SOURCE LINE # 1786
- 00D3 750006 E MOV Data+02H,#06H
- ; SOURCE LINE # 1787
- ; SOURCE LINE # 1788
- 00D6 120000 R LCALL L?0450
- ; SOURCE LINE # 1789
- 00D9 E4 CLR A
- 00DA F500 E MOV Data+05H,A
- ; SOURCE LINE # 1790
- 00DC 7F00 E MOV R7,#LOW Data
- 00DE 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 1793
- 00E1 7800 E MOV R0,#LOW ucH_Max_Margin
- 00E3 E6 MOV A,@R0
- 00E4 FF MOV R7,A
- 00E5 C3 CLR C
- 00E6 9500 E SUBB A,stMUD
- 00E8 5004 JNC ?C0281
- ; SOURCE LINE # 1794
- 00EA 8F00 E MOV stMUD,R7
- 00EC 800B SJMP ?C0282
- 00EE ?C0281:
- ; SOURCE LINE # 1795
- 00EE 7800 E MOV R0,#LOW ucH_Min_Margin
- 00F0 E6 MOV A,@R0
- 00F1 FF MOV R7,A
- 00F2 D3 SETB C
- 00F3 9500 E SUBB A,stMUD
- 00F5 4002 JC ?C0282
- ; SOURCE LINE # 1796
- 00F7 8F00 E MOV stMUD,R7
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 106
- 00F9 ?C0282:
- ; SOURCE LINE # 1799
- 00F9 120000 E LCALL Set_H_Position
- ; SOURCE LINE # 1802
- 00FC 53007C E ANL stMUD+03H,#07CH
- ; SOURCE LINE # 1805
- 00FF AF00 E MOV R7,stMUD+03H
- 0101 120000 E LCALL _Set_Phase
- ; SOURCE LINE # 1808
- 0104 7D01 MOV R5,#01H
- ; SOURCE LINE # 1809
- 0106 120000 R LCALL L?0500
- ; SOURCE LINE # 1812
- 0109 E4 CLR A
- 010A FD MOV R5,A
- ; SOURCE LINE # 1813
- 010B 120000 R LCALL L?0500
- ; SOURCE LINE # 1816
- ; SOURCE LINE # 1817
- ; SOURCE LINE # 1818
- 010E 120000 R LCALL L?0506
- ; SOURCE LINE # 1819
- 0111 F500 E MOV Data+03H,A
- ; SOURCE LINE # 1820
- 0113 7500FF E MOV Data+04H,#0FFH
- ; SOURCE LINE # 1821
- 0116 750007 E MOV Data+05H,#07H
- ; SOURCE LINE # 1822
- 0119 F500 E MOV Data+06H,A
- ; SOURCE LINE # 1823
- 011B F500 E MOV Data+07H,A
- ; SOURCE LINE # 1824
- 011D F500 E MOV Data+08H,A
- ; SOURCE LINE # 1825
- 011F F500 E MOV Data+09H,A
- ; SOURCE LINE # 1826
- 0121 F500 E MOV Data+0AH,A
- ; SOURCE LINE # 1827
- 0123 F500 E MOV Data+0BH,A
- ; SOURCE LINE # 1828
- 0125 F500 E MOV Data+0CH,A
- ; SOURCE LINE # 1829
- 0127 750001 E MOV Data+0DH,#01H
- ; SOURCE LINE # 1830
- 012A F500 E MOV Data+0EH,A
- ; SOURCE LINE # 1831
- 012C 7F00 E MOV R7,#LOW Data
- 012E 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 1833
- 0131 75003C R MOV Wait_Time_Cnt,#03CH
- 0134 ?C0286:
- ; SOURCE LINE # 1835
- ; SOURCE LINE # 1836
- 0134 7F01 MOV R7,#01H
- 0136 120000 E LCALL _Delay_Xms
- ; SOURCE LINE # 1837
- 0139 7B01 MOV R3,#01H
- 013B 7D01 MOV R5,#01H
- 013D 7F7F MOV R7,#07FH
- 013F 120000 E LCALL _RTDRead
- ; SOURCE LINE # 1838
- ; SOURCE LINE # 1839
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 107
- 0142 E500 E MOV A,Data
- 0144 30E003 JNB ACC.0,?C0285
- 0147 D500EA R DJNZ Wait_Time_Cnt,?C0286
- 014A ?C0285:
- ; SOURCE LINE # 1841
- 014A E4 CLR A
- 014B FD MOV R5,A
- 014C 7F7F MOV R7,#07FH
- 014E 120000 E LCALL _RTDSetByte
- ; SOURCE LINE # 1843
- 0151 E500 R MOV A,Wait_Time_Cnt
- 0153 602A JZ ?C0288
- ; SOURCE LINE # 1844
- ; SOURCE LINE # 1845
- 0155 E4 CLR A
- 0156 FB MOV R3,A
- 0157 7D04 MOV R5,#04H
- 0159 7F80 MOV R7,#080H
- 015B 120000 E LCALL _RTDRead
- ; SOURCE LINE # 1846
- 015E E500 E MOV A,Data+03H
- 0160 540F ANL A,#0FH
- 0162 F500 E MOV Data,A
- ; SOURCE LINE # 1847
- 0164 850000 E MOV Data+01H,Data+02H
- ; SOURCE LINE # 1849
- 0167 7800 R MOV R0,#LOW usVsync
- 0169 120000 R LCALL L?0440
- 016C 9500 E SUBB A,Data+01H
- 016E EE MOV A,R6
- 016F 9500 E SUBB A,Data
- 0171 500A JNC ?C0289
- 0173 AC00 E MOV R4,Data
- 0175 AD00 E MOV R5,Data+01H
- 0177 AE04 MOV R6,AR4
- 0179 AF05 MOV R7,AR5
- 017B 8005 SJMP ?C0389
- 017D ?C0289:
- 017D ?C0290:
- ; SOURCE LINE # 1850
- 017D 8003 SJMP ?C0389
- 017F ?C0288:
- ; SOURCE LINE # 1852
- ; SOURCE LINE # 1853
- 017F 120000 R LCALL L?0469
- 0182 ?C0389:
- 0182 7800 E MOV R0,#LOW usVer_End
- 0184 A606 MOV @R0,AR6
- 0186 08 INC R0
- 0187 A607 MOV @R0,AR7
- ; SOURCE LINE # 1854
- 0189 ?C0291:
- ; SOURCE LINE # 1857
- 0189 7800 R MOV R0,#LOW ucMode_Curr
- 018B E6 MOV A,@R0
- 018C FF MOV R7,A
- 018D 7433 MOV A,#033H
- 018F D3 SETB C
- 0190 9F SUBB A,R7
- 0191 504D JNC ?C0292
- ; SOURCE LINE # 1858
- ; SOURCE LINE # 1859
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 108
- 0193 75F00C MOV B,#0CH
- 0196 EF MOV A,R7
- 0197 A4 MUL AB
- 0198 2400 E ADD A,#LOW VGA_Mode+04H
- 019A F582 MOV DPL,A
- 019C E5F0 MOV A,B
- 019E 3400 E ADDC A,#HIGH VGA_Mode+04H
- 01A0 120000 R LCALL L?0395
- 01A3 FF MOV R7,A
- 01A4 C3 CLR C
- 01A5 7800 E MOV R0,#LOW usVer_End+01H
- 01A7 E6 MOV A,@R0
- 01A8 9F SUBB A,R7
- 01A9 F500 E MOV Data+01H,A
- 01AB 18 DEC R0
- 01AC E6 MOV A,@R0
- 01AD 9E SUBB A,R6
- 01AE F500 E MOV Data,A
- ; SOURCE LINE # 1861
- 01B0 7800 E MOV R0,#LOW ucDV_Delay
- 01B2 E6 MOV A,@R0
- 01B3 FF MOV R7,A
- 01B4 7E00 MOV R6,#00H
- 01B6 2500 E ADD A,Data+01H
- 01B8 FD MOV R5,A
- 01B9 EE MOV A,R6
- 01BA 3500 E ADDC A,Data
- 01BC FC MOV R4,A
- 01BD C3 CLR C
- 01BE 74FE MOV A,#0FEH
- 01C0 9D SUBB A,R5
- 01C1 E4 CLR A
- 01C2 9C SUBB A,R4
- 01C3 500A JNC ?C0293
- 01C5 C3 CLR C
- 01C6 74FE MOV A,#0FEH
- 01C8 9F SUBB A,R7
- 01C9 F500 E MOV Data+01H,A
- 01CB E4 CLR A
- 01CC 9E SUBB A,R6
- 01CD F500 E MOV Data,A
- 01CF ?C0293:
- ; SOURCE LINE # 1863
- 01CF 7800 E MOV R0,#LOW usIPV_ACT_STA+01H
- 01D1 E500 E MOV A,Data+01H
- 01D3 26 ADD A,@R0
- 01D4 F6 MOV @R0,A
- 01D5 18 DEC R0
- 01D6 E500 E MOV A,Data
- 01D8 36 ADDC A,@R0
- 01D9 F6 MOV @R0,A
- ; SOURCE LINE # 1864
- 01DA 7800 E MOV R0,#LOW ucDV_Delay
- 01DC E500 E MOV A,Data+01H
- 01DE 26 ADD A,@R0
- 01DF F6 MOV @R0,A
- ; SOURCE LINE # 1865
- 01E0 ?C0292:
- ; SOURCE LINE # 1868
- 01E0 7800 E MOV R0,#LOW usIPV_ACT_STA
- 01E2 120000 R LCALL L?0440
- 01E5 7480 MOV A,#080H
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 109
- 01E7 9F SUBB A,R7
- 01E8 E4 CLR A
- 01E9 9E SUBB A,R6
- 01EA 5006 JNC ?C0294
- 01EC 7C00 MOV R4,#00H
- 01EE 7F00 MOV R7,#00H
- 01F0 8005 SJMP ?C0295
- 01F2 ?C0294:
- 01F2 C3 CLR C
- 01F3 7481 MOV A,#081H
- 01F5 9F SUBB A,R7
- 01F6 FF MOV R7,A
- 01F7 ?C0295:
- 01F7 7800 E MOV R0,#LOW ucV_Min_Margin
- 01F9 EF MOV A,R7
- 01FA F6 MOV @R0,A
- ; SOURCE LINE # 1870
- 01FB 744E MOV A,#04EH
- 01FD D3 SETB C
- 01FE 9F SUBB A,R7
- 01FF 4002 JC ?C0296
- 0201 764E MOV @R0,#04EH
- 0203 ?C0296:
- ; SOURCE LINE # 1872
- 0203 120000 R LCALL L?0507
- 0206 18 DEC R0
- 0207 36 ADDC A,@R0
- 0208 7800 E MOV R0,#LOW usVer_End+01H
- 020A 120000 R LCALL L?0437
- 020D F500 E MOV Data+01H,A
- 020F ED MOV A,R5
- 0210 9E SUBB A,R6
- 0211 F500 E MOV Data,A
- ; SOURCE LINE # 1874
- 0213 D3 SETB C
- 0214 E500 E MOV A,Data+01H
- 0216 94FF SUBB A,#0FFH
- 0218 E500 E MOV A,Data
- 021A 9400 SUBB A,#00H
- 021C 4004 JC ?C0297
- 021E 7FFF MOV R7,#0FFH
- 0220 8002 SJMP ?C0298
- 0222 ?C0297:
- 0222 AF00 E MOV R7,Data+01H
- 0224 ?C0298:
- ; SOURCE LINE # 1882
- 0224 120000 R LCALL L?0430
- 0227 4006 JC ?C0299
- 0229 7480 MOV A,#080H
- 022B 9D SUBB A,R5
- 022C 7800 E MOV R0,#LOW ucV_Min_Margin
- 022E F6 MOV @R0,A
- 022F ?C0299:
- ; SOURCE LINE # 1883
- 022F 120000 R LCALL L?0470
- 0232 5003 JNC ?C0300
- 0234 120000 R LCALL L?0508
- 0237 ?C0300:
- ; SOURCE LINE # 1885
- 0237 74B2 MOV A,#0B2H
- 0239 C3 CLR C
- 023A 7800 E MOV R0,#LOW ucV_Max_Margin
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 110
- 023C 96 SUBB A,@R0
- 023D 5002 JNC ?C0301
- 023F 76B2 MOV @R0,#0B2H
- 0241 ?C0301:
- ; SOURCE LINE # 1888
- 0241 7800 E MOV R0,#LOW ucV_Min_Margin
- 0243 E6 MOV A,@R0
- 0244 FF MOV R7,A
- 0245 D3 SETB C
- 0246 9500 E SUBB A,stMUD+01H
- 0248 4004 JC ?C0302
- ; SOURCE LINE # 1889
- 024A 8F00 E MOV stMUD+01H,R7
- 024C 8019 SJMP ?C0303
- 024E ?C0302:
- ; SOURCE LINE # 1890
- 024E C3 CLR C
- 024F E4 CLR A
- 0250 9F SUBB A,R7
- 0251 FF MOV R7,A
- 0252 7401 MOV A,#01H
- 0254 9400 SUBB A,#00H
- 0256 FE MOV R6,A
- 0257 C3 CLR C
- 0258 EF MOV A,R7
- 0259 9500 E SUBB A,stMUD+01H
- 025B EE MOV A,R6
- 025C 9400 SUBB A,#00H
- 025E 5007 JNC ?C0303
- ; SOURCE LINE # 1891
- 0260 7800 E MOV R0,#LOW ucV_Min_Margin
- 0262 E6 MOV A,@R0
- 0263 F4 CPL A
- 0264 04 INC A
- 0265 F500 E MOV stMUD+01H,A
- 0267 ?C0303:
- ; SOURCE LINE # 1894
- 0267 120000 E LCALL Set_V_Position
- ; SOURCE LINE # 1897
- 026A 7800 R MOV R0,#LOW usHsync
- 026C 120000 R LCALL L?0400
- 026F C004 PUSH AR4
- 0271 120000 R LCALL L?0411
- 0274 7800 E MOV R0,#LOW usVer_End
- 0276 E6 MOV A,@R0
- 0277 FE MOV R6,A
- 0278 08 INC R0
- 0279 E6 MOV A,@R0
- 027A FF MOV R7,A
- 027B E4 CLR A
- 027C D000 POP AR0
- ; SOURCE LINE # 1898
- 027E 120000 R LCALL L?0418
- ; SOURCE LINE # 1899
- 0281 30E005 JNB ACC.0,?C0305
- 0284 120000 R LCALL L?0480
- 0287 8006 SJMP ?C0306
- 0289 ?C0305:
- 0289 7800 R MOV R0,#LOW ucRefresh
- 028B E6 MOV A,@R0
- 028C C3 CLR C
- 028D 13 RRC A
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 111
- 028E FF MOV R7,A
- 028F ?C0306:
- 028F 7800 R MOV R0,#LOW ucRefresh
- 0291 EF MOV A,R7
- 0292 F6 MOV @R0,A
- ; SOURCE LINE # 1901
- 0293 D3 SETB C
- 0294 944E SUBB A,#04EH
- 0296 4002 JC ?C0307
- ; SOURCE LINE # 1902
- 0298 D200 R SETB bOverSpec
- 029A ?C0307:
- ; SOURCE LINE # 1904
- 029A 120000 R LCALL L?0461
- 029D 7E60 MOV R6,#060H
- 029F 7F00 MOV R7,#00H
- 02A1 120000 E LCALL ?C?UIDIV
- 02A4 D3 SETB C
- 02A5 EF MOV A,R7
- 02A6 945A SUBB A,#05AH
- 02A8 EE MOV A,R6
- 02A9 9400 SUBB A,#00H
- 02AB 4002 JC ?C0308
- ; SOURCE LINE # 1905
- 02AD D200 R SETB bOverSpec
- 02AF ?C0308:
- ; SOURCE LINE # 1907
- 02AF 120000 E LCALL Frame_Sync
- 02B2 8F00 E MOV Data,R7
- ; SOURCE LINE # 1909
- 02B4 E500 E MOV A,Data
- 02B6 B4010A CJNE A,#01H,?C0309
- ; SOURCE LINE # 1910
- ; SOURCE LINE # 1911
- 02B9 7F0A MOV R7,#0AH
- 02BB 120000 E LCALL _Delay_Xms
- ; SOURCE LINE # 1912
- 02BE 120000 E LCALL Frame_Sync
- 02C1 8F00 E MOV Data,R7
- ; SOURCE LINE # 1913
- 02C3 ?C0309:
- ; SOURCE LINE # 1915
- 02C3 E500 E MOV A,Data
- 02C5 6003 JZ ?C0310
- 02C7 C3 CLR C
- 02C8 8001 SJMP ?C0311
- 02CA ?C0310:
- 02CA D3 SETB C
- 02CB ?C0311:
- 02CB 9200 E MOV bFrameSync,C
- ; SOURCE LINE # 1916
- 02CD E4 CLR A
- 02CE 7800 E MOV R0,#LOW ucSyncErrorCnt
- 02D0 F6 MOV @R0,A
- ; SOURCE LINE # 1918
- 02D1 FB MOV R3,A
- ; SOURCE LINE # 1919
- 02D2 120000 R LCALL L?0431
- ; SOURCE LINE # 1920
- 02D5 7B40 MOV R3,#040H
- ; SOURCE LINE # 1921
- 02D7 120000 R LCALL L?0431
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 112
- ; SOURCE LINE # 1922
- 02DA 7B80 MOV R3,#080H
- 02DC 7D3F MOV R5,#03FH
- 02DE 7F6D MOV R7,#06DH
- 02E0 120000 E LCALL _RTDSetBit
- ; SOURCE LINE # 1923
- 02E3 E4 CLR A
- 02E4 FD MOV R5,A
- 02E5 7F6C MOV R7,#06CH
- 02E7 120000 E LCALL _RTDSetByte
- ; SOURCE LINE # 1926
- 02EA 7B20 MOV R3,#020H
- 02EC 7D7F MOV R5,#07FH
- 02EE 7F20 MOV R7,#020H
- 02F0 120000 E LCALL _RTDSetBit
- ; SOURCE LINE # 1929
- 02F3 300009 E JNB bFrameSync,?C0312
- ; SOURCE LINE # 1930
- 02F6 7B20 MOV R3,#020H
- 02F8 7DDF MOV R5,#0DFH
- 02FA 7F8E MOV R7,#08EH
- 02FC 120000 E LCALL _RTDSetBit
- 02FF ?C0312:
- ; SOURCE LINE # 1934
- ; SOURCE LINE # 1935
- 02FF 120000 R LCALL L?0459
- 0302 120000 E LCALL _I2CRead
- ; SOURCE LINE # 1936
- 0305 7800 R MOV R0,#LOW ucfrist
- 0307 E6 MOV A,@R0
- 0308 75F008 MOV B,#08H
- 030B A4 MUL AB
- 030C FF MOV R7,A
- 030D C3 CLR C
- 030E 7800 R MOV R0,#LOW ucMode_Curr
- 0310 E6 MOV A,@R0
- 0311 9F SUBB A,R7
- 0312 7800 R MOV R0,#LOW ucfrist
- 0314 F6 MOV @R0,A
- ; SOURCE LINE # 1937
- 0315 14 DEC A
- 0316 FF MOV R7,A
- 0317 E500 E MOV A,Data
- 0319 A807 MOV R0,AR7
- 031B 08 INC R0
- 031C 8002 SJMP ?C0364
- 031E ?C0363:
- 031E C3 CLR C
- 031F 13 RRC A
- 0320 ?C0364:
- 0320 D8FC DJNZ R0,?C0363
- 0322 7800 R MOV R0,#LOW ucfrist
- 0324 F6 MOV @R0,A
- ; SOURCE LINE # 1938
- 0325 5401 ANL A,#01H
- 0327 F6 MOV @R0,A
- ; SOURCE LINE # 1939
- 0328 430020 E ORL stGUD1+07H,#020H
- ; SOURCE LINE # 1942
- 032B 22 RET
- 032C L?0431:
- 032C 7D3F MOV R5,#03FH
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 113
- 032E 7F6D MOV R7,#06DH
- 0330 120000 E LCALL _RTDSetBit
- 0333 E4 CLR A
- 0334 FD MOV R5,A
- 0335 7F6C MOV R7,#06CH
- 0337 120000 E LCALL _RTDSetByte
- 033A 22 RET
- 033B L?0497:
- 033B 7B01 MOV R3,#01H
- 033D 7D01 MOV R5,#01H
- 033F 120000 E LCALL _RTDRead
- 0342 22 RET
- 0343 L?0500:
- 0343 7F7F MOV R7,#07FH
- 0345 120000 E LCALL _RTDSetByte
- 0348 7F28 MOV R7,#028H
- 034A 120000 E LCALL _Delay_Xms
- 034D 22 RET
- ; FUNCTION Display_VGA_Set (END)
- ; FUNCTION Display_DVI_Set (BEGIN)
- ; SOURCE LINE # 1944
- ; SOURCE LINE # 1945
- ; SOURCE LINE # 1949
- 0000 120000 R LCALL Initial_Mode
- ; SOURCE LINE # 1952
- 0003 7800 E MOV R0,#LOW usIPV_ACT_STA
- 0005 120000 R LCALL L?0440
- 0008 7480 MOV A,#080H
- 000A 9F SUBB A,R7
- 000B E4 CLR A
- 000C 9E SUBB A,R6
- 000D 5006 JNC ?C0314
- 000F 7C00 MOV R4,#00H
- 0011 7F00 MOV R7,#00H
- 0013 8005 SJMP ?C0315
- 0015 ?C0314:
- 0015 C3 CLR C
- 0016 7481 MOV A,#081H
- 0018 9F SUBB A,R7
- 0019 FF MOV R7,A
- 001A ?C0315:
- 001A 7800 E MOV R0,#LOW ucV_Min_Margin
- 001C A607 MOV @R0,AR7
- ; SOURCE LINE # 1955
- 001E 120000 R LCALL L?0507
- 0021 120000 R LCALL L?0436
- 0024 F500 E MOV Data+09H,A
- 0026 ED MOV A,R5
- 0027 9E SUBB A,R6
- 0028 F500 E MOV Data+08H,A
- ; SOURCE LINE # 1957
- 002A C3 CLR C
- 002B 74FF MOV A,#0FFH
- 002D 9500 E SUBB A,Data+09H
- 002F E4 CLR A
- 0030 9500 E SUBB A,Data+08H
- 0032 5004 JNC ?C0316
- 0034 7FFF MOV R7,#0FFH
- 0036 8002 SJMP ?C0317
- 0038 ?C0316:
- 0038 AF00 E MOV R7,Data+09H
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 114
- 003A ?C0317:
- ; SOURCE LINE # 1965
- 003A 120000 R LCALL L?0430
- 003D 4006 JC ?C0318
- 003F 7480 MOV A,#080H
- 0041 9D SUBB A,R5
- 0042 7800 E MOV R0,#LOW ucV_Min_Margin
- 0044 F6 MOV @R0,A
- 0045 ?C0318:
- ; SOURCE LINE # 1966
- 0045 120000 R LCALL L?0470
- 0048 5003 JNC ?C0319
- 004A 120000 R LCALL L?0508
- 004D ?C0319:
- ; SOURCE LINE # 1969
- 004D 7800 R MOV R0,#LOW ucMode_Curr
- 004F E6 MOV A,@R0
- 0050 FF MOV R7,A
- 0051 120000 E LCALL _Load_MUD
- ; SOURCE LINE # 1971
- 0054 120000 E LCALL Set_Gamma
- ; SOURCE LINE # 1972
- 0057 120000 E LCALL Set_Dithering
- ; SOURCE LINE # 1973
- 005A 120000 E LCALL Set_Bright_Contrast
- ; SOURCE LINE # 1974
- 005D 120000 E LCALL Sharpness
- ; SOURCE LINE # 1984
- ; SOURCE LINE # 1985
- ; SOURCE LINE # 1986
- 0060 120000 R LCALL L?0506
- ; SOURCE LINE # 1987
- 0063 750002 E MOV Data+03H,#02H
- ; SOURCE LINE # 1988
- 0066 7800 E MOV R0,#LOW usADC_Clock+01H
- 0068 E6 MOV A,@R0
- 0069 24FE ADD A,#0FEH
- 006B F500 E MOV Data+04H,A
- ; SOURCE LINE # 1989
- 006D 120000 R LCALL L?0493
- 0070 F500 E MOV Data+05H,A
- ; SOURCE LINE # 1990
- 0072 750002 E MOV Data+06H,#02H
- ; SOURCE LINE # 1991
- 0075 7800 R MOV R0,#LOW usVsync+01H
- 0077 E6 MOV A,@R0
- 0078 24FE ADD A,#0FEH
- 007A F500 E MOV Data+07H,A
- ; SOURCE LINE # 1992
- 007C 120000 R LCALL L?0494
- 007F F500 E MOV Data+08H,A
- ; SOURCE LINE # 1993
- 0081 E4 CLR A
- 0082 F500 E MOV Data+09H,A
- ; SOURCE LINE # 1994
- 0084 F500 E MOV Data+0AH,A
- ; SOURCE LINE # 1995
- 0086 F500 E MOV Data+0BH,A
- ; SOURCE LINE # 1996
- 0088 F500 E MOV Data+0CH,A
- ; SOURCE LINE # 1997
- 008A 750081 E MOV Data+0DH,#081H
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 115
- ; SOURCE LINE # 1998
- 008D F500 E MOV Data+0EH,A
- ; SOURCE LINE # 2001
- 008F 7F00 E MOV R7,#LOW Data
- 0091 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 2003
- 0094 75003C R MOV Wait_Time_Cnt,#03CH
- 0097 ?C0322:
- ; SOURCE LINE # 2005
- ; SOURCE LINE # 2006
- 0097 7F01 MOV R7,#01H
- 0099 120000 E LCALL _Delay_Xms
- ; SOURCE LINE # 2007
- 009C 7F7F MOV R7,#07FH
- ; SOURCE LINE # 2008
- ; SOURCE LINE # 2009
- 009E 120000 R LCALL L?0509
- 00A1 30E003 JNB ACC.0,?C0321
- 00A4 D500F0 R DJNZ Wait_Time_Cnt,?C0322
- 00A7 ?C0321:
- ; SOURCE LINE # 2011
- 00A7 E500 R MOV A,Wait_Time_Cnt
- 00A9 7009 JNZ ?C0324
- ; SOURCE LINE # 2012
- ; SOURCE LINE # 2013
- 00AB FD MOV R5,A
- 00AC 7F7F MOV R7,#07FH
- 00AE 120000 E LCALL _RTDSetByte
- ; SOURCE LINE # 2014
- 00B1 020000 E LJMP Reset_Mode
- ; SOURCE LINE # 2015
- 00B4 ?C0324:
- ; SOURCE LINE # 2017
- ; SOURCE LINE # 2019
- 00B4 E4 CLR A
- 00B5 FB MOV R3,A
- 00B6 7D08 MOV R5,#08H
- 00B8 7F80 MOV R7,#080H
- 00BA 120000 E LCALL _RTDRead
- ; SOURCE LINE # 2022
- 00BD E500 E MOV A,Data+05H
- 00BF FE MOV R6,A
- 00C0 7C00 MOV R4,#00H
- 00C2 E4 CLR A
- 00C3 2500 E ADD A,Data+04H
- 00C5 FF MOV R7,A
- 00C6 EC MOV A,R4
- 00C7 3E ADDC A,R6
- 00C8 CF XCH A,R7
- 00C9 24FE ADD A,#0FEH
- 00CB 7800 E MOV R0,#LOW usIPH_ACT_STA+01H
- 00CD F6 MOV @R0,A
- 00CE EF MOV A,R7
- 00CF 34FF ADDC A,#0FFH
- 00D1 18 DEC R0
- 00D2 F6 MOV @R0,A
- ; SOURCE LINE # 2025
- 00D3 E500 E MOV A,Data+01H
- 00D5 FE MOV R6,A
- 00D6 E4 CLR A
- 00D7 2500 E ADD A,Data
- 00D9 FF MOV R7,A
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 116
- 00DA EC MOV A,R4
- 00DB 3E ADDC A,R6
- 00DC CF XCH A,R7
- 00DD 24FF ADD A,#0FFH
- 00DF F500 E MOV Data+01H,A
- 00E1 EF MOV A,R7
- 00E2 34FF ADDC A,#0FFH
- 00E4 F500 E MOV Data,A
- ; SOURCE LINE # 2027
- 00E6 7800 E MOV R0,#LOW ucV_Max_Margin
- 00E8 E6 MOV A,@R0
- 00E9 F9 MOV R1,A
- 00EA FF MOV R7,A
- 00EB 7800 E MOV R0,#LOW usIPV_ACT_STA
- 00ED E6 MOV A,@R0
- 00EE FC MOV R4,A
- 00EF 08 INC R0
- 00F0 E6 MOV A,@R0
- 00F1 FD MOV R5,A
- 00F2 2F ADD A,R7
- 00F3 FF MOV R7,A
- 00F4 E4 CLR A
- 00F5 3C ADDC A,R4
- 00F6 CF XCH A,R7
- 00F7 2480 ADD A,#080H
- 00F9 CF XCH A,R7
- 00FA 34FF ADDC A,#0FFH
- 00FC FE MOV R6,A
- 00FD D3 SETB C
- 00FE E500 E MOV A,Data+01H
- 0100 9F SUBB A,R7
- 0101 E500 E MOV A,Data
- 0103 9E SUBB A,R6
- 0104 5003 JNC $ + 5H
- 0106 020000 R LJMP ?C0326
- ; SOURCE LINE # 2028
- ; SOURCE LINE # 2029
- 0109 ED MOV A,R5
- 010A 7800 E MOV R0,#LOW usIPV_ACT_LEN+01H
- 010C 26 ADD A,@R0
- 010D FF MOV R7,A
- 010E EC MOV A,R4
- 010F 120000 R LCALL L?0436
- 0112 F500 E MOV Data+03H,A
- 0114 ED MOV A,R5
- 0115 9E SUBB A,R6
- 0116 F500 E MOV Data+02H,A
- ; SOURCE LINE # 2031
- 0118 7800 E MOV R0,#LOW ucDV_Delay
- 011A E6 MOV A,@R0
- 011B FF MOV R7,A
- 011C 7800 E MOV R0,#LOW ucV_Max_Margin
- 011E E6 MOV A,@R0
- 011F FE MOV R6,A
- 0120 2F ADD A,R7
- 0121 2480 ADD A,#080H
- 0123 7800 E MOV R0,#LOW ucDV_Delay
- 0125 F6 MOV @R0,A
- ; SOURCE LINE # 2032
- 0126 EE MOV A,R6
- 0127 FF MOV R7,A
- 0128 7E00 MOV R6,#00H
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 117
- 012A 7800 E MOV R0,#LOW usIPV_ACT_STA+01H
- 012C 26 ADD A,@R0
- 012D FD MOV R5,A
- 012E EE MOV A,R6
- 012F 18 DEC R0
- 0130 36 ADDC A,@R0
- 0131 CD XCH A,R5
- 0132 2480 ADD A,#080H
- 0134 08 INC R0
- 0135 F6 MOV @R0,A
- 0136 ED MOV A,R5
- 0137 34FF ADDC A,#0FFH
- 0139 18 DEC R0
- 013A F6 MOV @R0,A
- ; SOURCE LINE # 2034
- 013B C3 CLR C
- 013C EF MOV A,R7
- 013D 9500 E SUBB A,Data+03H
- 013F EE MOV A,R6
- 0140 9500 E SUBB A,Data+02H
- 0142 4003 JC $ + 5H
- 0144 020000 R LJMP ?C0331
- ; SOURCE LINE # 2035
- ; SOURCE LINE # 2037
- 0147 E9 MOV A,R1
- 0148 FF MOV R7,A
- 0149 C3 CLR C
- 014A E500 E MOV A,Data+03H
- 014C 9F SUBB A,R7
- 014D FF MOV R7,A
- 014E E500 E MOV A,Data+02H
- 0150 9E SUBB A,R6
- 0151 FE MOV R6,A
- 0152 C3 CLR C
- 0153 E500 E MOV A,Data+01H
- 0155 08 INC R0
- 0156 96 SUBB A,@R0
- 0157 FD MOV R5,A
- 0158 E500 E MOV A,Data
- 015A 18 DEC R0
- 015B 96 SUBB A,@R0
- 015C FC MOV R4,A
- 015D C3 CLR C
- 015E EF MOV A,R7
- 015F 9D SUBB A,R5
- 0160 EE MOV A,R6
- 0161 9C SUBB A,R4
- 0162 400B JC ?C0328
- ; SOURCE LINE # 2038
- 0164 ED MOV A,R5
- 0165 2403 ADD A,#03H
- 0167 F500 E MOV Data+03H,A
- 0169 E4 CLR A
- 016A 3C ADDC A,R4
- 016B F500 E MOV Data+02H,A
- 016D 801F SJMP ?C0329
- 016F ?C0328:
- ; SOURCE LINE # 2040
- 016F 7800 E MOV R0,#LOW usIPV_ACT_STA+01H
- 0171 E6 MOV A,@R0
- 0172 2500 E ADD A,Data+03H
- 0174 FF MOV R7,A
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 118
- 0175 18 DEC R0
- 0176 E6 MOV A,@R0
- 0177 3500 E ADDC A,Data+02H
- 0179 FE MOV R6,A
- 017A 7800 E MOV R0,#LOW ucV_Max_Margin
- 017C E6 MOV A,@R0
- 017D FD MOV R5,A
- 017E C3 CLR C
- 017F EF MOV A,R7
- 0180 9D SUBB A,R5
- 0181 FF MOV R7,A
- 0182 EE MOV A,R6
- 0183 9400 SUBB A,#00H
- 0185 CF XCH A,R7
- 0186 2403 ADD A,#03H
- 0188 F500 E MOV Data+03H,A
- 018A E4 CLR A
- 018B 3F ADDC A,R7
- 018C F500 E MOV Data+02H,A
- 018E ?C0329:
- ; SOURCE LINE # 2042
- 018E 747E MOV A,#07EH
- 0190 120000 R LCALL L?0488
- 0193 5006 JNC ?C0330
- 0195 750000 E MOV Data+02H,#00H
- 0198 75007E E MOV Data+03H,#07EH
- 019B ?C0330:
- ; SOURCE LINE # 2044
- 019B E500 E MOV A,Data+03H
- 019D 4480 ORL A,#080H
- ; SOURCE LINE # 2045
- ; SOURCE LINE # 2046
- 019F 8047 SJMP ?C0391
- 01A1 ?C0326:
- ; SOURCE LINE # 2047
- 01A1 7800 E MOV R0,#LOW ucV_Min_Margin
- 01A3 E6 MOV A,@R0
- 01A4 7800 E MOV R0,#LOW usIPV_ACT_STA+01H
- 01A6 120000 R LCALL L?0477
- 01A9 2480 ADD A,#080H
- 01AB CF XCH A,R7
- 01AC 34FF ADDC A,#0FFH
- 01AE FE MOV R6,A
- 01AF C3 CLR C
- 01B0 E500 E MOV A,Data+01H
- 01B2 9F SUBB A,R7
- 01B3 E500 E MOV A,Data
- 01B5 9E SUBB A,R6
- 01B6 5038 JNC ?C0332
- ; SOURCE LINE # 2048
- ; SOURCE LINE # 2049
- 01B8 7800 E MOV R0,#LOW ucDV_Delay
- 01BA E6 MOV A,@R0
- 01BB 7800 E MOV R0,#LOW ucV_Min_Margin
- 01BD 26 ADD A,@R0
- 01BE 2480 ADD A,#080H
- 01C0 7800 E MOV R0,#LOW ucDV_Delay
- 01C2 F6 MOV @R0,A
- ; SOURCE LINE # 2050
- 01C3 7800 E MOV R0,#LOW usIPV_ACT_STA
- 01C5 EE MOV A,R6
- 01C6 F6 MOV @R0,A
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 119
- 01C7 08 INC R0
- 01C8 EF MOV A,R7
- 01C9 F6 MOV @R0,A
- ; SOURCE LINE # 2052
- 01CA C3 CLR C
- 01CB 9500 E SUBB A,Data+01H
- 01CD F500 E MOV Data+03H,A
- 01CF EE MOV A,R6
- 01D0 9500 E SUBB A,Data
- 01D2 F500 E MOV Data+02H,A
- ; SOURCE LINE # 2055
- 01D4 D3 SETB C
- 01D5 7403 MOV A,#03H
- 01D7 9500 E SUBB A,Data+03H
- 01D9 E4 CLR A
- 01DA 9500 E SUBB A,Data+02H
- 01DC 5003 JNC ?C0333
- ; SOURCE LINE # 2056
- 01DE E4 CLR A
- 01DF 8007 SJMP ?C0390
- 01E1 ?C0333:
- ; SOURCE LINE # 2058
- 01E1 C3 CLR C
- 01E2 7403 MOV A,#03H
- 01E4 9500 E SUBB A,Data+03H
- 01E6 4480 ORL A,#080H
- 01E8 ?C0390:
- 01E8 ?C0391:
- 01E8 FD MOV R5,A
- 01E9 7F8C MOV R7,#08CH
- 01EB 120000 E LCALL _RTDSetByte
- ; SOURCE LINE # 2059
- 01EE 8017 SJMP ?C0331
- 01F0 ?C0332:
- ; SOURCE LINE # 2061
- ; SOURCE LINE # 2062
- 01F0 E500 E MOV A,Data+01H
- 01F2 7800 E MOV R0,#LOW ucDV_Delay
- 01F4 26 ADD A,@R0
- 01F5 FF MOV R7,A
- 01F6 7800 E MOV R0,#LOW usIPV_ACT_STA+01H
- 01F8 E6 MOV A,@R0
- 01F9 FE MOV R6,A
- 01FA C3 CLR C
- 01FB EF MOV A,R7
- 01FC 9E SUBB A,R6
- 01FD 7800 E MOV R0,#LOW ucDV_Delay
- 01FF F6 MOV @R0,A
- ; SOURCE LINE # 2063
- 0200 7800 E MOV R0,#LOW usIPV_ACT_STA
- 0202 A600 E MOV @R0,Data
- 0204 08 INC R0
- 0205 A600 E MOV @R0,Data+01H
- ; SOURCE LINE # 2064
- 0207 ?C0331:
- ; SOURCE LINE # 2066
- 0207 7FFF MOV R7,#0FFH
- ; SOURCE LINE # 2068
- 0209 120000 R LCALL L?0509
- 020C 5403 ANL A,#03H
- 020E 600B JZ ?C0336
- ; SOURCE LINE # 2069
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 120
- 0210 7800 E MOV R0,#LOW usIPH_ACT_STA+01H
- 0212 74F2 MOV A,#0F2H
- 0214 26 ADD A,@R0
- 0215 F6 MOV @R0,A
- 0216 18 DEC R0
- 0217 74FF MOV A,#0FFH
- 0219 36 ADDC A,@R0
- 021A F6 MOV @R0,A
- 021B ?C0336:
- ; SOURCE LINE # 2071
- 021B 750005 E MOV Data,#05H
- ; SOURCE LINE # 2072
- ; SOURCE LINE # 2073
- ; SOURCE LINE # 2074
- ; SOURCE LINE # 2075
- 021E 120000 R LCALL L?0449
- ; SOURCE LINE # 2076
- 0221 750005 E MOV Data+05H,#05H
- ; SOURCE LINE # 2077
- 0224 E4 CLR A
- 0225 F500 E MOV Data+06H,A
- ; SOURCE LINE # 2078
- 0227 75000A E MOV Data+07H,#0AH
- ; SOURCE LINE # 2079
- 022A 7800 E MOV R0,#LOW usIPV_ACT_STA+01H
- 022C E6 MOV A,@R0
- 022D F500 E MOV Data+08H,A
- ; SOURCE LINE # 2080
- 022F 18 DEC R0
- 0230 E6 MOV A,@R0
- 0231 F500 E MOV Data+09H,A
- ; SOURCE LINE # 2081
- 0233 750004 E MOV Data+0AH,#04H
- ; SOURCE LINE # 2082
- 0236 750001 E MOV Data+0BH,#01H
- ; SOURCE LINE # 2083
- 0239 750038 E MOV Data+0CH,#038H
- ; SOURCE LINE # 2084
- 023C 7800 E MOV R0,#LOW ucDV_Delay
- 023E E6 MOV A,@R0
- 023F F500 E MOV Data+0DH,A
- ; SOURCE LINE # 2085
- 0241 E4 CLR A
- 0242 F500 E MOV Data+0EH,A
- ; SOURCE LINE # 2086
- 0244 7F00 E MOV R7,#LOW Data
- 0246 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 2088
- 0249 7F08 MOV R7,#08H
- 024B 120000 E LCALL _Wait_For_Event
- ; SOURCE LINE # 2090
- 024E 120000 E LCALL Frame_Sync
- 0251 8F00 E MOV Data,R7
- ; SOURCE LINE # 2092
- 0253 E500 E MOV A,Data
- 0255 B40105 CJNE A,#01H,?C0337
- 0258 120000 E LCALL Frame_Sync
- 025B 8F00 E MOV Data,R7
- 025D ?C0337:
- ; SOURCE LINE # 2094
- 025D E500 E MOV A,Data
- 025F 6003 JZ ?C0338
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 121
- 0261 C3 CLR C
- 0262 8001 SJMP ?C0339
- 0264 ?C0338:
- 0264 D3 SETB C
- 0265 ?C0339:
- 0265 9200 E MOV bFrameSync,C
- ; SOURCE LINE # 2095
- 0267 E4 CLR A
- 0268 7800 E MOV R0,#LOW ucSyncErrorCnt
- 026A F6 MOV @R0,A
- ; SOURCE LINE # 2098
- 026B 7B20 MOV R3,#020H
- 026D 7D7F MOV R5,#07FH
- 026F 7F20 MOV R7,#020H
- 0271 120000 E LCALL _RTDSetBit
- ; SOURCE LINE # 2099
- ; SOURCE LINE # 2103
- 0274 ?C0340:
- 0274 22 RET
- 0275 L?0509:
- 0275 7B01 MOV R3,#01H
- 0277 7D01 MOV R5,#01H
- 0279 120000 E LCALL _RTDRead
- 027C E500 E MOV A,Data
- 027E 22 RET
- ; FUNCTION Display_DVI_Set (END)
- ; FUNCTION Set_Video_Mode (BEGIN)
- ; SOURCE LINE # 2105
- ; SOURCE LINE # 2106
- ; SOURCE LINE # 2181
- 0000 22 RET
- ; FUNCTION Set_Video_Mode (END)
- ; FUNCTION Display_Video_Set (BEGIN)
- ; SOURCE LINE # 2183
- ; SOURCE LINE # 2184
- ; SOURCE LINE # 2278
- 0000 020000 R LJMP Set_Video_Mode
- ; FUNCTION Display_Video_Set (END)
- ; FUNCTION Input_Mode_Detector (BEGIN)
- ; SOURCE LINE # 2282
- ; SOURCE LINE # 2283
- ; SOURCE LINE # 2284
- 0000 7B01 MOV R3,#01H
- 0002 7D01 MOV R5,#01H
- 0004 7F4C MOV R7,#04CH
- 0006 120000 E LCALL _RTDRead
- ; SOURCE LINE # 2286
- 0009 E500 E MOV A,Data
- 000B 20E104 JB ACC.1,?C0343
- 000E E4 CLR A
- 000F 7800 R MOV R0,#LOW ucModeCnt
- 0011 F6 MOV @R0,A
- 0012 ?C0343:
- ; SOURCE LINE # 2288
- 0012 7800 R MOV R0,#LOW ucModeCnt
- 0014 E6 MOV A,@R0
- 0015 6002 JZ ?C0344
- ; SOURCE LINE # 2289
- ; SOURCE LINE # 2290
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 122
- 0017 16 DEC @R0
- ; SOURCE LINE # 2291
- 0018 22 RET
- 0019 ?C0344:
- ; SOURCE LINE # 2293
- ; SOURCE LINE # 2294
- 0019 7800 R MOV R0,#LOW ucModeCnt
- 001B 7602 MOV @R0,#02H
- ; SOURCE LINE # 2297
- 001D 120000 E LCALL Source_Auto_Scan
- ; SOURCE LINE # 2302
- 0020 200007 R JB bStable,?C0347
- ; SOURCE LINE # 2303
- ; SOURCE LINE # 2304
- 0023 D200 E SETB bReload
- ; SOURCE LINE # 2306
- 0025 7F02 MOV R7,#02H
- 0027 120000 E LCALL _Set_Task
- ; SOURCE LINE # 2307
- ; SOURCE LINE # 2308
- ; SOURCE LINE # 2309
- 002A ?C0347:
- 002A 22 RET
- ; FUNCTION Input_Mode_Detector (END)
- ; FUNCTION New_Mode_Auto (BEGIN)
- ; SOURCE LINE # 2314
- ; SOURCE LINE # 2315
- ; SOURCE LINE # 2317
- 0000 200003 R JB bStable,$ + 6H
- 0003 020000 R LJMP ?C0349
- 0006 200003 E JB bFrameSync,$ + 6H
- 0009 020000 R LJMP ?C0349
- 000C E500 E MOV A,stGUD1+07H
- 000E 20E503 JB ACC.5,$ + 6H
- 0011 020000 R LJMP ?C0349
- 0014 7800 R MOV R0,#LOW ucMode_Curr
- 0016 E6 MOV A,@R0
- 0017 7003 JNZ $ + 5H
- 0019 020000 R LJMP ?C0349
- 001C F4 CPL A
- 001D 7003 JNZ $ + 5H
- 001F 020000 R LJMP ?C0349
- 0022 7800 R MOV R0,#LOW ucfrist
- 0024 E6 MOV A,@R0
- 0025 7003 JNZ $ + 5H
- 0027 020000 R LJMP ?C0349
- ; SOURCE LINE # 2324
- ; SOURCE LINE # 2325
- 002A 7F01 MOV R7,#01H
- 002C 120000 E LCALL _OSD_Position
- ; SOURCE LINE # 2326
- 002F 7F01 MOV R7,#01H
- 0031 120000 E LCALL _OSD_Position
- ; SOURCE LINE # 2327
- ; SOURCE LINE # 2328
- 0034 120000 R LCALL L?0466
- ; SOURCE LINE # 2329
- 0037 7B01 MOV R3,#01H
- 0039 7DFE MOV R5,#0FEH
- 003B 7F6D MOV R7,#06DH
- 003D 120000 E LCALL _RTDSetBit
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 123
- ; SOURCE LINE # 2330
- 0040 7E00 E MOV R6,#HIGH OSD_AUTO
- 0042 7F00 E MOV R7,#LOW OSD_AUTO
- 0044 120000 E LCALL _RTDOSDW
- ; SOURCE LINE # 2331
- 0047 E500 E MOV A,stGUD1
- 0049 5407 ANL A,#07H
- 004B 75F002 MOV B,#02H
- 004E A4 MUL AB
- 004F 2400 E ADD A,#LOW strTabAuto_Atb
- 0051 F582 MOV DPL,A
- 0053 E5F0 MOV A,B
- 0055 3400 E ADDC A,#HIGH strTabAuto_Atb
- 0057 120000 R LCALL L?0395
- 005A FF MOV R7,A
- 005B 120000 E LCALL _RTDOSDW
- ; SOURCE LINE # 2332
- 005E 120000 E LCALL Auto_Config
- ; SOURCE LINE # 2333
- ; SOURCE LINE # 2334
- 0061 120000 R LCALL L?0466
- ; SOURCE LINE # 2336
- 0064 5300DF E ANL stGUD1+07H,#0DFH
- ; SOURCE LINE # 2337
- 0067 120000 E LCALL Save_GUD1
- ; SOURCE LINE # 2338
- ; SOURCE LINE # 2339
- 006A 120000 R LCALL L?0459
- 006D 120000 E LCALL _I2CRead
- ; SOURCE LINE # 2340
- 0070 750001 E MOV Data+01H,#01H
- ; SOURCE LINE # 2341
- 0073 7800 R MOV R0,#LOW ucfrist
- 0075 E6 MOV A,@R0
- 0076 FF MOV R7,A
- 0077 75F008 MOV B,#08H
- 007A A4 MUL AB
- 007B FE MOV R6,A
- 007C 7800 R MOV R0,#LOW ucMode_Curr
- 007E E6 MOV A,@R0
- 007F 14 DEC A
- 0080 C3 CLR C
- 0081 9E SUBB A,R6
- 0082 FE MOV R6,A
- 0083 E500 E MOV A,Data+01H
- 0085 A806 MOV R0,AR6
- 0087 08 INC R0
- 0088 8002 SJMP ?C0366
- 008A ?C0365:
- 008A C3 CLR C
- 008B 33 RLC A
- 008C ?C0366:
- 008C D8FC DJNZ R0,?C0365
- 008E F500 E MOV Data+01H,A
- ; SOURCE LINE # 2342
- 0090 F4 CPL A
- 0091 5500 E ANL A,Data
- 0093 F500 E MOV Data+03H,A
- ; SOURCE LINE # 2344
- 0095 750004 E MOV Data,#04H
- ; SOURCE LINE # 2345
- 0098 7500AE E MOV Data+01H,#0AEH
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 124
- ; SOURCE LINE # 2346
- 009B 8F00 E MOV Data+02H,R7
- ; SOURCE LINE # 2347
- 009D 7B00 MOV R3,#00H
- 009F 7A00 E MOV R2,#HIGH Data
- 00A1 7900 E MOV R1,#LOW Data
- 00A3 120000 E LCALL _I2CWrite
- ; SOURCE LINE # 2348
- 00A6 7F10 MOV R7,#010H
- 00A8 120000 E LCALL _Delay_Xms
- ; SOURCE LINE # 2349
- 00AB E4 CLR A
- 00AC 7800 R MOV R0,#LOW ucfrist
- 00AE F6 MOV @R0,A
- ; SOURCE LINE # 2350
- ; SOURCE LINE # 2352
- 00AF ?C0349:
- 00AF 22 RET
- 00B0 L?0466:
- 00B0 E4 CLR A
- 00B1 FB MOV R3,A
- 00B2 7DFE MOV R5,#0FEH
- 00B4 7F6D MOV R7,#06DH
- 00B6 120000 E LCALL _RTDSetBit
- 00B9 7E00 E MOV R6,#HIGH OSD_Reset
- 00BB 7F00 E MOV R7,#LOW OSD_Reset
- 00BD 120000 E LCALL _RTDOSDW
- 00C0 22 RET
- ; FUNCTION New_Mode_Auto (END)
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 125
- NAME CLASS MSPACE TYPE OFFSET SIZE
- ==== ===== ====== ==== ====== ====
- LP_GLOBAL_USER_DATA1 . . . . . . . . . TYPEDEF ----- PTR ----- 3
- ucI_Code . . . . . . . . . . . . . . . EXTERN IDATA U_CHAR ----- 1
- usVsync. . . . . . . . . . . . . . . . PUBLIC IDATA U_INT 0000H 2
- RGB_MODE_USER_DATA . . . . . . . . . . TYPEDEF ----- STRUCT ----- 4
- H_POSITION . . . . . . . . . . . . . MEMBER ----- U_CHAR 0000H 1
- V_POSITION . . . . . . . . . . . . . MEMBER ----- U_CHAR 0001H 1
- CLOCK. . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0002H 1
- PHASE. . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0003H 1
- LP_GLOBAL_USER_DATA2 . . . . . . . . . TYPEDEF ----- PTR ----- 3
- LP_GLOBAL_USER_DATA3 . . . . . . . . . TYPEDEF ----- PTR ----- 3
- GLOBAL_USER_DATA0. . . . . . . . . . . TYPEDEF ----- STRUCT ----- 8
- CONTRAST . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0000H 1
- BRIGHT . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0001H 1
- RTD_R_CONTRAST . . . . . . . . . . . MEMBER ----- U_CHAR 0002H 1
- RTD_G_CONTRAST . . . . . . . . . . . MEMBER ----- U_CHAR 0003H 1
- RTD_B_CONTRAST . . . . . . . . . . . MEMBER ----- U_CHAR 0004H 1
- RTD_R_BRIGHT . . . . . . . . . . . . MEMBER ----- U_CHAR 0005H 1
- RTD_G_BRIGHT . . . . . . . . . . . . MEMBER ----- U_CHAR 0006H 1
- RTD_B_BRIGHT . . . . . . . . . . . . MEMBER ----- U_CHAR 0007H 1
- _OSD_Position. . . . . . . . . . . . . EXTERN CODE PROC ----- -----
- OSD_AUTO . . . . . . . . . . . . . . . EXTERN CODE ARRAY ----- -----
- usADC_Clock. . . . . . . . . . . . . . EXTERN IDATA U_INT ----- 2
- LP_GLOABL_USER_DATA4 . . . . . . . . . TYPEDEF ----- PTR ----- 3
- GLOBAL_USER_DATA1. . . . . . . . . . . TYPEDEF ----- STRUCT ----- 8
- FUNCTION . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0000H 1
- INPUT_SOURCE . . . . . . . . . . . . MEMBER ----- U_CHAR 0001H 1
- FILTER . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0002H 1
- OSD_POSH . . . . . . . . . . . . . . MEMBER ----- U_INT 0003H 2
- OSD_POSV . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0005H 1
- OSD_TIMEOUT. . . . . . . . . . . . . MEMBER ----- U_CHAR 0006H 1
- OSD_INPUT. . . . . . . . . . . . . . MEMBER ----- U_CHAR 0007H 1
- _Set_Task. . . . . . . . . . . . . . . EXTERN CODE PROC ----- -----
- GLOBAL_USER_DATA2. . . . . . . . . . . TYPEDEF ----- STRUCT ----- 6
- AD_R_GAIN. . . . . . . . . . . . . . MEMBER ----- U_CHAR 0000H 1
- AD_G_GAIN. . . . . . . . . . . . . . MEMBER ----- U_CHAR 0001H 1
- AD_B_GAIN. . . . . . . . . . . . . . MEMBER ----- U_CHAR 0002H 1
- AD_R_OFFSET. . . . . . . . . . . . . MEMBER ----- U_CHAR 0003H 1
- AD_G_OFFSET. . . . . . . . . . . . . MEMBER ----- U_CHAR 0004H 1
- AD_B_OFFSET. . . . . . . . . . . . . MEMBER ----- U_CHAR 0005H 1
- Save_GUD1. . . . . . . . . . . . . . . EXTERN CODE PROC ----- -----
- GLOBAL_USER_DATA3. . . . . . . . . . . TYPEDEF ----- STRUCT ----- 5
- VOLUME . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0000H 1
- CURR_CHANNEL . . . . . . . . . . . . MEMBER ----- U_CHAR 0001H 1
- PREV_CHANNEL . . . . . . . . . . . . MEMBER ----- U_CHAR 0002H 1
- TV_SETTING . . . . . . . . . . . . . MEMBER ----- U_CHAR 0003H 1
- SPREAD . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0004H 1
- ucfrist. . . . . . . . . . . . . . . . PUBLIC IDATA U_CHAR 0002H 1
- GLOBAL_USER_DATA4. . . . . . . . . . . TYPEDEF ----- STRUCT ----- 9
- C1_R . . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0000H 1
- C1_G . . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0001H 1
- C1_B . . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0002H 1
- C2_R . . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0003H 1
- C2_G . . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0004H 1
- C2_B . . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0005H 1
- C3_R . . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0006H 1
- C3_G . . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0007H 1
- C3_B . . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0008H 1
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 126
- NAME CLASS MSPACE TYPE OFFSET SIZE
- ==== ===== ====== ==== ====== ====
- ucModeCnt. . . . . . . . . . . . . . . PUBLIC IDATA U_CHAR 0003H 1
- strTabAuto_Atb . . . . . . . . . . . . EXTERN CODE ARRAY ----- -----
- _RTDOSDW . . . . . . . . . . . . . . . EXTERN CODE PROC ----- -----
- _Measure_Source. . . . . . . . . . . . PUBLIC CODE PROC 0000H -----
- SOURCE . . . . . . . . . . . . . . . * REG * DATA U_CHAR 0007H 1
- Partial_Display. . . . . . . . . . . . PUBLIC CODE PROC 0000H -----
- ucMode_Temp. . . . . . . . . . . . . AUTO DATA U_CHAR 0000H 1
- ADC_SD_SET . . . . . . . . . . . . . . EXTERN CODE ARRAY ----- -----
- bOverSpec. . . . . . . . . . . . . . . PUBLIC DATA BIT 0000H 1
- New_Mode_Auto. . . . . . . . . . . . . PUBLIC CODE PROC 0000H -----
- _RTDSetByte. . . . . . . . . . . . . . EXTERN CODE PROC ----- -----
- usVer_End. . . . . . . . . . . . . . . EXTERN IDATA U_INT ----- 2
- Set_H_Position . . . . . . . . . . . . EXTERN CODE PROC ----- -----
- _Seek_DVI_Mode . . . . . . . . . . . . PUBLIC CODE PROC 0000H -----
- mode . . . . . . . . . . . . . . . . AUTO DATA U_CHAR 0000H 1
- Wait_Time_Cnt. . . . . . . . . . . . AUTO DATA U_CHAR 0001H 1
- ucInputSrc . . . . . . . . . . . . . . PUBLIC IDATA U_CHAR 0004H 1
- _RTDSetBit . . . . . . . . . . . . . . EXTERN CODE PROC ----- -----
- LP_VIDEO_MODE_USER_DATA. . . . . . . . TYPEDEF ----- PTR ----- 3
- Input_Mode_Detector. . . . . . . . . . PUBLIC CODE PROC 0000H -----
- _I2CRead . . . . . . . . . . . . . . . EXTERN CODE PROC ----- -----
- VIDEO_MODE_USER_DATA . . . . . . . . . TYPEDEF ----- STRUCT ----- 4
- VBRIGHT. . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0000H 1
- VCONTRAST. . . . . . . . . . . . . . MEMBER ----- U_CHAR 0001H 1
- VSATURATION. . . . . . . . . . . . . MEMBER ----- U_CHAR 0002H 1
- VHUE . . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0003H 1
- Detect_Video_Mode. . . . . . . . . . . PUBLIC CODE PROC 0000H -----
- Set_V_Position . . . . . . . . . . . . EXTERN CODE PROC ----- -----
- _RTDCodeW. . . . . . . . . . . . . . . EXTERN CODE PROC ----- -----
- ucP_Corr . . . . . . . . . . . . . . . EXTERN IDATA U_CHAR ----- 1
- VGA_SET_CS . . . . . . . . . . . . . . EXTERN CODE ARRAY ----- -----
- Check_Video_Mode . . . . . . . . . . . PUBLIC CODE PROC 0000H -----
- CAP_WIN. . . . . . . . . . . . . . . . EXTERN CODE ARRAY ----- -----
- Set_Bright_Contrast. . . . . . . . . . EXTERN CODE PROC ----- -----
- Mode_Detector. . . . . . . . . . . . . PUBLIC CODE PROC 0000H -----
- Display_VGA_Set. . . . . . . . . . . . PUBLIC CODE PROC 0000H -----
- Wait_Time_Cnt. . . . . . . . . . . . AUTO DATA U_CHAR 0000H 1
- _Load_MUD. . . . . . . . . . . . . . . EXTERN CODE PROC ----- -----
- _I2CWrite. . . . . . . . . . . . . . . EXTERN CODE PROC ----- -----
- Display_DVI_Set. . . . . . . . . . . . PUBLIC CODE PROC 0000H -----
- Wait_Time_Cnt. . . . . . . . . . . . AUTO DATA U_CHAR 0000H 1
- ucRefresh. . . . . . . . . . . . . . . PUBLIC IDATA U_CHAR 0005H 1
- ucSyncErrorCnt . . . . . . . . . . . . EXTERN IDATA U_CHAR ----- 1
- usStdHS. . . . . . . . . . . . . . . . PUBLIC IDATA U_INT 0006H 2
- Set_Dithering. . . . . . . . . . . . . EXTERN CODE PROC ----- -----
- VGA_SET_SS . . . . . . . . . . . . . . EXTERN CODE ARRAY ----- -----
- AV_DETECT. . . . . . . . . . . . . . . EXTERN CODE ARRAY ----- -----
- Initial_Mode . . . . . . . . . . . . . PUBLIC CODE PROC 0000H -----
- ucOption . . . . . . . . . . . . . . AUTO DATA U_CHAR 0000H 1
- usDispLen. . . . . . . . . . . . . . AUTO DATA U_INT 0001H 2
- Detect_Input_Mode. . . . . . . . . . . PUBLIC CODE PROC 0000H -----
- ucMode_Temp. . . . . . . . . . . . . AUTO DATA U_CHAR 0000H 1
- usHS_Pulse . . . . . . . . . . . . . AUTO DATA U_INT 0001H 2
- _Calculate_IVS2DVS_Delay . . . . . . . PUBLIC CODE PROC 0000H -----
- integer. . . . . . . . . . . . . . . AUTO DATA U_CHAR 0000H 1
- fraction . . . . . . . . . . . . . . AUTO DATA U_CHAR 0001H 1
- DVStart. . . . . . . . . . . . . . . AUTO DATA U_INT 0002H 2
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 127
- NAME CLASS MSPACE TYPE OFFSET SIZE
- ==== ===== ====== ==== ====== ====
- Check_Input_Mode . . . . . . . . . . . PUBLIC CODE PROC 0000H -----
- bReload. . . . . . . . . . . . . . . . EXTERN DATA BIT ----- 1
- Sharpness. . . . . . . . . . . . . . . EXTERN CODE PROC ----- -----
- Measure_Mode . . . . . . . . . . . . . PUBLIC CODE PROC 0000H -----
- bPanel_Status. . . . . . . . . . . . . EXTERN DATA BIT ----- 1
- ucMode_Found . . . . . . . . . . . . . PUBLIC IDATA U_CHAR 0008H 1
- usStdVS. . . . . . . . . . . . . . . . PUBLIC IDATA U_INT 0009H 2
- bStable. . . . . . . . . . . . . . . . PUBLIC DATA BIT 0001H 1
- ucCE_Value . . . . . . . . . . . . . . PUBLIC IDATA U_CHAR 000BH 1
- Display_Video_Set. . . . . . . . . . . PUBLIC CODE PROC 0000H -----
- SetADC_GainOffset. . . . . . . . . . . EXTERN CODE PROC ----- -----
- SV_DETECT. . . . . . . . . . . . . . . EXTERN CODE ARRAY ----- -----
- VGA_Mode . . . . . . . . . . . . . . . EXTERN CODE ARRAY ----- -----
- ucMode_Times . . . . . . . . . . . . . PUBLIC IDATA U_CHAR 000CH 1
- ucDV_Delay . . . . . . . . . . . . . . EXTERN IDATA U_CHAR ----- 1
- _RTDRead . . . . . . . . . . . . . . . EXTERN CODE PROC ----- -----
- ucPE_Level . . . . . . . . . . . . . . PUBLIC IDATA U_CHAR 000DH 1
- usIPH_ACT_WID. . . . . . . . . . . . . EXTERN IDATA U_INT ----- 2
- OSD_Reset. . . . . . . . . . . . . . . EXTERN CODE ARRAY ----- -----
- usIPH_ACT_STA. . . . . . . . . . . . . EXTERN IDATA U_INT ----- 2
- stMUD. . . . . . . . . . . . . . . . . EXTERN DATA STRUCT ----- 4
- usIPV_ACT_LEN. . . . . . . . . . . . . EXTERN IDATA U_INT ----- 2
- M512_Port51. . . . . . . . . . . . . . EXTERN XDATA U_CHAR ----- 1
- PowerDown_ADC. . . . . . . . . . . . . EXTERN CODE PROC ----- -----
- Auto_Config. . . . . . . . . . . . . . EXTERN CODE PROC ----- -----
- Sync_Type_Confirm. . . . . . . . . . . PUBLIC CODE PROC 0000H -----
- Source_Auto_Scan . . . . . . . . . . . EXTERN CODE PROC ----- -----
- ucAV_Mode. . . . . . . . . . . . . . . PUBLIC IDATA U_CHAR 000EH 1
- _RTDWrite. . . . . . . . . . . . . . . EXTERN CODE PROC ----- -----
- bHpole_Curr. . . . . . . . . . . . . . PUBLIC DATA BIT 0002H 1
- usIPV_ACT_STA. . . . . . . . . . . . . EXTERN IDATA U_INT ----- 2
- bHpole_Prev. . . . . . . . . . . . . . PUBLIC DATA BIT 0003H 1
- usDH_Total . . . . . . . . . . . . . . EXTERN IDATA U_INT ----- 2
- Mode_Preset. . . . . . . . . . . . . . EXTERN CODE ARRAY ----- -----
- V_ENABLE . . . . . . . . . . . . . . . EXTERN CODE ARRAY ----- -----
- ucMode_Curr. . . . . . . . . . . . . . PUBLIC IDATA U_CHAR 000FH 1
- _RGB_MODE_USER_DATA. . . . . . . . . . * TAG * ----- STRUCT ----- 4
- H_POSITION . . . . . . . . . . . . . MEMBER ----- U_CHAR 0000H 1
- V_POSITION . . . . . . . . . . . . . MEMBER ----- U_CHAR 0001H 1
- CLOCK. . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0002H 1
- PHASE. . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0003H 1
- _VGA_Mode_Search . . . . . . . . . . . PUBLIC CODE PROC 0000H -----
- HS_Pulse . . . . . . . . . . . . . . AUTO DATA U_INT 0000H 2
- ucMode_Temp. . . . . . . . . . . . . * REG * DATA U_CHAR 0007H 1
- m. . . . . . . . . . . . . . . . . . * REG * DATA U_CHAR 0006H 1
- _GLOBAL_USER_DATA0 . . . . . . . . . . * TAG * ----- STRUCT ----- 8
- CONTRAST . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0000H 1
- BRIGHT . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0001H 1
- RTD_R_CONTRAST . . . . . . . . . . . MEMBER ----- U_CHAR 0002H 1
- RTD_G_CONTRAST . . . . . . . . . . . MEMBER ----- U_CHAR 0003H 1
- RTD_B_CONTRAST . . . . . . . . . . . MEMBER ----- U_CHAR 0004H 1
- RTD_R_BRIGHT . . . . . . . . . . . . MEMBER ----- U_CHAR 0005H 1
- RTD_G_BRIGHT . . . . . . . . . . . . MEMBER ----- U_CHAR 0006H 1
- RTD_B_BRIGHT . . . . . . . . . . . . MEMBER ----- U_CHAR 0007H 1
- _Set_Phase . . . . . . . . . . . . . . EXTERN CODE PROC ----- -----
- _GLOBAL_USER_DATA1 . . . . . . . . . . * TAG * ----- STRUCT ----- 8
- FUNCTION . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0000H 1
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 128
- NAME CLASS MSPACE TYPE OFFSET SIZE
- ==== ===== ====== ==== ====== ====
- INPUT_SOURCE . . . . . . . . . . . . MEMBER ----- U_CHAR 0001H 1
- FILTER . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0002H 1
- OSD_POSH . . . . . . . . . . . . . . MEMBER ----- U_INT 0003H 2
- OSD_POSV . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0005H 1
- OSD_TIMEOUT. . . . . . . . . . . . . MEMBER ----- U_CHAR 0006H 1
- OSD_INPUT. . . . . . . . . . . . . . MEMBER ----- U_CHAR 0007H 1
- _GLOBAL_USER_DATA2 . . . . . . . . . . * TAG * ----- STRUCT ----- 6
- AD_R_GAIN. . . . . . . . . . . . . . MEMBER ----- U_CHAR 0000H 1
- AD_G_GAIN. . . . . . . . . . . . . . MEMBER ----- U_CHAR 0001H 1
- AD_B_GAIN. . . . . . . . . . . . . . MEMBER ----- U_CHAR 0002H 1
- AD_R_OFFSET. . . . . . . . . . . . . MEMBER ----- U_CHAR 0003H 1
- AD_G_OFFSET. . . . . . . . . . . . . MEMBER ----- U_CHAR 0004H 1
- AD_B_OFFSET. . . . . . . . . . . . . MEMBER ----- U_CHAR 0005H 1
- _GLOBAL_USER_DATA3 . . . . . . . . . . * TAG * ----- STRUCT ----- 5
- VOLUME . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0000H 1
- CURR_CHANNEL . . . . . . . . . . . . MEMBER ----- U_CHAR 0001H 1
- PREV_CHANNEL . . . . . . . . . . . . MEMBER ----- U_CHAR 0002H 1
- TV_SETTING . . . . . . . . . . . . . MEMBER ----- U_CHAR 0003H 1
- SPREAD . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0004H 1
- _GLOBAL_USER_DATA4 . . . . . . . . . . * TAG * ----- STRUCT ----- 9
- C1_R . . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0000H 1
- C1_G . . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0001H 1
- C1_B . . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0002H 1
- C2_R . . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0003H 1
- C2_G . . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0004H 1
- C2_B . . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0005H 1
- C3_R . . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0006H 1
- C3_G . . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0007H 1
- C3_B . . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0008H 1
- _Wait_For_Event. . . . . . . . . . . . EXTERN CODE PROC ----- -----
- ucH_Min_Margin . . . . . . . . . . . . EXTERN IDATA U_CHAR ----- 1
- bVpole_Curr. . . . . . . . . . . . . . PUBLIC DATA BIT 0004H 1
- bVpole_Prev. . . . . . . . . . . . . . PUBLIC DATA BIT 0005H 1
- _Delay_Xms . . . . . . . . . . . . . . EXTERN CODE PROC ----- -----
- ucH_Max_Margin . . . . . . . . . . . . EXTERN IDATA U_CHAR ----- 1
- usDV_Total . . . . . . . . . . . . . . EXTERN IDATA U_INT ----- 2
- _Set_Dclk. . . . . . . . . . . . . . . PUBLIC CODE PROC 0000H -----
- DispLen. . . . . . . . . . . . . . . AUTO DATA U_INT 0000H 2
- Frame_Sync . . . . . . . . . . . . . . EXTERN CODE PROC ----- -----
- Reset_Mode . . . . . . . . . . . . . . EXTERN CODE PROC ----- -----
- Set_Video_Mode . . . . . . . . . . . . PUBLIC CODE PROC 0000H -----
- bFrameSync . . . . . . . . . . . . . . EXTERN DATA BIT ----- 1
- usHsync. . . . . . . . . . . . . . . . PUBLIC IDATA U_INT 0010H 2
- Set_Gamma. . . . . . . . . . . . . . . EXTERN CODE PROC ----- -----
- Adjust_I_Code. . . . . . . . . . . . . EXTERN CODE PROC ----- -----
- VGA_SET_SOG. . . . . . . . . . . . . . EXTERN CODE ARRAY ----- -----
- ucV_Min_Margin . . . . . . . . . . . . EXTERN IDATA U_CHAR ----- 1
- ucV_Max_Margin . . . . . . . . . . . . EXTERN IDATA U_CHAR ----- 1
- Sync_Type_Switch . . . . . . . . . . . PUBLIC CODE PROC 0000H -----
- stGUD1 . . . . . . . . . . . . . . . . EXTERN DATA STRUCT ----- 8
- Data . . . . . . . . . . . . . . . . . EXTERN DATA ARRAY ----- 16
- Set_Clock. . . . . . . . . . . . . . . EXTERN CODE PROC ----- -----
- _VIDEO_MODE_USER_DATA. . . . . . . . . * TAG * ----- STRUCT ----- 4
- VBRIGHT. . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0000H 1
- VCONTRAST. . . . . . . . . . . . . . MEMBER ----- U_CHAR 0001H 1
- VSATURATION. . . . . . . . . . . . . MEMBER ----- U_CHAR 0002H 1
- VHUE . . . . . . . . . . . . . . . . MEMBER ----- U_CHAR 0003H 1
- C51 COMPILER V7.06 MODE_DETECT 11/21/2005 13:47:38 PAGE 129
- NAME CLASS MSPACE TYPE OFFSET SIZE
- ==== ===== ====== ==== ====== ====
- LP_RGB_MODE_USER_DATA. . . . . . . . . TYPEDEF ----- PTR ----- 3
- ucSync_Type. . . . . . . . . . . . . . PUBLIC IDATA U_CHAR 0012H 1
- LP_GLOBAL_USER_DATA0 . . . . . . . . . TYPEDEF ----- PTR ----- 3
- MODULE INFORMATION: STATIC OVERLAYABLE
- CODE SIZE = 6858 ----
- CONSTANT SIZE = ---- ----
- XDATA SIZE = ---- ----
- PDATA SIZE = ---- ----
- DATA SIZE = ---- 19
- IDATA SIZE = 19 ----
- BIT SIZE = 6 ----
- END OF MODULE INFORMATION.
- C51 COMPILATION COMPLETE. 1 WARNING(S), 0 ERROR(S)