Lcd_osd.lst
上传用户:xmyjxjd
上传日期:2013-05-04
资源大小:1517k
文件大小:725k
- 002A F582 MOV DPL,A
- 002C E4 CLR A
- 002D 3E ADDC A,R6
- 002E F583 MOV DPH,A
- 0030 EF MOV A,R7
- 0031 2454 ADD A,#054H
- 0033 F500 R MOV ?_OSD_Window?BYTE+08H,A
- 0035 E4 CLR A
- 0036 3E ADDC A,R6
- 0037 F500 R MOV ?_OSD_Window?BYTE+07H,A
- 0039 858300 R MOV ?_OSD_Window?BYTE+05H,DPH
- 003C 858200 R MOV ?_OSD_Window?BYTE+06H,DPL
- 003F L?1026:
- 003F 750001 R MOV ?_OSD_Window?BYTE+09H,#01H
- 0042 750001 R MOV ?_OSD_Window?BYTE+0AH,#01H
- 0045 75000E R MOV ?_OSD_Window?BYTE+0BH,#0EH
- 0048 7500FB R MOV ?_OSD_Window?BYTE+0CH,#0FBH
- 004B E4 CLR A
- 004C L?1027:
- 004C F500 R MOV ?_OSD_Window?BYTE+0DH,A
- 004E 750001 R MOV ?_OSD_Window?BYTE+0EH,#01H
- 0051 750019 R MOV ?_OSD_Window?BYTE+0FH,#019H
- 0054 22 RET
- 0055 L?1028:
- 0055 L?1029:
- 0055 7800 R MOV R0,#LOW ucOSD_Item_Index0
- 0057 L?1030:
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 80
- 0057 E6 MOV A,@R0
- 0058 FF MOV R7,A
- 0059 7E00 MOV R6,#00H
- 005B 7C00 MOV R4,#00H
- 005D L?1031:
- 005D 7D21 MOV R5,#021H
- 005F 120000 E LCALL ?C?IMUL
- 0062 EF MOV A,R7
- 0063 2415 ADD A,#015H
- 0065 FD MOV R5,A
- 0066 E4 CLR A
- 0067 3E ADDC A,R6
- 0068 FC MOV R4,A
- 0069 EF MOV A,R7
- 006A 2433 ADD A,#033H
- 006C F500 R MOV ?_OSD_Window?BYTE+08H,A
- 006E E4 CLR A
- 006F 3E ADDC A,R6
- 0070 F500 R MOV ?_OSD_Window?BYTE+07H,A
- 0072 8C00 R MOV ?_OSD_Window?BYTE+05H,R4
- 0074 8D00 R MOV ?_OSD_Window?BYTE+06H,R5
- 0076 E4 CLR A
- 0077 F500 R MOV ?_OSD_Window?BYTE+09H,A
- 0079 F500 R MOV ?_OSD_Window?BYTE+0AH,A
- 007B L?1032:
- 007B 75000E R MOV ?_OSD_Window?BYTE+0BH,#0EH
- 007E 7500FB R MOV ?_OSD_Window?BYTE+0CH,#0FBH
- 0081 F500 R MOV ?_OSD_Window?BYTE+0DH,A
- 0083 750001 R MOV ?_OSD_Window?BYTE+0EH,#01H
- 0086 F500 R MOV ?_OSD_Window?BYTE+0FH,A
- 0088 L?1033:
- 0088 7D96 MOV R5,#096H
- 008A L?1034:
- 008A 7B1A MOV R3,#01AH
- 008C 7A01 MOV R2,#01H
- 008E FC MOV R4,A
- 008F 7F06 MOV R7,#06H
- 0091 22 RET
- 0092 L?1035:
- 0092 7800 E MOV R0,#LOW ucV_Min_Margin
- 0094 E6 MOV A,@R0
- 0095 FB MOV R3,A
- 0096 7A00 MOV R2,#00H
- 0098 C3 CLR C
- 0099 E500 E MOV A,stMUD+01H
- 009B 9B SUBB A,R3
- 009C FF MOV R7,A
- 009D E4 CLR A
- 009E 9A SUBB A,R2
- 009F FE MOV R6,A
- 00A0 7C00 MOV R4,#00H
- 00A2 7D32 MOV R5,#032H
- 00A4 120000 E LCALL ?C?IMUL
- 00A7 C3 CLR C
- 00A8 7480 MOV A,#080H
- 00AA 9B SUBB A,R3
- 00AB FD MOV R5,A
- 00AC E4 CLR A
- 00AD 9A SUBB A,R2
- 00AE FC MOV R4,A
- 00AF 120000 E LCALL ?C?UIDIV
- 00B2 8F00 R MOV ?_OSD_Slider?BYTE+03H,R7
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 81
- 00B4 L?1036:
- 00B4 750064 R MOV ?_OSD_Slider?BYTE+04H,#064H
- 00B7 L?1037:
- 00B7 750002 R MOV ?_OSD_Slider?BYTE+05H,#02H
- 00BA L?1038:
- 00BA 75000E R MOV ?_OSD_Slider?BYTE+06H,#0EH
- 00BD 7B11 MOV R3,#011H
- 00BF 7D1F MOV R5,#01FH
- 00C1 22 RET
- 00C2 L?1039:
- 00C2 EF MOV A,R7
- 00C3 25E0 ADD A,ACC
- 00C5 FD MOV R5,A
- 00C6 EE MOV A,R6
- 00C7 33 RLC A
- 00C8 FC MOV R4,A
- 00C9 C3 CLR C
- 00CA 74E8 MOV A,#0E8H
- 00CC 9D SUBB A,R5
- 00CD FB MOV R3,A
- 00CE 7401 MOV A,#01H
- 00D0 9C SUBB A,R4
- 00D1 FA MOV R2,A
- 00D2 18 DEC R0
- 00D3 L?1040:
- 00D3 E6 MOV A,@R0
- 00D4 FE MOV R6,A
- 00D5 08 INC R0
- 00D6 E6 MOV A,@R0
- 00D7 FF MOV R7,A
- 00D8 8E00 R MOV ?_OSD_Window?BYTE+05H,R6
- 00DA F500 R MOV ?_OSD_Window?BYTE+06H,A
- 00DC C3 CLR C
- 00DD 7408 MOV A,#08H
- 00DF 9F SUBB A,R7
- 00E0 F500 R MOV ?_OSD_Window?BYTE+08H,A
- 00E2 7401 MOV A,#01H
- 00E4 9E SUBB A,R6
- 00E5 F500 R MOV ?_OSD_Window?BYTE+07H,A
- 00E7 L?1041:
- 00E7 E4 CLR A
- 00E8 L?1042:
- 00E8 F500 R MOV ?_OSD_Window?BYTE+09H,A
- 00EA F500 R MOV ?_OSD_Window?BYTE+0AH,A
- 00EC 75000E R MOV ?_OSD_Window?BYTE+0BH,#0EH
- 00EF 7500FB R MOV ?_OSD_Window?BYTE+0CH,#0FBH
- 00F2 F500 R MOV ?_OSD_Window?BYTE+0DH,A
- 00F4 750001 R MOV ?_OSD_Window?BYTE+0EH,#01H
- 00F7 22 RET
- 00F8 L?1043:
- 00F8 L?1044:
- 00F8 850000 R MOV ?_OSD_Slider?BYTE+03H,stGUD2+05H
- 00FB L?1045:
- 00FB 7500FF R MOV ?_OSD_Slider?BYTE+04H,#0FFH
- 00FE 750002 R MOV ?_OSD_Slider?BYTE+05H,#02H
- 0101 L?1046:
- 0101 75000E R MOV ?_OSD_Slider?BYTE+06H,#0EH
- 0104 7B11 MOV R3,#011H
- 0106 7D24 MOV R5,#024H
- 0108 22 RET
- 0109 L?1048:
- 0109 7800 R MOV R0,#LOW ucOSD_Item_Index1
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 82
- 010B 7602 MOV @R0,#02H
- 010D 7402 MOV A,#02H
- 010F L?1049:
- 010F 75F007 MOV B,#07H
- 0112 A4 MUL AB
- 0113 241D ADD A,#01DH
- 0115 L?1050:
- 0115 FD MOV R5,A
- 0116 750020 R MOV ?_OSD_Line?BYTE+03H,#020H
- 0119 750002 R MOV ?_OSD_Line?BYTE+04H,#02H
- 011C 22 RET
- 011D L?1051:
- 011D 7800 R MOV R0,#LOW ucOSD_Item_Index0
- 011F L?1052:
- 011F E6 MOV A,@R0
- 0120 FF MOV R7,A
- 0121 L?1053:
- 0121 7E00 MOV R6,#00H
- 0123 7C00 MOV R4,#00H
- 0125 7D21 MOV R5,#021H
- 0127 120000 E LCALL ?C?IMUL
- 012A EF MOV A,R7
- 012B 2415 ADD A,#015H
- 012D FD MOV R5,A
- 012E E4 CLR A
- 012F 3E ADDC A,R6
- 0130 FC MOV R4,A
- 0131 EF MOV A,R7
- 0132 2433 ADD A,#033H
- 0134 F500 R MOV ?_OSD_Window?BYTE+08H,A
- 0136 E4 CLR A
- 0137 3E ADDC A,R6
- 0138 F500 R MOV ?_OSD_Window?BYTE+07H,A
- 013A 8C00 R MOV ?_OSD_Window?BYTE+05H,R4
- 013C 8D00 R MOV ?_OSD_Window?BYTE+06H,R5
- 013E 22 RET
- 013F L?1055:
- 013F 7800 R MOV R0,#LOW ucOSD_Item_Index0
- 0141 7601 MOV @R0,#01H
- 0143 E4 CLR A
- 0144 L?1056:
- 0144 08 INC R0
- 0145 F6 MOV @R0,A
- 0146 L?1057:
- 0146 F500 R MOV ?_OSD_Window?BYTE+05H,A
- 0148 750036 R MOV ?_OSD_Window?BYTE+06H,#036H
- 014B F500 R MOV ?_OSD_Window?BYTE+07H,A
- 014D 750054 R MOV ?_OSD_Window?BYTE+08H,#054H
- 0150 L?1058:
- 0150 750001 R MOV ?_OSD_Window?BYTE+09H,#01H
- 0153 750001 R MOV ?_OSD_Window?BYTE+0AH,#01H
- 0156 L?1059:
- 0156 75000E R MOV ?_OSD_Window?BYTE+0BH,#0EH
- 0159 7500FB R MOV ?_OSD_Window?BYTE+0CH,#0FBH
- 015C 22 RET
- 015D L?1060:
- 015D 7800 R MOV R0,#LOW ucOSD_Item_Index1
- 015F L?1061:
- 015F E6 MOV A,@R0
- 0160 75F007 MOV B,#07H
- 0163 A4 MUL AB
- 0164 241D ADD A,#01DH
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 83
- 0166 L?1062:
- 0166 FD MOV R5,A
- 0167 L?1063:
- 0167 750040 R MOV ?_OSD_Line?BYTE+03H,#040H
- 016A 750002 R MOV ?_OSD_Line?BYTE+04H,#02H
- 016D 22 RET
- 016E L?1064:
- 016E 7800 E MOV R0,#LOW ucV_Min_Margin
- 0170 E6 MOV A,@R0
- 0171 FB MOV R3,A
- 0172 7A00 MOV R2,#00H
- 0174 C3 CLR C
- 0175 E500 E MOV A,stMUD+01H
- 0177 9B SUBB A,R3
- 0178 FF MOV R7,A
- 0179 E4 CLR A
- 017A 9A SUBB A,R2
- 017B FE MOV R6,A
- 017C 7C00 MOV R4,#00H
- 017E 7D32 MOV R5,#032H
- 0180 120000 E LCALL ?C?IMUL
- 0183 C3 CLR C
- 0184 7480 MOV A,#080H
- 0186 9B SUBB A,R3
- 0187 FD MOV R5,A
- 0188 E4 CLR A
- 0189 9A SUBB A,R2
- 018A FC MOV R4,A
- 018B 120000 E LCALL ?C?UIDIV
- 018E 8F00 R MOV ?_OSD_Slider?BYTE+03H,R7
- 0190 L?1065:
- 0190 750064 R MOV ?_OSD_Slider?BYTE+04H,#064H
- 0193 750004 R MOV ?_OSD_Slider?BYTE+05H,#04H
- 0196 22 RET
- 0197 L?1067:
- 0197 L?1068:
- 0197 750005 E MOV Data,#05H
- 019A L?1069:
- 019A E4 CLR A
- 019B F500 E MOV Data+01H,A
- 019D 750090 E MOV Data+02H,#090H
- 01A0 22 RET
- 01A1 L?1070:
- 01A1 7800 R MOV R0,#LOW ucOSD_Item_Index1
- 01A3 E6 MOV A,@R0
- 01A4 14 DEC A
- 01A5 F9 MOV R1,A
- 01A6 13 RRC A
- 01A7 13 RRC A
- 01A8 543F ANL A,#03FH
- 01AA 75F0AA MOV B,#0AAH
- 01AD A4 MUL AB
- 01AE FF MOV R7,A
- 01AF AEF0 MOV R6,B
- 01B1 2496 ADD A,#096H
- 01B3 FD MOV R5,A
- 01B4 E4 CLR A
- 01B5 3E ADDC A,R6
- 01B6 FC MOV R4,A
- 01B7 EF MOV A,R7
- 01B8 241A ADD A,#01AH
- 01BA FB MOV R3,A
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 84
- 01BB EE MOV A,R6
- 01BC 3401 ADDC A,#01H
- 01BE FA MOV R2,A
- 01BF E9 MOV A,R1
- 01C0 5403 ANL A,#03H
- 01C2 75F021 MOV B,#021H
- 01C5 A4 MUL AB
- 01C6 FF MOV R7,A
- 01C7 AEF0 MOV R6,B
- 01C9 2436 ADD A,#036H
- 01CB F582 MOV DPL,A
- 01CD E4 CLR A
- 01CE 3E ADDC A,R6
- 01CF F583 MOV DPH,A
- 01D1 EF MOV A,R7
- 01D2 2454 ADD A,#054H
- 01D4 F500 R MOV ?_OSD_Window?BYTE+08H,A
- 01D6 E4 CLR A
- 01D7 3E ADDC A,R6
- 01D8 F500 R MOV ?_OSD_Window?BYTE+07H,A
- 01DA 858300 R MOV ?_OSD_Window?BYTE+05H,DPH
- 01DD 858200 R MOV ?_OSD_Window?BYTE+06H,DPL
- 01E0 22 RET
- 01E1 L?1073:
- 01E1 25E0 ADD A,ACC
- 01E3 25E0 ADD A,ACC
- 01E5 04 INC A
- 01E6 FE MOV R6,A
- 01E7 C4 SWAP A
- 01E8 54F0 ANL A,#0F0H
- 01EA 4F ORL A,R7
- 01EB F500 E MOV Data+03H,A
- 01ED 08 INC R0
- 01EE E6 MOV A,@R0
- 01EF 2D ADD A,R5
- 01F0 L?1074:
- 01F0 F500 E MOV Data+04H,A
- 01F2 E4 CLR A
- 01F3 F500 E MOV Data+05H,A
- 01F5 7F00 E MOV R7,#LOW Data
- 01F7 22 RET
- 01F8 L?1078:
- 01F8 L?1079:
- 01F8 7800 E MOV R0,#LOW ucH_Max_Margin
- 01FA E6 MOV A,@R0
- 01FB FF MOV R7,A
- 01FC C3 CLR C
- 01FD 9500 E SUBB A,stMUD
- 01FF F500 R MOV ?_OSD_Slider?BYTE+03H,A
- 0201 C3 CLR C
- 0202 EF MOV A,R7
- 0203 7800 E MOV R0,#LOW ucH_Min_Margin
- 0205 96 SUBB A,@R0
- 0206 F500 R MOV ?_OSD_Slider?BYTE+04H,A
- 0208 22 RET
- 0209 L?1081:
- 0209 L?1082:
- 0209 750006 E MOV Data,#06H
- 020C L?1083:
- 020C 750001 E MOV Data+01H,#01H
- 020F 750092 E MOV Data+02H,#092H
- 0212 22 RET
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 85
- 0213 L?1086:
- 0213 L?1087:
- 0213 C3 CLR C
- 0214 E500 E MOV A,stGUD1+04H
- 0216 9500 E SUBB A,Data
- 0218 F500 R MOV ?_OSD_Slider?BYTE+03H,A
- 021A C3 CLR C
- 021B E500 E MOV A,Data+01H
- 021D 9500 E SUBB A,Data
- 021F F500 R MOV ?_OSD_Slider?BYTE+04H,A
- 0221 22 RET
- 0222 L?1088:
- 0222 L?1089:
- 0222 C3 CLR C
- 0223 E500 E MOV A,stGUD1+05H
- 0225 9500 E SUBB A,Data+02H
- 0227 F500 R MOV ?_OSD_Slider?BYTE+03H,A
- 0229 C3 CLR C
- 022A E500 E MOV A,Data+03H
- 022C 9500 E SUBB A,Data+02H
- 022E F500 R MOV ?_OSD_Slider?BYTE+04H,A
- 0230 22 RET
- 0231 L?1090:
- 0231 E9 MOV A,R1
- 0232 2401 ADD A,#01H
- 0234 FF MOV R7,A
- 0235 E4 CLR A
- 0236 33 RLC A
- 0237 FE MOV R6,A
- 0238 E6 MOV A,@R0
- 0239 FC MOV R4,A
- 023A L?1091:
- 023A C3 CLR C
- 023B 9F SUBB A,R7
- 023C EE MOV A,R6
- 023D L?1092:
- 023D 6480 XRL A,#080H
- 023F F8 MOV R0,A
- 0240 7480 MOV A,#080H
- 0242 98 SUBB A,R0
- 0243 22 RET
- 0244 L?1093:
- 0244 L?1094:
- 0244 E500 E MOV A,stMUD+03H
- 0246 547C ANL A,#07CH
- 0248 13 RRC A
- 0249 13 RRC A
- 024A 543F ANL A,#03FH
- 024C F500 R MOV ?_OSD_Slider?BYTE+03H,A
- 024E 75001F R MOV ?_OSD_Slider?BYTE+04H,#01FH
- 0251 22 RET
- 0252 L?1095:
- 0252 L?1096:
- 0252 850000 R MOV ?_OSD_Slider?BYTE+03H,stGUD2+05H
- 0255 7500FF R MOV ?_OSD_Slider?BYTE+04H,#0FFH
- 0258 750004 R MOV ?_OSD_Slider?BYTE+05H,#04H
- 025B 22 RET
- 025C L?1097:
- 025C E500 R MOV A,range
- 025E A4 MUL AB
- 025F FD MOV R5,A
- 0260 ACF0 MOV R4,B
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 86
- 0262 E500 R MOV A,bound+01H
- 0264 C4 SWAP A
- 0265 F8 MOV R0,A
- 0266 540F ANL A,#0FH
- 0268 C8 XCH A,R0
- 0269 68 XRL A,R0
- 026A FF MOV R7,A
- 026B E500 R MOV A,bound
- 026D C4 SWAP A
- 026E 54F0 ANL A,#0F0H
- 0270 48 ORL A,R0
- 0271 FE MOV R6,A
- 0272 120000 E LCALL ?C?UIDIV
- 0275 8F00 R MOV color,R7
- 0277 E4 CLR A
- 0278 F500 R MOV bound,A
- 027A F500 R MOV bound+01H,A
- 027C 22 RET
- 027D L?1098:
- 027D L?1099:
- 027D F583 MOV DPH,A
- 027F L?1100:
- 027F E4 CLR A
- 0280 93 MOVC A,@A+DPTR
- 0281 FE MOV R6,A
- 0282 7401 MOV A,#01H
- 0284 93 MOVC A,@A+DPTR
- 0285 FF MOV R7,A
- 0286 22 RET
- 0287 L?1101:
- 0287 L?1102:
- 0287 740F MOV A,#0FH
- 0289 D3 SETB C
- 028A 7800 E MOV R0,#LOW ucKey_Issued
- 028C 96 SUBB A,@R0
- 028D 22 RET
- 028E L?1103:
- 028E L?1104:
- 028E 750000 R MOV ?_OSD_Window?BYTE+05H,#00H
- 0291 750036 R MOV ?_OSD_Window?BYTE+06H,#036H
- 0294 750000 R MOV ?_OSD_Window?BYTE+07H,#00H
- 0297 750054 R MOV ?_OSD_Window?BYTE+08H,#054H
- 029A 22 RET
- 029B L?1107:
- 029B 900000 E MOV DPTR,#Row_Info
- 029E 93 MOVC A,@A+DPTR
- 029F L?1108:
- 029F 26 ADD A,@R0
- 02A0 F6 MOV @R0,A
- 02A1 18 DEC R0
- 02A2 E4 CLR A
- 02A3 36 ADDC A,@R0
- 02A4 F6 MOV @R0,A
- 02A5 22 RET
- 02A6 L?1109:
- 02A6 L?1110:
- 02A6 E500 E MOV A,stGUD1
- 02A8 5407 ANL A,#07H
- 02AA 75F002 MOV B,#02H
- 02AD A4 MUL AB
- 02AE 22 RET
- 02AF L?1111:
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 87
- 02AF L?1112:
- 02AF 7800 R MOV R0,#LOW ucOSD_Item_Index1
- 02B1 E6 MOV A,@R0
- 02B2 L?1113:
- 02B2 75F003 MOV B,#03H
- 02B5 A4 MUL AB
- 02B6 2421 ADD A,#021H
- 02B8 22 RET
- 02B9 L?1114:
- 02B9 A907 MOV R1,AR7
- 02BB L?1115:
- 02BB 7600 MOV @R0,#00H
- 02BD 08 INC R0
- 02BE 7613 MOV @R0,#013H
- 02C0 08 INC R0
- 02C1 7601 MOV @R0,#01H
- 02C3 22 RET
- 02C4 L?1117:
- 02C4 L?1118:
- 02C4 E4 CLR A
- 02C5 FB MOV R3,A
- 02C6 7DFE MOV R5,#0FEH
- 02C8 7F6D MOV R7,#06DH
- 02CA 22 RET
- 02CB L?1119:
- 02CB L?1120:
- 02CB C3 CLR C
- 02CC 741F MOV A,#01FH
- 02CE 9500 E SUBB A,stGUD3
- 02D0 F500 R MOV ?_OSD_Slider?BYTE+03H,A
- 02D2 75001F R MOV ?_OSD_Slider?BYTE+04H,#01FH
- 02D5 22 RET
- 02D6 L?1121:
- 02D6 L?1122:
- 02D6 750013 R MOV ?_OSD_Fact_Line?BYTE+03H,#013H
- 02D9 750002 R MOV ?_OSD_Fact_Line?BYTE+04H,#02H
- 02DC 22 RET
- 02DD L?1123:
- 02DD L?1124:
- 02DD 750010 R MOV ?_OSD_Fact_Line?BYTE+03H,#010H
- 02E0 750002 R MOV ?_OSD_Fact_Line?BYTE+04H,#02H
- 02E3 22 RET
- 02E4 L?1125:
- 02E4 E9 MOV A,R1
- 02E5 93 MOVC A,@A+DPTR
- 02E6 FF MOV R7,A
- 02E7 FB MOV R3,A
- 02E8 ED MOV A,R5
- 02E9 2401 ADD A,#01H
- 02EB F582 MOV DPL,A
- 02ED E4 CLR A
- 02EE 33 RLC A
- 02EF F583 MOV DPH,A
- 02F1 D3 SETB C
- 02F2 E582 MOV A,DPL
- 02F4 9B SUBB A,R3
- 02F5 7480 MOV A,#080H
- 02F7 F8 MOV R0,A
- 02F8 6583 XRL A,DPH
- 02FA 98 SUBB A,R0
- 02FB 22 RET
- 02FC L?1126:
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 88
- 02FC 26 ADD A,@R0
- 02FD E4 CLR A
- 02FE 18 DEC R0
- 02FF L?1127:
- 02FF 36 ADDC A,@R0
- 0300 L?1128:
- 0300 540F ANL A,#0FH
- 0302 4450 ORL A,#050H
- 0304 F500 E MOV Data+03H,A
- 0306 08 INC R0
- 0307 E6 MOV A,@R0
- 0308 22 RET
- 0309 L?1129:
- 0309 L?1130:
- 0309 7B88 MOV R3,#088H
- 030B FA MOV R2,A
- 030C 7D0A MOV R5,#0AH
- 030E FC MOV R4,A
- 030F 7F05 MOV R7,#05H
- 0311 22 RET
- 0312 L?1131:
- 0312 L?1132:
- 0312 E500 E MOV A,stGUD1+01H
- 0314 54E0 ANL A,#0E0H
- 0316 C4 SWAP A
- 0317 13 RRC A
- 0318 5407 ANL A,#07H
- 031A F500 R MOV ?_OSD_Slider?BYTE+03H,A
- 031C 750007 R MOV ?_OSD_Slider?BYTE+04H,#07H
- 031F 22 RET
- 0320 L?1133:
- 0320 L?1134:
- 0320 750013 R MOV ?_ShowValue?BYTE+03H,#013H
- 0323 L?1135:
- 0323 AB00 E MOV R3,stGUD0
- 0325 7D0C MOV R5,#0CH
- 0327 7F05 MOV R7,#05H
- 0329 22 RET
- 032A L?1136:
- 032A L?1137:
- 032A 750013 R MOV ?_ShowValue?BYTE+03H,#013H
- 032D L?1138:
- 032D AB00 E MOV R3,stGUD0+01H
- 032F 7D0C MOV R5,#0CH
- 0331 7F06 MOV R7,#06H
- 0333 22 RET
- 0334 L?1139:
- 0334 L?1140:
- 0334 750023 R MOV ?_OSD_Fact_Line?BYTE+03H,#023H
- 0337 750002 R MOV ?_OSD_Fact_Line?BYTE+04H,#02H
- 033A 22 RET
- 033B L?1142:
- 033B L?1143:
- 033B 7B01 MOV R3,#01H
- 033D 7DFE MOV R5,#0FEH
- 033F 7F6D MOV R7,#06DH
- 0341 22 RET
- 0342 L?1144:
- 0342 L?1145:
- 0342 E4 CLR A
- 0343 7800 R MOV R0,#LOW ucOSD_Item_Index0
- 0345 F6 MOV @R0,A
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 89
- 0346 08 INC R0
- 0347 F6 MOV @R0,A
- 0348 22 RET
- 0349 L?1146:
- 0349 758300 MOV DPH,#00H
- 034C 2B ADD A,R3
- 034D FB MOV R3,A
- 034E E583 MOV A,DPH
- 0350 3A ADDC A,R2
- 0351 FA MOV R2,A
- 0352 D3 SETB C
- 0353 EB MOV A,R3
- 0354 9F SUBB A,R7
- 0355 7480 MOV A,#080H
- 0357 F8 MOV R0,A
- 0358 6A XRL A,R2
- 0359 98 SUBB A,R0
- 035A 22 RET
- 035B L?1147:
- 035B L?1148:
- 035B 75F003 MOV B,#03H
- 035E A4 MUL AB
- 035F C583 XCH A,DPH
- 0361 25F0 ADD A,B
- 0363 C583 XCH A,DPH
- 0365 22 RET
- 0366 L?1149:
- 0366 E6 MOV A,@R0
- 0367 25E0 ADD A,ACC
- 0369 FD MOV R5,A
- 036A 18 DEC R0
- 036B E6 MOV A,@R0
- 036C 33 RLC A
- 036D FC MOV R4,A
- 036E C3 CLR C
- 036F 74E8 MOV A,#0E8H
- 0371 9D SUBB A,R5
- 0372 FB MOV R3,A
- 0373 7401 MOV A,#01H
- 0375 9C SUBB A,R4
- 0376 FA MOV R2,A
- 0377 22 RET
- 0378 L?1151:
- 0378 L?1152:
- 0378 75F00A MOV B,#0AH
- 037B A4 MUL AB
- 037C FF MOV R7,A
- 037D C3 CLR C
- 037E 22 RET
- 037F L?1153:
- 037F L?1154:
- 037F 750002 R MOV ?_OSD_Slider?BYTE+06H,#02H
- 0382 7B11 MOV R3,#011H
- 0384 7D1F MOV R5,#01FH
- 0386 7F05 MOV R7,#05H
- 0388 22 RET
- 0389 L?1155:
- 0389 L?1156:
- 0389 75000C R MOV ?_OSD_Slider?BYTE+06H,#0CH
- 038C 7B11 MOV R3,#011H
- 038E 7D1F MOV R5,#01FH
- 0390 7F07 MOV R7,#07H
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 90
- 0392 22 RET
- 0393 L?1157:
- 0393 L?1158:
- 0393 750003 R MOV ?_OSD_Slider?BYTE+06H,#03H
- 0396 7B11 MOV R3,#011H
- 0398 7D1F MOV R5,#01FH
- 039A 7F09 MOV R7,#09H
- 039C 22 RET
- 039D L?1159:
- 039D 750013 R MOV ?_ShowValue?BYTE+03H,#013H
- 03A0 L?1160:
- 03A0 AB00 E MOV R3,stGUD3+04H
- 03A2 7D0C MOV R5,#0CH
- 03A4 7F07 MOV R7,#07H
- 03A6 22 RET
- 03A7 L?1163:
- 03A7 ED MOV A,R5
- 03A8 L?1164:
- 03A8 26 ADD A,@R0
- 03A9 E4 CLR A
- 03AA 18 DEC R0
- 03AB 36 ADDC A,@R0
- 03AC 540F ANL A,#0FH
- 03AE 22 RET
- 03AF L?1165:
- 03AF E500 R MOV A,range
- 03B1 A4 MUL AB
- 03B2 FF MOV R7,A
- 03B3 AEF0 MOV R6,B
- 03B5 C3 CLR C
- 03B6 E500 R MOV A,bound+01H
- 03B8 9F SUBB A,R7
- 03B9 E500 R MOV A,bound
- 03BB 9E SUBB A,R6
- 03BC 22 RET
- 03BD L?1167:
- 03BD D3 SETB C
- 03BE L?1168:
- 03BE EF MOV A,R7
- 03BF 9500 E SUBB A,stGUD1+04H
- 03C1 EE MOV A,R6
- 03C2 9500 E SUBB A,stGUD1+03H
- 03C4 22 RET
- 03C5 L?1170:
- 03C5 7500C1 E MOV Data+03H,#0C1H
- 03C8 L?1171:
- 03C8 E500 R MOV A,win_no
- 03CA 25E0 ADD A,ACC
- 03CC 25E0 ADD A,ACC
- 03CE 22 RET
- 03CF L?1172:
- 03CF L?1173:
- 03CF 75008C R MOV ?_OSD_Line?BYTE+03H,#08CH
- 03D2 E4 CLR A
- 03D3 F500 R MOV ?_OSD_Line?BYTE+04H,A
- 03D5 22 RET
- 03D6 L?1174:
- 03D6 7800 R MOV R0,#LOW ucOSD_Item_Index1
- 03D8 E6 MOV A,@R0
- 03D9 L?1175:
- 03D9 75F005 MOV B,#05H
- 03DC A4 MUL AB
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 91
- 03DD 241F ADD A,#01FH
- 03DF 22 RET
- 03E0 L?1176:
- 03E0 L?1177:
- 03E0 E500 E MOV A,stMUD+02H
- 03E2 24B2 ADD A,#0B2H
- 03E4 F500 R MOV ?_OSD_Slider?BYTE+03H,A
- 03E6 22 RET
- 03E7 L?1178:
- 03E7 7B00 MOV R3,#00H
- 03E9 AD00 R MOV R5,Key
- 03EB 020000 R LJMP _Bright_Contrast_Adjust
- 03EE L?1181:
- 03EE FF MOV R7,A
- 03EF E500 E MOV A,Data+02H
- 03F1 34FE ADDC A,#0FEH
- 03F3 FE MOV R6,A
- 03F4 EF MOV A,R7
- 03F5 7802 MOV R0,#02H
- 03F7 22 RET
- 03F8 L?1182:
- 03F8 L?1183:
- 03F8 2401 ADD A,#01H
- 03FA FF MOV R7,A
- 03FB E4 CLR A
- 03FC 33 RLC A
- 03FD FE MOV R6,A
- 03FE 22 RET
- 03FF L?1184:
- 03FF L?1185:
- 03FF E4 CLR A
- 0400 F500 R MOV ?_OSD_Line?BYTE+03H,A
- 0402 750001 R MOV ?_OSD_Line?BYTE+04H,#01H
- 0405 22 RET
- 0406 L?1186:
- 0406 7C00 MOV R4,#00H
- 0408 7D64 MOV R5,#064H
- 040A 120000 E LCALL ?C?UIDIV
- 040D 8F00 R MOV ucTemp,R7
- 040F 22 RET
- 0410 L?1187:
- 0410 7B00 MOV R3,#00H
- 0412 7A00 E MOV R2,#HIGH stGUD0+01H
- 0414 7900 E MOV R1,#LOW stGUD0+01H
- 0416 020000 R LJMP _Bright_Contrast_Adjust
- 0419 L?1188:
- 0419 L?1189:
- 0419 7B0E MOV R3,#0EH
- 041B 7D24 MOV R5,#024H
- 041D 7F09 MOV R7,#09H
- 041F 22 RET
- 0420 L?1190:
- 0420 850000 R MOV ?_OSD_Slider?BYTE+03H,stGUD0+02H
- 0423 750064 R MOV ?_OSD_Slider?BYTE+04H,#064H
- 0426 750002 R MOV ?_OSD_Slider?BYTE+05H,#02H
- 0429 22 RET
- 042A L?1191:
- 042A 850000 R MOV ?_OSD_Slider?BYTE+03H,stGUD0+03H
- 042D 750064 R MOV ?_OSD_Slider?BYTE+04H,#064H
- 0430 75000C R MOV ?_OSD_Slider?BYTE+05H,#0CH
- 0433 22 RET
- 0434 L?1192:
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 92
- 0434 850000 R MOV ?_OSD_Slider?BYTE+03H,stGUD0+04H
- 0437 750064 R MOV ?_OSD_Slider?BYTE+04H,#064H
- 043A 750003 R MOV ?_OSD_Slider?BYTE+05H,#03H
- 043D 22 RET
- 043E L?1193:
- 043E L?1194:
- 043E 75F008 MOV B,#08H
- 0441 A4 MUL AB
- 0442 241C ADD A,#01CH
- 0444 22 RET
- ; FUNCTION Com03FF (END)
- ; FUNCTION _GetNextPageIdx (BEGIN)
- ; SOURCE LINE # 29
- ;---- Variable 'ucPageCurr' assigned to Register 'R6' ----
- 0000 AE07 MOV R6,AR7
- ; SOURCE LINE # 30
- ; SOURCE LINE # 31
- 0002 E500 E MOV A,stGUD1+01H
- 0004 5407 ANL A,#07H
- 0006 14 DEC A
- 0007 601A JZ ?C0006
- 0009 14 DEC A
- 000A 6024 JZ ?C0009
- 000C 14 DEC A
- 000D 602E JZ ?C0012
- 000F 14 DEC A
- 0010 6038 JZ ?C0015
- 0012 2404 ADD A,#04H
- 0014 7041 JNZ ?C0018
- ; SOURCE LINE # 32
- ; SOURCE LINE # 33
- 0016 ?C0002:
- ; SOURCE LINE # 34
- 0016 7405 MOV A,#05H
- 0018 D3 SETB C
- 0019 9E SUBB A,R6
- 001A 5003 JNC ?C0003
- 001C 7F01 MOV R7,#01H
- 001E 22 RET
- 001F ?C0003:
- 001F EE MOV A,R6
- 0020 04 INC A
- 0021 FF MOV R7,A
- 0022 ?C0004:
- 0022 22 RET
- ; SOURCE LINE # 35
- 0023 ?C0006:
- ; SOURCE LINE # 36
- 0023 7405 MOV A,#05H
- 0025 D3 SETB C
- 0026 9E SUBB A,R6
- 0027 5003 JNC ?C0007
- 0029 7F01 MOV R7,#01H
- 002B 22 RET
- 002C ?C0007:
- 002C EE MOV A,R6
- 002D 04 INC A
- 002E FF MOV R7,A
- 002F ?C0008:
- 002F 22 RET
- ; SOURCE LINE # 37
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 93
- 0030 ?C0009:
- ; SOURCE LINE # 38
- 0030 7405 MOV A,#05H
- 0032 D3 SETB C
- 0033 9E SUBB A,R6
- 0034 5003 JNC ?C0010
- 0036 7F01 MOV R7,#01H
- 0038 22 RET
- 0039 ?C0010:
- 0039 EE MOV A,R6
- 003A 04 INC A
- 003B FF MOV R7,A
- 003C ?C0011:
- 003C 22 RET
- ; SOURCE LINE # 39
- 003D ?C0012:
- ; SOURCE LINE # 40
- 003D 7405 MOV A,#05H
- 003F D3 SETB C
- 0040 9E SUBB A,R6
- 0041 5003 JNC ?C0013
- 0043 7F01 MOV R7,#01H
- 0045 22 RET
- 0046 ?C0013:
- 0046 EE MOV A,R6
- 0047 04 INC A
- 0048 FF MOV R7,A
- 0049 ?C0014:
- 0049 22 RET
- ; SOURCE LINE # 41
- 004A ?C0015:
- ; SOURCE LINE # 42
- 004A 7405 MOV A,#05H
- 004C D3 SETB C
- 004D 9E SUBB A,R6
- 004E 5003 JNC ?C0016
- 0050 7F01 MOV R7,#01H
- 0052 22 RET
- 0053 ?C0016:
- 0053 EE MOV A,R6
- 0054 04 INC A
- 0055 FF MOV R7,A
- 0056 ?C0017:
- 0056 22 RET
- ; SOURCE LINE # 43
- 0057 ?C0018:
- ; SOURCE LINE # 44
- 0057 7F01 MOV R7,#01H
- ; SOURCE LINE # 45
- ; SOURCE LINE # 47
- 0059 ?C0005:
- 0059 22 RET
- ; FUNCTION _GetNextPageIdx (END)
- ; FUNCTION _GetPrevPageIdx (BEGIN)
- ; SOURCE LINE # 49
- ;---- Variable 'ucPageCurr' assigned to Register 'R6' ----
- 0000 AE07 MOV R6,AR7
- ; SOURCE LINE # 50
- ; SOURCE LINE # 51
- 0002 E500 E MOV A,stGUD1+01H
- 0004 5407 ANL A,#07H
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 94
- 0006 14 DEC A
- 0007 601A JZ ?C0024
- 0009 14 DEC A
- 000A 6024 JZ ?C0027
- 000C 14 DEC A
- 000D 602E JZ ?C0030
- 000F 14 DEC A
- 0010 6038 JZ ?C0033
- 0012 2404 ADD A,#04H
- 0014 7041 JNZ ?C0036
- ; SOURCE LINE # 52
- ; SOURCE LINE # 53
- 0016 ?C0020:
- ; SOURCE LINE # 54
- 0016 7401 MOV A,#01H
- 0018 C3 CLR C
- 0019 9E SUBB A,R6
- 001A 4003 JC ?C0021
- 001C 7F05 MOV R7,#05H
- 001E 22 RET
- 001F ?C0021:
- 001F EE MOV A,R6
- 0020 14 DEC A
- 0021 FF MOV R7,A
- 0022 ?C0022:
- 0022 22 RET
- ; SOURCE LINE # 55
- 0023 ?C0024:
- ; SOURCE LINE # 56
- 0023 7401 MOV A,#01H
- 0025 C3 CLR C
- 0026 9E SUBB A,R6
- 0027 4003 JC ?C0025
- 0029 7F05 MOV R7,#05H
- 002B 22 RET
- 002C ?C0025:
- 002C EE MOV A,R6
- 002D 14 DEC A
- 002E FF MOV R7,A
- 002F ?C0026:
- 002F 22 RET
- ; SOURCE LINE # 57
- 0030 ?C0027:
- ; SOURCE LINE # 58
- 0030 7401 MOV A,#01H
- 0032 C3 CLR C
- 0033 9E SUBB A,R6
- 0034 4003 JC ?C0028
- 0036 7F05 MOV R7,#05H
- 0038 22 RET
- 0039 ?C0028:
- 0039 EE MOV A,R6
- 003A 14 DEC A
- 003B FF MOV R7,A
- 003C ?C0029:
- 003C 22 RET
- ; SOURCE LINE # 59
- 003D ?C0030:
- ; SOURCE LINE # 60
- 003D 7401 MOV A,#01H
- 003F C3 CLR C
- 0040 9E SUBB A,R6
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 95
- 0041 4003 JC ?C0031
- 0043 7F05 MOV R7,#05H
- 0045 22 RET
- 0046 ?C0031:
- 0046 EE MOV A,R6
- 0047 14 DEC A
- 0048 FF MOV R7,A
- 0049 ?C0032:
- 0049 22 RET
- ; SOURCE LINE # 61
- 004A ?C0033:
- ; SOURCE LINE # 62
- 004A 7401 MOV A,#01H
- 004C C3 CLR C
- 004D 9E SUBB A,R6
- 004E 4003 JC ?C0034
- 0050 7F05 MOV R7,#05H
- 0052 22 RET
- 0053 ?C0034:
- 0053 EE MOV A,R6
- 0054 14 DEC A
- 0055 FF MOV R7,A
- 0056 ?C0035:
- 0056 22 RET
- ; SOURCE LINE # 63
- 0057 ?C0036:
- ; SOURCE LINE # 64
- 0057 7F01 MOV R7,#01H
- ; SOURCE LINE # 65
- ; SOURCE LINE # 67
- 0059 ?C0023:
- 0059 22 RET
- ; FUNCTION _GetPrevPageIdx (END)
- ; FUNCTION _OSD_Window (BEGIN)
- ; SOURCE LINE # 104
- 0000 8F00 R MOV win_no,R7
- 0002 8C00 R MOV row_start,R4
- 0004 8D00 R MOV row_start+01H,R5
- 0006 8A00 R MOV row_end,R2
- 0008 8B00 R MOV row_end+01H,R3
- ; SOURCE LINE # 107
- ; SOURCE LINE # 108
- 000A E500 R MOV A,win_no
- 000C D3 SETB C
- 000D 9407 SUBB A,#07H
- 000F 4003 JC $ + 5H
- 0011 020000 R LJMP ?C0038
- 0014 ?C0037:
- ; SOURCE LINE # 111
- ; SOURCE LINE # 112
- ; SOURCE LINE # 113
- 0014 120000 R LCALL L?1067
- ; SOURCE LINE # 114
- ; SOURCE LINE # 115
- 0017 120000 R LCALL L?1170
- ; SOURCE LINE # 116
- ; SOURCE LINE # 117
- 001A 120000 R LCALL L?1074
- 001D 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 118
- ; SOURCE LINE # 119
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 96
- ; SOURCE LINE # 120
- 0020 120000 R LCALL L?1081
- ; SOURCE LINE # 121
- 0023 E500 R MOV A,width
- 0025 5407 ANL A,#07H
- 0027 33 RLC A
- 0028 33 RLC A
- 0029 33 RLC A
- 002A 54F8 ANL A,#0F8H
- 002C FF MOV R7,A
- 002D E500 R MOV A,height
- 002F 5407 ANL A,#07H
- 0031 4F ORL A,R7
- 0032 F500 E MOV Data+03H,A
- ; SOURCE LINE # 122
- 0034 850000 E MOV Data+04H,color_sb
- ; SOURCE LINE # 123
- 0037 850000 E MOV Data+05H,gradient
- ; SOURCE LINE # 124
- 003A E4 CLR A
- 003B F500 E MOV Data+06H,A
- ; SOURCE LINE # 125
- 003D 7F00 E MOV R7,#LOW Data
- 003F 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 127
- ; SOURCE LINE # 128
- ; SOURCE LINE # 129
- 0042 120000 R LCALL L?1067
- ; SOURCE LINE # 130
- 0045 7500E1 E MOV Data+03H,#0E1H
- ; SOURCE LINE # 131
- 0048 120000 R LCALL L?1171
- 004B 04 INC A
- ; SOURCE LINE # 132
- ; SOURCE LINE # 133
- 004C 120000 R LCALL L?1074
- 004F 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 134
- 0052 750009 E MOV Data,#09H
- ; SOURCE LINE # 135
- ; SOURCE LINE # 136
- 0055 120000 R LCALL L?1083
- ; SOURCE LINE # 137
- 0058 7E00 MOV R6,#00H
- 005A E500 R MOV A,row_start+01H
- 005C 543F ANL A,#03FH
- 005E 7802 MOV R0,#02H
- 0060 ?C0881:
- 0060 C3 CLR C
- 0061 33 RLC A
- 0062 CE XCH A,R6
- 0063 33 RLC A
- 0064 CE XCH A,R6
- 0065 D8F9 DJNZ R0,?C0881
- 0067 F500 E MOV Data+03H,A
- ; SOURCE LINE # 139
- 0069 E500 R MOV A,row_start
- 006B 5407 ANL A,#07H
- 006D FE MOV R6,A
- 006E E500 R MOV A,row_start+01H
- 0070 54C0 ANL A,#0C0H
- 0072 7806 MOV R0,#06H
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 97
- 0074 ?C0882:
- 0074 CE XCH A,R6
- 0075 C3 CLR C
- 0076 13 RRC A
- 0077 CE XCH A,R6
- 0078 13 RRC A
- 0079 D8F9 DJNZ R0,?C0882
- 007B FD MOV R5,A
- 007C 7E00 MOV R6,#00H
- 007E E500 R MOV A,col_start+01H
- 0080 5407 ANL A,#07H
- 0082 7805 MOV R0,#05H
- 0084 ?C0883:
- 0084 C3 CLR C
- 0085 33 RLC A
- 0086 CE XCH A,R6
- 0087 33 RLC A
- 0088 CE XCH A,R6
- 0089 D8F9 DJNZ R0,?C0883
- 008B 4D ORL A,R5
- 008C F500 E MOV Data+04H,A
- ; SOURCE LINE # 140
- 008E E500 R MOV A,col_start
- 0090 5407 ANL A,#07H
- 0092 FE MOV R6,A
- 0093 E500 R MOV A,col_start+01H
- 0095 54F8 ANL A,#0F8H
- 0097 7803 MOV R0,#03H
- 0099 ?C0884:
- 0099 CE XCH A,R6
- 009A C3 CLR C
- 009B 13 RRC A
- 009C CE XCH A,R6
- 009D 13 RRC A
- 009E D8F9 DJNZ R0,?C0884
- 00A0 F500 E MOV Data+05H,A
- ; SOURCE LINE # 142
- 00A2 7E00 MOV R6,#00H
- 00A4 E500 R MOV A,row_end+01H
- 00A6 543F ANL A,#03FH
- 00A8 7802 MOV R0,#02H
- 00AA ?C0885:
- 00AA C3 CLR C
- 00AB 33 RLC A
- 00AC CE XCH A,R6
- 00AD 33 RLC A
- 00AE CE XCH A,R6
- 00AF D8F9 DJNZ R0,?C0885
- 00B1 F500 E MOV Data+06H,A
- ; SOURCE LINE # 144
- 00B3 E500 R MOV A,row_end
- 00B5 5407 ANL A,#07H
- 00B7 FE MOV R6,A
- 00B8 E500 R MOV A,row_end+01H
- 00BA 54C0 ANL A,#0C0H
- 00BC 7806 MOV R0,#06H
- 00BE ?C0886:
- 00BE CE XCH A,R6
- 00BF C3 CLR C
- 00C0 13 RRC A
- 00C1 CE XCH A,R6
- 00C2 13 RRC A
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 98
- 00C3 D8F9 DJNZ R0,?C0886
- 00C5 FD MOV R5,A
- 00C6 7E00 MOV R6,#00H
- 00C8 E500 R MOV A,col_end+01H
- 00CA 5407 ANL A,#07H
- 00CC 7805 MOV R0,#05H
- 00CE ?C0887:
- 00CE C3 CLR C
- 00CF 33 RLC A
- 00D0 CE XCH A,R6
- 00D1 33 RLC A
- 00D2 CE XCH A,R6
- 00D3 D8F9 DJNZ R0,?C0887
- 00D5 4D ORL A,R5
- 00D6 F500 E MOV Data+07H,A
- ; SOURCE LINE # 145
- 00D8 E500 R MOV A,col_end
- 00DA 5407 ANL A,#07H
- 00DC FE MOV R6,A
- 00DD E500 R MOV A,col_end+01H
- 00DF 54F8 ANL A,#0F8H
- 00E1 7803 MOV R0,#03H
- 00E3 ?C0888:
- 00E3 CE XCH A,R6
- 00E4 C3 CLR C
- 00E5 13 RRC A
- 00E6 CE XCH A,R6
- 00E7 13 RRC A
- 00E8 D8F9 DJNZ R0,?C0888
- 00EA F500 E MOV Data+08H,A
- ; SOURCE LINE # 146
- 00EC E4 CLR A
- 00ED F500 E MOV Data+09H,A
- ; SOURCE LINE # 147
- 00EF 7F00 E MOV R7,#LOW Data
- 00F1 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 149
- 00F4 7F19 MOV R7,#019H
- 00F6 120000 E LCALL _Delay_Xms
- ; SOURCE LINE # 159
- ; SOURCE LINE # 160
- ; SOURCE LINE # 161
- 00F9 120000 R LCALL L?1068
- ; SOURCE LINE # 162
- ; SOURCE LINE # 163
- 00FC 120000 R LCALL L?1170
- 00FF 2403 ADD A,#03H
- ; SOURCE LINE # 164
- ; SOURCE LINE # 165
- 0101 120000 R LCALL L?1074
- 0104 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 166
- ; SOURCE LINE # 167
- ; SOURCE LINE # 168
- 0107 120000 R LCALL L?1081
- ; SOURCE LINE # 169
- 010A E4 CLR A
- 010B F500 E MOV Data+03H,A
- ; SOURCE LINE # 170
- 010D E500 R MOV A,gray_level
- 010F 5407 ANL A,#07H
- 0111 C4 SWAP A
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 99
- 0112 54F0 ANL A,#0F0H
- 0114 FF MOV R7,A
- 0115 E500 R MOV A,color
- 0117 540F ANL A,#0FH
- 0119 4F ORL A,R7
- 011A F500 E MOV Data+04H,A
- ; SOURCE LINE # 171
- 011C 850000 E MOV Data+05H,attr
- ; SOURCE LINE # 172
- 011F E4 CLR A
- 0120 F500 E MOV Data+06H,A
- ; SOURCE LINE # 173
- 0122 7F00 E MOV R7,#LOW Data
- 0124 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 175
- 0127 ?C0038:
- 0127 22 RET
- ; FUNCTION _OSD_Window (END)
- ; FUNCTION _OSD_Fact_Line (BEGIN)
- ; SOURCE LINE # 180
- 0000 8B00 R MOV length,R3
- ;---- Variable 'col' assigned to Register 'R5' ----
- ;---- Variable 'row' assigned to Register 'R1' ----
- ; SOURCE LINE # 182
- ; SOURCE LINE # 186
- 0002 7800 R MOV R0,#LOW usStart_Addr
- ; SOURCE LINE # 189
- 0004 120000 R LCALL L?1114
- 0007 ?C0039:
- 0007 7800 R MOV R0,#LOW ucTemp
- 0009 120000 R LCALL L?1090
- 000C 500F JNC ?C0040
- ; SOURCE LINE # 190
- 000E EC MOV A,R4
- 000F 900000 E MOV DPTR,#FactRow_Info
- 0012 93 MOVC A,@A+DPTR
- 0013 7800 R MOV R0,#LOW usStart_Addr+01H
- 0015 120000 R LCALL L?1108
- 0018 7800 R MOV R0,#LOW ucTemp
- 001A 06 INC @R0
- 001B 80EA SJMP ?C0039
- 001D ?C0040:
- ; SOURCE LINE # 192
- ; SOURCE LINE # 193
- ; SOURCE LINE # 194
- 001D 120000 R LCALL L?1068
- ; SOURCE LINE # 196
- 0020 900000 E MOV DPTR,#FactRow_Info+01H
- 0023 120000 R LCALL L?1125
- 0026 5049 JNC ?C0043
- 0028 ?C0042:
- ; SOURCE LINE # 198
- 0028 ED MOV A,R5
- 0029 2401 ADD A,#01H
- 002B FB MOV R3,A
- 002C E4 CLR A
- 002D 33 RLC A
- 002E FA MOV R2,A
- 002F E500 R MOV A,length
- 0031 120000 R LCALL L?1146
- 0034 4008 JC ?C0044
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 100
- ; SOURCE LINE # 199
- 0036 E9 MOV A,R1
- 0037 900000 E MOV DPTR,#FactRow_Info+01H
- 003A 93 MOVC A,@A+DPTR
- 003B 9D SUBB A,R5
- 003C F500 R MOV length,A
- 003E ?C0044:
- ; SOURCE LINE # 202
- 003E 7800 R MOV R0,#LOW usStart_Addr+01H
- 0040 120000 R LCALL L?1163
- 0043 FF MOV R7,A
- 0044 E500 R MOV A,indicate
- ; SOURCE LINE # 203
- ; SOURCE LINE # 204
- ; SOURCE LINE # 205
- 0046 120000 R LCALL L?1073
- 0049 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 207
- 004C E500 R MOV A,indicate
- 004E B40308 CJNE A,#03H,?C0046
- 0051 E500 R MOV A,length
- 0053 75F003 MOV B,#03H
- 0056 A4 MUL AB
- 0057 8002 SJMP ?C0901
- 0059 ?C0046:
- 0059 E500 R MOV A,length
- 005B ?C0901:
- 005B 2403 ADD A,#03H
- 005D FF MOV R7,A
- 005E ?C0047:
- 005E 8F00 E MOV Data,R7
- ; SOURCE LINE # 208
- 0060 750002 E MOV Data+01H,#02H
- ; SOURCE LINE # 209
- 0063 750092 E MOV Data+02H,#092H
- ; SOURCE LINE # 210
- 0066 850000 E MOV Data+03H,value
- ; SOURCE LINE # 211
- 0069 E4 CLR A
- 006A F500 E MOV Data+04H,A
- ; SOURCE LINE # 212
- 006C 7F00 E MOV R7,#LOW Data
- 006E 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 214
- 0071 ?C0043:
- 0071 22 RET
- ; FUNCTION _OSD_Fact_Line (END)
- ; FUNCTION _OSD_Fact_Clear (BEGIN)
- ; SOURCE LINE # 216
- 0000 8F00 R MOV row_start,R7
- 0002 8D00 R MOV height,R5
- 0004 8B00 R MOV col_start,R3
- ; SOURCE LINE # 217
- ; SOURCE LINE # 218
- 0006 850000 R MOV width,width
- ; SOURCE LINE # 219
- 0009 E500 R MOV A,height
- 000B 6019 JZ ?C0052
- ; SOURCE LINE # 220
- 000D ?C0051:
- ; SOURCE LINE # 222
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 101
- ; SOURCE LINE # 223
- 000D E500 R MOV A,row_start
- 000F 900000 E MOV DPTR,#FactRow_Info+01H
- 0012 93 MOVC A,@A+DPTR
- 0013 FB MOV R3,A
- 0014 E4 CLR A
- 0015 F500 R MOV ?_OSD_Fact_Line?BYTE+03H,A
- 0017 750003 R MOV ?_OSD_Fact_Line?BYTE+04H,#03H
- 001A AD00 R MOV R5,col_start
- 001C AF00 R MOV R7,row_start
- 001E 120000 R LCALL _OSD_Fact_Line
- ; SOURCE LINE # 225
- 0021 0500 R INC row_start
- ; SOURCE LINE # 226
- ; SOURCE LINE # 227
- 0023 D500E7 R DJNZ height,?C0051
- ; SOURCE LINE # 228
- ; SOURCE LINE # 229
- 0026 ?C0052:
- 0026 22 RET
- ; FUNCTION _OSD_Fact_Clear (END)
- ; FUNCTION _ShowValue (BEGIN)
- ; SOURCE LINE # 231
- 0000 8D00 R MOV col,R5
- ;---- Variable 'row' assigned to Register 'R7' ----
- ;---- Variable 'value' assigned to Register 'R3' ----
- ; SOURCE LINE # 232
- ; SOURCE LINE # 236
- 0002 7800 R MOV R0,#LOW usStart_Addr
- ; SOURCE LINE # 239
- 0004 120000 R LCALL L?1115
- 0007 ?C0053:
- 0007 EF MOV A,R7
- 0008 2401 ADD A,#01H
- 000A FD MOV R5,A
- 000B E4 CLR A
- 000C 33 RLC A
- 000D FC MOV R4,A
- 000E 7800 R MOV R0,#LOW ucTemp
- 0010 E6 MOV A,@R0
- 0011 F9 MOV R1,A
- 0012 C3 CLR C
- 0013 9D SUBB A,R5
- 0014 EC MOV A,R4
- 0015 120000 R LCALL L?1092
- 0018 500F JNC ?C0054
- ; SOURCE LINE # 240
- 001A E9 MOV A,R1
- 001B 900000 E MOV DPTR,#FactRow_Info
- 001E 93 MOVC A,@A+DPTR
- 001F 7800 R MOV R0,#LOW usStart_Addr+01H
- 0021 120000 R LCALL L?1108
- 0024 7800 R MOV R0,#LOW ucTemp
- 0026 06 INC @R0
- 0027 80DE SJMP ?C0053
- 0029 ?C0054:
- ; SOURCE LINE # 242
- 0029 EB MOV A,R3
- 002A 75F064 MOV B,#064H
- 002D 84 DIV AB
- 002E F500 E MOV Data+0AH,A
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 102
- ; SOURCE LINE # 243
- 0030 75F064 MOV B,#064H
- 0033 A4 MUL AB
- 0034 FF MOV R7,A
- 0035 C3 CLR C
- 0036 EB MOV A,R3
- 0037 9F SUBB A,R7
- 0038 75F00A MOV B,#0AH
- 003B 84 DIV AB
- 003C F500 E MOV Data+0BH,A
- ; SOURCE LINE # 244
- 003E E500 E MOV A,Data+0AH
- 0040 75F064 MOV B,#064H
- 0043 A4 MUL AB
- 0044 FF MOV R7,A
- 0045 C3 CLR C
- 0046 EB MOV A,R3
- 0047 9F SUBB A,R7
- 0048 FF MOV R7,A
- 0049 E500 E MOV A,Data+0BH
- 004B 75F00A MOV B,#0AH
- 004E A4 MUL AB
- 004F FE MOV R6,A
- 0050 C3 CLR C
- 0051 EF MOV A,R7
- 0052 9E SUBB A,R6
- 0053 F500 E MOV Data+0CH,A
- ; SOURCE LINE # 245
- 0055 E500 E MOV A,Data+0AH
- 0057 6006 JZ ?C0056
- ; SOURCE LINE # 246
- ; SOURCE LINE # 247
- 0059 0500 E INC Data+0AH
- ; SOURCE LINE # 248
- 005B 0500 E INC Data+0BH
- ; SOURCE LINE # 249
- 005D 8006 SJMP ?C0057
- 005F ?C0056:
- ; SOURCE LINE # 251
- ; SOURCE LINE # 252
- 005F E500 E MOV A,Data+0BH
- 0061 6002 JZ ?C0057
- 0063 0500 E INC Data+0BH
- ; SOURCE LINE # 253
- 0065 ?C0057:
- ; SOURCE LINE # 254
- 0065 0500 E INC Data+0CH
- ; SOURCE LINE # 256
- ; SOURCE LINE # 257
- ; SOURCE LINE # 258
- 0067 120000 R LCALL L?1068
- ; SOURCE LINE # 259
- 006A E500 R MOV A,col
- 006C 7800 R MOV R0,#LOW usStart_Addr+01H
- ; SOURCE LINE # 260
- 006E 120000 R LCALL L?1126
- 0071 2500 R ADD A,col
- ; SOURCE LINE # 261
- ; SOURCE LINE # 262
- 0073 120000 R LCALL L?1074
- 0076 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 263
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 103
- ; SOURCE LINE # 264
- ; SOURCE LINE # 265
- 0079 120000 R LCALL L?1082
- ; SOURCE LINE # 266
- 007C 850000 E MOV Data+03H,Data+0AH
- ; SOURCE LINE # 267
- 007F 850000 E MOV Data+04H,Data+0BH
- ; SOURCE LINE # 268
- 0082 850000 E MOV Data+05H,Data+0CH
- ; SOURCE LINE # 269
- 0085 E4 CLR A
- 0086 F500 E MOV Data+06H,A
- ; SOURCE LINE # 270
- 0088 7F00 E MOV R7,#LOW Data
- 008A 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 272
- ; SOURCE LINE # 273
- ; SOURCE LINE # 274
- 008D 120000 R LCALL L?1068
- ; SOURCE LINE # 275
- 0090 E500 R MOV A,col
- 0092 7800 R MOV R0,#LOW usStart_Addr+01H
- 0094 120000 R LCALL L?1164
- 0097 4490 ORL A,#090H
- 0099 F500 E MOV Data+03H,A
- ; SOURCE LINE # 276
- 009B 08 INC R0
- 009C E6 MOV A,@R0
- 009D 2500 R ADD A,col
- ; SOURCE LINE # 277
- ; SOURCE LINE # 278
- 009F 120000 R LCALL L?1074
- 00A2 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 279
- ; SOURCE LINE # 280
- ; SOURCE LINE # 281
- 00A5 120000 R LCALL L?1082
- ; SOURCE LINE # 282
- 00A8 850000 E MOV Data+03H,color
- ; SOURCE LINE # 283
- 00AB 850000 E MOV Data+04H,color
- ; SOURCE LINE # 284
- 00AE 850000 E MOV Data+05H,color
- ; SOURCE LINE # 285
- 00B1 E4 CLR A
- 00B2 F500 E MOV Data+06H,A
- ; SOURCE LINE # 286
- 00B4 7F00 E MOV R7,#LOW Data
- 00B6 020000 E LJMP _RTDWrite
- ; FUNCTION _ShowValue (END)
- ; FUNCTION _Value_Adjust (BEGIN)
- ; SOURCE LINE # 289
- ;---- Variable 'Var' assigned to Register 'R1/R2/R3' ----
- ;---- Variable 'Key' assigned to Register 'R5' ----
- ; SOURCE LINE # 290
- ; SOURCE LINE # 291
- 0000 ED MOV A,R5
- 0001 6404 XRL A,#04H
- 0003 702C JNZ ?C0060
- ; SOURCE LINE # 292
- ; SOURCE LINE # 293
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 104
- 0005 300017 E JNB bKeyTurbo,?C0061
- ; SOURCE LINE # 294
- 0008 120000 E LCALL ?C?CLDPTR
- 000B FF MOV R7,A
- 000C E500 R MOV A,VMax
- 000E 14 DEC A
- 000F FE MOV R6,A
- 0010 EF MOV A,R7
- 0011 C3 CLR C
- 0012 9E SUBB A,R6
- 0013 5006 JNC ?C0062
- 0015 EF MOV A,R7
- 0016 2402 ADD A,#02H
- 0018 FF MOV R7,A
- 0019 804A SJMP ?C0904
- 001B ?C0062:
- 001B AF00 R MOV R7,VMax
- 001D ?C0063:
- 001D 8046 SJMP ?C0904
- 001F ?C0061:
- ; SOURCE LINE # 296
- 001F 120000 E LCALL ?C?CLDPTR
- 0022 FF MOV R7,A
- 0023 C3 CLR C
- 0024 9500 R SUBB A,VMax
- 0026 5005 JNC ?C0065
- 0028 EF MOV A,R7
- 0029 04 INC A
- 002A FF MOV R7,A
- 002B 8002 SJMP ?C0066
- 002D ?C0065:
- 002D AF00 R MOV R7,VMax
- 002F ?C0066:
- 002F ?C0902:
- ; SOURCE LINE # 297
- 002F 8034 SJMP ?C0904
- 0031 ?C0060:
- ; SOURCE LINE # 299
- ; SOURCE LINE # 300
- 0031 300021 E JNB bKeyTurbo,?C0068
- ; SOURCE LINE # 301
- 0034 120000 E LCALL ?C?CLDPTR
- 0037 FF MOV R7,A
- 0038 E500 R MOV A,VMin
- 003A 2401 ADD A,#01H
- 003C FD MOV R5,A
- 003D E4 CLR A
- 003E 33 RLC A
- 003F FC MOV R4,A
- 0040 D3 SETB C
- 0041 EF MOV A,R7
- 0042 9D SUBB A,R5
- 0043 EC MOV A,R4
- 0044 120000 R LCALL L?1092
- 0047 4008 JC ?C0069
- 0049 120000 E LCALL ?C?CLDPTR
- 004C 24FE ADD A,#0FEH
- 004E FF MOV R7,A
- 004F 8002 SJMP ?C0070
- 0051 ?C0069:
- 0051 AF00 R MOV R7,VMin
- 0053 ?C0070:
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 105
- 0053 ?C0903:
- 0053 8010 SJMP ?C0904
- 0055 ?C0068:
- ; SOURCE LINE # 303
- 0055 120000 E LCALL ?C?CLDPTR
- 0058 FF MOV R7,A
- 0059 D3 SETB C
- 005A 9500 R SUBB A,VMin
- 005C 4005 JC ?C0072
- 005E EF MOV A,R7
- 005F 14 DEC A
- 0060 FF MOV R7,A
- 0061 8002 SJMP ?C0073
- 0063 ?C0072:
- 0063 AF00 R MOV R7,VMin
- 0065 ?C0073:
- 0065 ?C0904:
- 0065 EF MOV A,R7
- 0066 120000 E LCALL ?C?CSTPTR
- ; SOURCE LINE # 304
- ; SOURCE LINE # 305
- 0069 ?C0074:
- 0069 22 RET
- ; FUNCTION _Value_Adjust (END)
- ; FUNCTION _SPREAD_Adjust (BEGIN)
- ; SOURCE LINE # 307
- ;---- Variable 'variable' assigned to Register 'R1/R2/R3' ----
- ;---- Variable 'Key' assigned to Register 'R5' ----
- ; SOURCE LINE # 308
- ; SOURCE LINE # 309
- 0000 ED MOV A,R5
- 0001 6404 XRL A,#04H
- 0003 7030 JNZ ?C0075
- ; SOURCE LINE # 310
- ; SOURCE LINE # 311
- 0005 120000 E LCALL ?C?CLDPTR
- 0008 FF MOV R7,A
- 0009 740F MOV A,#0FH
- 000B D3 SETB C
- 000C 9F SUBB A,R7
- 000D 4053 JC ?C0077
- 000F ?C0076:
- ; SOURCE LINE # 314
- 000F 20000F E JB bKeyTurbo,?C0078
- ; SOURCE LINE # 315
- 0012 740F MOV A,#0FH
- 0014 D3 SETB C
- 0015 9F SUBB A,R7
- 0016 4005 JC ?C0079
- 0018 EF MOV A,R7
- 0019 04 INC A
- 001A FF MOV R7,A
- 001B 8041 SJMP ?C0907
- 001D ?C0079:
- 001D 7F0F MOV R7,#0FH
- 001F ?C0080:
- 001F 803D SJMP ?C0907
- 0021 ?C0078:
- ; SOURCE LINE # 317
- 0021 120000 E LCALL ?C?CLDPTR
- 0024 FF MOV R7,A
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 106
- 0025 740E MOV A,#0EH
- 0027 D3 SETB C
- 0028 9F SUBB A,R7
- 0029 4006 JC ?C0082
- 002B EF MOV A,R7
- 002C 2402 ADD A,#02H
- 002E FF MOV R7,A
- 002F 8002 SJMP ?C0083
- 0031 ?C0082:
- 0031 7F0F MOV R7,#0FH
- 0033 ?C0083:
- 0033 ?C0905:
- ; SOURCE LINE # 318
- 0033 8029 SJMP ?C0907
- 0035 ?C0075:
- ; SOURCE LINE # 320
- ; SOURCE LINE # 321
- 0035 120000 E LCALL ?C?CLDPTR
- 0038 FF MOV R7,A
- 0039 6027 JZ ?C0077
- 003B ?C0085:
- ; SOURCE LINE # 324
- 003B 20000E E JB bKeyTurbo,?C0086
- ; SOURCE LINE # 325
- 003E E4 CLR A
- 003F C3 CLR C
- 0040 9F SUBB A,R7
- 0041 5005 JNC ?C0087
- 0043 EF MOV A,R7
- 0044 14 DEC A
- 0045 FF MOV R7,A
- 0046 8002 SJMP ?C0088
- 0048 ?C0087:
- 0048 7F00 MOV R7,#00H
- 004A ?C0088:
- 004A ?C0906:
- 004A 8012 SJMP ?C0907
- 004C ?C0086:
- ; SOURCE LINE # 327
- 004C 120000 E LCALL ?C?CLDPTR
- 004F FF MOV R7,A
- 0050 7401 MOV A,#01H
- 0052 C3 CLR C
- 0053 9F SUBB A,R7
- 0054 5006 JNC ?C0090
- 0056 EF MOV A,R7
- 0057 24FE ADD A,#0FEH
- 0059 FF MOV R7,A
- 005A 8002 SJMP ?C0091
- 005C ?C0090:
- 005C 7F00 MOV R7,#00H
- 005E ?C0091:
- 005E ?C0907:
- 005E EF MOV A,R7
- 005F 120000 E LCALL ?C?CSTPTR
- ; SOURCE LINE # 328
- ; SOURCE LINE # 329
- 0062 ?C0077:
- 0062 22 RET
- ; FUNCTION _SPREAD_Adjust (END)
- ; FUNCTION Get_OSD_Margin (BEGIN)
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 107
- ; SOURCE LINE # 335
- ; SOURCE LINE # 336
- ; SOURCE LINE # 347
- 0000 7F29 MOV R7,#029H
- ; SOURCE LINE # 348
- ; SOURCE LINE # 349
- 0002 120000 R LCALL L?1150
- ; SOURCE LINE # 352
- 0005 E4 CLR A
- 0006 2500 E ADD A,Data+03H
- 0008 120000 R LCALL L?1181
- 000B ?C0889:
- 000B CE XCH A,R6
- 000C C3 CLR C
- 000D 13 RRC A
- 000E CE XCH A,R6
- 000F 13 RRC A
- 0010 D8F9 DJNZ R0,?C0889
- 0012 04 INC A
- 0013 F500 R MOV ucH_Max,A
- ; SOURCE LINE # 353
- 0015 750009 R MOV ucH_Min,#09H
- ; SOURCE LINE # 356
- 0018 7F34 MOV R7,#034H
- ; SOURCE LINE # 357
- ; SOURCE LINE # 358
- 001A 120000 R LCALL L?1150
- ; SOURCE LINE # 360
- 001D E500 E MOV A,Data+03H
- 001F 24EC ADD A,#0ECH
- 0021 120000 R LCALL L?1181
- 0024 ?C0890:
- 0024 CE XCH A,R6
- 0025 C3 CLR C
- 0026 13 RRC A
- 0027 CE XCH A,R6
- 0028 13 RRC A
- 0029 D8F9 DJNZ R0,?C0890
- ;---- Variable 'ucV_Max' assigned to Register 'R7' ----
- ; SOURCE LINE # 362
- 002B 850000 E MOV Data,ucH_Min
- ; SOURCE LINE # 363
- 002E 850000 E MOV Data+01H,ucH_Max
- ; SOURCE LINE # 364
- 0031 750003 E MOV Data+02H,#03H
- ; SOURCE LINE # 365
- 0034 F500 E MOV Data+03H,A
- ; SOURCE LINE # 367
- 0036 22 RET
- 0037 L?1150:
- 0037 E4 CLR A
- 0038 FB MOV R3,A
- 0039 7D02 MOV R5,#02H
- 003B 120000 E LCALL _RTDRead
- 003E E500 E MOV A,Data+01H
- 0040 5407 ANL A,#07H
- 0042 F500 E MOV Data+02H,A
- 0044 850000 E MOV Data+03H,Data
- 0047 22 RET
- ; FUNCTION Get_OSD_Margin (END)
- ; FUNCTION _OSD_Position (BEGIN)
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 108
- ; SOURCE LINE # 377
- 0000 8F00 R MOV para,R7
- ; SOURCE LINE # 378
- ; SOURCE LINE # 379
- 0002 120000 R LCALL Get_OSD_Margin
- ; SOURCE LINE # 381
- 0005 D3 SETB C
- 0006 E500 E MOV A,Data
- 0008 9500 E SUBB A,stGUD1+04H
- 000A E4 CLR A
- 000B 9500 E SUBB A,stGUD1+03H
- 000D 5018 JNC ?C0094
- 000F C3 CLR C
- 0010 E500 E MOV A,Data+01H
- 0012 9500 E SUBB A,stGUD1+04H
- 0014 E4 CLR A
- 0015 9500 E SUBB A,stGUD1+03H
- 0017 400E JC ?C0094
- 0019 E500 E MOV A,Data+02H
- 001B D3 SETB C
- 001C 9500 E SUBB A,stGUD1+05H
- 001E 5007 JNC ?C0094
- 0020 E500 E MOV A,Data+03H
- 0022 C3 CLR C
- 0023 9500 E SUBB A,stGUD1+05H
- 0025 500C JNC ?C0093
- 0027 ?C0094:
- ; SOURCE LINE # 383
- ; SOURCE LINE # 384
- 0027 750060 E MOV stGUD1+05H,#060H
- ; SOURCE LINE # 385
- 002A 750000 E MOV stGUD1+03H,#00H
- 002D 750065 E MOV stGUD1+04H,#065H
- ; SOURCE LINE # 386
- 0030 120000 E LCALL Save_GUD1
- ; SOURCE LINE # 387
- 0033 ?C0093:
- ; SOURCE LINE # 389
- 0033 7800 R MOV R0,#LOW ucOSD_Page_Index
- 0035 E6 MOV A,@R0
- 0036 B40F09 CJNE A,#0FH,?C0095
- ; SOURCE LINE # 390
- ; SOURCE LINE # 391
- 0039 750000 E MOV stGUD1+03H,#00H
- 003C 7500E6 E MOV stGUD1+04H,#0E6H
- ; SOURCE LINE # 392
- 003F 750064 E MOV stGUD1+05H,#064H
- ; SOURCE LINE # 393
- 0042 ?C0095:
- ; SOURCE LINE # 395
- 0042 7F20 MOV R7,#020H
- 0044 120000 E LCALL _Wait_For_Event
- ; SOURCE LINE # 397
- ; SOURCE LINE # 398
- ; SOURCE LINE # 399
- 0047 120000 R LCALL L?1068
- ; SOURCE LINE # 400
- 004A 7500C0 E MOV Data+03H,#0C0H
- ; SOURCE LINE # 401
- 004D F500 E MOV Data+04H,A
- ; SOURCE LINE # 402
- 004F 750006 E MOV Data+05H,#06H
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 109
- ; SOURCE LINE # 403
- 0052 750001 E MOV Data+06H,#01H
- ; SOURCE LINE # 404
- 0055 750092 E MOV Data+07H,#092H
- ; SOURCE LINE # 405
- 0058 E500 E MOV A,stGUD1+05H
- 005A C3 CLR C
- 005B 13 RRC A
- 005C F500 E MOV Data+08H,A
- ; SOURCE LINE # 406
- 005E E500 E MOV A,stGUD1+04H
- 0060 AE00 E MOV R6,stGUD1+03H
- 0062 7802 MOV R0,#02H
- 0064 ?C0891:
- 0064 CE XCH A,R6
- 0065 C3 CLR C
- 0066 13 RRC A
- 0067 CE XCH A,R6
- 0068 13 RRC A
- 0069 D8F9 DJNZ R0,?C0891
- 006B F500 E MOV Data+09H,A
- ; SOURCE LINE # 407
- 006D E500 E MOV A,stGUD1+04H
- 006F 5403 ANL A,#03H
- 0071 C4 SWAP A
- 0072 33 RLC A
- 0073 33 RLC A
- 0074 54C0 ANL A,#0C0H
- 0076 FF MOV R7,A
- 0077 E500 E MOV A,stGUD1+05H
- 0079 5401 ANL A,#01H
- 007B FE MOV R6,A
- 007C C4 SWAP A
- 007D 33 RLC A
- 007E 54E0 ANL A,#0E0H
- 0080 4F ORL A,R7
- 0081 4500 R ORL A,para
- 0083 F500 E MOV Data+0AH,A
- ; SOURCE LINE # 409
- 0085 E4 CLR A
- 0086 F500 E MOV Data+0BH,A
- ; SOURCE LINE # 410
- 0088 7F00 E MOV R7,#LOW Data
- 008A 020000 E LJMP _RTDWrite
- ; FUNCTION _OSD_Position (END)
- ; FUNCTION _OSD_Line (BEGIN)
- ; SOURCE LINE # 414
- 0000 8B00 R MOV length,R3
- ;---- Variable 'col' assigned to Register 'R5' ----
- ;---- Variable 'row' assigned to Register 'R1' ----
- ; SOURCE LINE # 416
- ; SOURCE LINE # 420
- 0002 7800 R MOV R0,#LOW usStart_Addr
- ; SOURCE LINE # 423
- 0004 120000 R LCALL L?1114
- 0007 ?C0097:
- 0007 7800 R MOV R0,#LOW ucTemp
- 0009 120000 R LCALL L?1090
- 000C 500B JNC ?C0098
- ; SOURCE LINE # 424
- 000E EC MOV A,R4
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 110
- 000F 7800 R MOV R0,#LOW usStart_Addr+01H
- 0011 120000 R LCALL L?1107
- 0014 7800 R MOV R0,#LOW ucTemp
- 0016 06 INC @R0
- 0017 80EE SJMP ?C0097
- 0019 ?C0098:
- ; SOURCE LINE # 426
- ; SOURCE LINE # 427
- ; SOURCE LINE # 428
- 0019 120000 R LCALL L?1068
- ; SOURCE LINE # 430
- 001C 900000 E MOV DPTR,#Row_Info+01H
- 001F 120000 R LCALL L?1125
- 0022 5049 JNC ?C0101
- 0024 ?C0100:
- ; SOURCE LINE # 432
- 0024 ED MOV A,R5
- 0025 2401 ADD A,#01H
- 0027 FB MOV R3,A
- 0028 E4 CLR A
- 0029 33 RLC A
- 002A FA MOV R2,A
- 002B E500 R MOV A,length
- 002D 120000 R LCALL L?1146
- 0030 4008 JC ?C0102
- ; SOURCE LINE # 433
- 0032 E9 MOV A,R1
- 0033 900000 E MOV DPTR,#Row_Info+01H
- 0036 93 MOVC A,@A+DPTR
- 0037 9D SUBB A,R5
- 0038 F500 R MOV length,A
- 003A ?C0102:
- ; SOURCE LINE # 436
- 003A 7800 R MOV R0,#LOW usStart_Addr+01H
- 003C 120000 R LCALL L?1163
- 003F FF MOV R7,A
- 0040 E500 R MOV A,indicate
- ; SOURCE LINE # 437
- ; SOURCE LINE # 438
- ; SOURCE LINE # 439
- 0042 120000 R LCALL L?1073
- 0045 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 441
- 0048 E500 R MOV A,indicate
- 004A B40308 CJNE A,#03H,?C0104
- 004D E500 R MOV A,length
- 004F 75F003 MOV B,#03H
- 0052 A4 MUL AB
- 0053 8002 SJMP ?C0908
- 0055 ?C0104:
- 0055 E500 R MOV A,length
- 0057 ?C0908:
- 0057 2403 ADD A,#03H
- 0059 FF MOV R7,A
- 005A ?C0105:
- 005A 8F00 E MOV Data,R7
- ; SOURCE LINE # 442
- 005C 750002 E MOV Data+01H,#02H
- ; SOURCE LINE # 443
- 005F 750092 E MOV Data+02H,#092H
- ; SOURCE LINE # 444
- 0062 850000 E MOV Data+03H,value
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 111
- ; SOURCE LINE # 445
- 0065 E4 CLR A
- 0066 F500 E MOV Data+04H,A
- ; SOURCE LINE # 446
- 0068 7F00 E MOV R7,#LOW Data
- 006A 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 448
- 006D ?C0101:
- 006D 22 RET
- ; FUNCTION _OSD_Line (END)
- ; FUNCTION _OSD_Slider (BEGIN)
- ; SOURCE LINE # 451
- 0000 8F00 R MOV row,R7
- 0002 8D00 R MOV col,R5
- 0004 8B00 R MOV length,R3
- ; SOURCE LINE # 453
- ; SOURCE LINE # 458
- 0006 7800 R MOV R0,#LOW usStart_Addr
- ; SOURCE LINE # 460
- 0008 120000 R LCALL L?1115
- 000B ?C0106:
- 000B E500 R MOV A,row
- 000D 120000 R LCALL L?1182
- 0010 7800 R MOV R0,#LOW ucTemp
- 0012 E6 MOV A,@R0
- 0013 FD MOV R5,A
- 0014 120000 R LCALL L?1091
- 0017 500B JNC ?C0107
- ; SOURCE LINE # 461
- 0019 ED MOV A,R5
- 001A 7800 R MOV R0,#LOW usStart_Addr+01H
- 001C 120000 R LCALL L?1107
- 001F 7800 R MOV R0,#LOW ucTemp
- 0021 06 INC @R0
- 0022 80E7 SJMP ?C0106
- 0024 ?C0107:
- ; SOURCE LINE # 463
- 0024 74FB MOV A,#0FBH
- 0026 2500 R ADD A,length
- 0028 F500 R MOV length,A
- ; SOURCE LINE # 464
- 002A FF MOV R7,A
- 002B 7E00 MOV R6,#00H
- 002D 7C00 MOV R4,#00H
- 002F 7D06 MOV R5,#06H
- 0031 120000 E LCALL ?C?IMUL
- 0034 EF MOV A,R7
- 0035 24FA ADD A,#0FAH
- 0037 FF MOV R7,A
- 0038 EE MOV A,R6
- 0039 34FF ADDC A,#0FFH
- 003B FE MOV R6,A
- 003C AD00 R MOV R5,value
- 003E 120000 E LCALL ?C?IMUL
- 0041 8E00 R MOV bound,R6
- 0043 8F00 R MOV bound+01H,R7
- ; SOURCE LINE # 467
- 0045 750006 E MOV Data,#06H
- ; SOURCE LINE # 468
- ; SOURCE LINE # 469
- 0048 120000 R LCALL L?1069
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 112
- ; SOURCE LINE # 470
- 004B E500 R MOV A,col
- 004D 7800 R MOV R0,#LOW usStart_Addr+01H
- 004F 120000 R LCALL L?1164
- 0052 4490 ORL A,#090H
- 0054 F500 E MOV Data+03H,A
- ; SOURCE LINE # 471
- 0056 08 INC R0
- 0057 E6 MOV A,@R0
- 0058 2500 R ADD A,col
- 005A F500 E MOV Data+04H,A
- ; SOURCE LINE # 472
- 005C E500 R MOV A,color
- 005E C4 SWAP A
- 005F 54F0 ANL A,#0F0H
- 0061 F500 E MOV Data+05H,A
- ; SOURCE LINE # 473
- 0063 E4 CLR A
- 0064 F500 E MOV Data+06H,A
- ; SOURCE LINE # 474
- 0066 7F00 E MOV R7,#LOW Data
- 0068 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 476
- 006B 750005 E MOV Data,#05H
- ; SOURCE LINE # 477
- ; SOURCE LINE # 478
- 006E 120000 R LCALL L?1083
- ; SOURCE LINE # 479
- 0071 E500 R MOV A,color
- 0073 C4 SWAP A
- 0074 54F0 ANL A,#0F0H
- 0076 F500 E MOV Data+03H,A
- ; SOURCE LINE # 480
- ; SOURCE LINE # 481
- ; SOURCE LINE # 482
- 0078 120000 R LCALL L?1074
- 007B 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 484
- 007E E500 R MOV A,col
- 0080 2405 ADD A,#05H
- 0082 FD MOV R5,A
- 0083 E500 R MOV A,color_slider
- 0085 C4 SWAP A
- 0086 54F0 ANL A,#0F0H
- 0088 F500 R MOV ?_OSD_Line?BYTE+03H,A
- 008A 750002 R MOV ?_OSD_Line?BYTE+04H,#02H
- 008D 7B0C MOV R3,#0CH
- 008F AF00 R MOV R7,row
- 0091 120000 R LCALL _OSD_Line
- ; SOURCE LINE # 485
- 0094 750006 E MOV Data,#06H
- ; SOURCE LINE # 486
- ; SOURCE LINE # 487
- 0097 120000 R LCALL L?1069
- ; SOURCE LINE # 489
- 009A F500 E MOV Data+06H,A
- ; SOURCE LINE # 491
- 009C F500 R MOV row,A
- 009E ?C0109:
- 009E E500 R MOV A,row
- 00A0 C3 CLR C
- 00A1 9500 R SUBB A,length
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 113
- 00A3 4003 JC $ + 5H
- 00A5 020000 R LJMP ?C0110
- ; SOURCE LINE # 492
- ; SOURCE LINE # 493
- 00A8 E500 R MOV A,col
- 00AA 7800 R MOV R0,#LOW usStart_Addr+01H
- 00AC 26 ADD A,@R0
- 00AD FF MOV R7,A
- 00AE E4 CLR A
- 00AF 18 DEC R0
- 00B0 36 ADDC A,@R0
- 00B1 FE MOV R6,A
- 00B2 7C00 MOV R4,#00H
- 00B4 EF MOV A,R7
- 00B5 2500 R ADD A,row
- 00B7 FF MOV R7,A
- 00B8 EC MOV A,R4
- 00B9 3E ADDC A,R6
- 00BA CF XCH A,R7
- 00BB 2405 ADD A,#05H
- 00BD CF XCH A,R7
- 00BE 3400 ADDC A,#00H
- ; SOURCE LINE # 494
- 00C0 120000 R LCALL L?1128
- 00C3 2500 R ADD A,col
- 00C5 2500 R ADD A,row
- 00C7 2405 ADD A,#05H
- 00C9 F500 E MOV Data+04H,A
- ; SOURCE LINE # 496
- 00CB E500 R MOV A,row
- 00CD 600A JZ ?C0113
- 00CF E500 R MOV A,length
- 00D1 14 DEC A
- 00D2 6500 R XRL A,row
- 00D4 6003 JZ $ + 5H
- 00D6 020000 R LJMP ?C0112
- 00D9 ?C0113:
- ; SOURCE LINE # 497
- ; SOURCE LINE # 498
- 00D9 E500 R MOV A,bound+01H
- 00DB 4500 R ORL A,bound
- 00DD 606F JZ ?C0114
- ; SOURCE LINE # 499
- ; SOURCE LINE # 500
- 00DF 75F003 MOV B,#03H
- 00E2 120000 R LCALL L?1165
- 00E5 4010 JC ?C0115
- ; SOURCE LINE # 501
- ; SOURCE LINE # 502
- 00E7 E500 R MOV A,row
- 00E9 7004 JNZ ?C0116
- 00EB 7D13 MOV R5,#013H
- 00ED 8002 SJMP ?C0117
- 00EF ?C0116:
- 00EF 7D1E MOV R5,#01EH
- 00F1 ?C0117:
- 00F1 8D00 E MOV Data+05H,R5
- ; SOURCE LINE # 503
- 00F3 C3 CLR C
- ; SOURCE LINE # 504
- 00F4 020000 R LJMP ?C0909
- 00F7 ?C0115:
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 114
- ; SOURCE LINE # 506
- ; SOURCE LINE # 507
- 00F7 75F003 MOV B,#03H
- ; SOURCE LINE # 508
- 00FA 120000 R LCALL L?1097
- ; SOURCE LINE # 510
- 00FD 7404 MOV A,#04H
- 00FF D3 SETB C
- 0100 9500 R SUBB A,color
- 0102 400F JC ?C0119
- ; SOURCE LINE # 511
- 0104 E500 R MOV A,row
- 0106 7004 JNZ ?C0120
- 0108 7F10 MOV R7,#010H
- 010A 8002 SJMP ?C0121
- 010C ?C0120:
- 010C 7F1B MOV R7,#01BH
- 010E ?C0121:
- 010E 8F00 E MOV Data+05H,R7
- 0110 020000 R LJMP ?C0136
- 0113 ?C0119:
- ; SOURCE LINE # 512
- 0113 7408 MOV A,#08H
- 0115 D3 SETB C
- 0116 9500 R SUBB A,color
- 0118 400F JC ?C0123
- ; SOURCE LINE # 513
- 011A E500 R MOV A,row
- 011C 7004 JNZ ?C0124
- 011E 7F11 MOV R7,#011H
- 0120 8002 SJMP ?C0125
- 0122 ?C0124:
- 0122 7F1C MOV R7,#01CH
- 0124 ?C0125:
- 0124 8F00 E MOV Data+05H,R7
- 0126 020000 R LJMP ?C0136
- 0129 ?C0123:
- ; SOURCE LINE # 514
- 0129 740C MOV A,#0CH
- 012B D3 SETB C
- 012C 9500 R SUBB A,color
- 012E 400F JC ?C0127
- ; SOURCE LINE # 515
- 0130 E500 R MOV A,row
- 0132 7004 JNZ ?C0128
- 0134 7F12 MOV R7,#012H
- 0136 8002 SJMP ?C0129
- 0138 ?C0128:
- 0138 7F1D MOV R7,#01DH
- 013A ?C0129:
- 013A 8F00 E MOV Data+05H,R7
- 013C 020000 R LJMP ?C0136
- 013F ?C0127:
- ; SOURCE LINE # 517
- 013F E500 R MOV A,row
- 0141 7004 JNZ ?C0131
- 0143 7F13 MOV R7,#013H
- 0145 8002 SJMP ?C0132
- 0147 ?C0131:
- 0147 7F1E MOV R7,#01EH
- 0149 ?C0132:
- 0149 8F00 E MOV Data+05H,R7
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 115
- ; SOURCE LINE # 518
- ; SOURCE LINE # 519
- 014B 020000 R LJMP ?C0136
- 014E ?C0114:
- ; SOURCE LINE # 521
- ; SOURCE LINE # 522
- 014E E500 R MOV A,row
- 0150 7004 JNZ ?C0134
- 0152 7F10 MOV R7,#010H
- 0154 8002 SJMP ?C0135
- 0156 ?C0134:
- 0156 7F1B MOV R7,#01BH
- 0158 ?C0135:
- 0158 8F00 E MOV Data+05H,R7
- ; SOURCE LINE # 523
- ; SOURCE LINE # 524
- 015A 020000 R LJMP ?C0136
- 015D ?C0112:
- ; SOURCE LINE # 526
- ; SOURCE LINE # 527
- 015D E500 R MOV A,bound+01H
- 015F 4500 R ORL A,bound
- 0161 6066 JZ ?C0137
- ; SOURCE LINE # 528
- ; SOURCE LINE # 529
- 0163 75F006 MOV B,#06H
- 0166 120000 R LCALL L?1165
- 0169 400F JC ?C0138
- ; SOURCE LINE # 530
- ; SOURCE LINE # 531
- 016B 75001A E MOV Data+05H,#01AH
- ; SOURCE LINE # 532
- 016E ?C0909:
- 016E E500 R MOV A,bound+01H
- 0170 9F SUBB A,R7
- 0171 F500 R MOV bound+01H,A
- 0173 E500 R MOV A,bound
- 0175 9E SUBB A,R6
- 0176 F500 R MOV bound,A
- ; SOURCE LINE # 533
- 0178 8052 SJMP ?C0136
- 017A ?C0138:
- ; SOURCE LINE # 535
- ; SOURCE LINE # 536
- 017A 75F006 MOV B,#06H
- ; SOURCE LINE # 537
- 017D 120000 R LCALL L?1097
- ; SOURCE LINE # 539
- 0180 04 INC A
- 0181 D3 SETB C
- 0182 9500 R SUBB A,color
- 0184 4002 JC ?C0140
- ; SOURCE LINE # 540
- 0186 8041 SJMP ?C0910
- 0188 ?C0140:
- ; SOURCE LINE # 541
- 0188 7404 MOV A,#04H
- 018A D3 SETB C
- 018B 9500 R SUBB A,color
- 018D 4005 JC ?C0142
- ; SOURCE LINE # 542
- 018F 750015 E MOV Data+05H,#015H
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 116
- 0192 8038 SJMP ?C0136
- 0194 ?C0142:
- ; SOURCE LINE # 543
- 0194 7406 MOV A,#06H
- 0196 D3 SETB C
- 0197 9500 R SUBB A,color
- 0199 4005 JC ?C0144
- ; SOURCE LINE # 544
- 019B 750016 E MOV Data+05H,#016H
- 019E 802C SJMP ?C0136
- 01A0 ?C0144:
- ; SOURCE LINE # 545
- 01A0 7409 MOV A,#09H
- 01A2 D3 SETB C
- 01A3 9500 R SUBB A,color
- 01A5 4005 JC ?C0146
- ; SOURCE LINE # 546
- 01A7 750017 E MOV Data+05H,#017H
- 01AA 8020 SJMP ?C0136
- 01AC ?C0146:
- ; SOURCE LINE # 547
- 01AC 740B MOV A,#0BH
- 01AE D3 SETB C
- 01AF 9500 R SUBB A,color
- 01B1 4005 JC ?C0148
- ; SOURCE LINE # 548
- 01B3 750018 E MOV Data+05H,#018H
- 01B6 8014 SJMP ?C0136
- 01B8 ?C0148:
- ; SOURCE LINE # 549
- 01B8 740E MOV A,#0EH
- 01BA D3 SETB C
- 01BB 9500 R SUBB A,color
- 01BD 4005 JC ?C0150
- ; SOURCE LINE # 550
- 01BF 750019 E MOV Data+05H,#019H
- 01C2 8008 SJMP ?C0136
- 01C4 ?C0150:
- ; SOURCE LINE # 552
- 01C4 75001A E MOV Data+05H,#01AH
- ; SOURCE LINE # 553
- ; SOURCE LINE # 554
- 01C7 8003 SJMP ?C0136
- 01C9 ?C0137:
- ; SOURCE LINE # 556
- ; SOURCE LINE # 557
- 01C9 ?C0910:
- 01C9 750014 E MOV Data+05H,#014H
- ; SOURCE LINE # 558
- ; SOURCE LINE # 560
- 01CC ?C0136:
- ; SOURCE LINE # 562
- 01CC 7F00 E MOV R7,#LOW Data
- 01CE 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 564
- 01D1 0500 R INC row
- 01D3 020000 R LJMP ?C0109
- 01D6 ?C0110:
- ; SOURCE LINE # 566
- 01D6 E500 R MOV A,value
- 01D8 75F00A MOV B,#0AH
- 01DB 84 DIV AB
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 117
- 01DC F500 R MOV range,A
- ; SOURCE LINE # 567
- 01DE 120000 R LCALL L?1151
- 01E1 E500 R MOV A,value
- 01E3 9F SUBB A,R7
- 01E4 F500 R MOV row,A
- ; SOURCE LINE # 568
- 01E6 E500 R MOV A,range
- 01E8 75F00A MOV B,#0AH
- 01EB 84 DIV AB
- 01EC F500 R MOV color,A
- ; SOURCE LINE # 569
- 01EE 120000 R LCALL L?1151
- 01F1 E500 R MOV A,range
- 01F3 9F SUBB A,R7
- 01F4 F500 R MOV range,A
- ; SOURCE LINE # 571
- 01F6 0500 R INC row
- ; SOURCE LINE # 572
- 01F8 7004 JNZ ?C0155
- 01FA E500 R MOV A,color
- 01FC 6006 JZ ?C0153
- 01FE ?C0155:
- 01FE E500 R MOV A,range
- 0200 04 INC A
- 0201 FF MOV R7,A
- 0202 8002 SJMP ?C0154
- 0204 ?C0153:
- 0204 7F00 MOV R7,#00H
- 0206 ?C0154:
- 0206 8F00 R MOV range,R7
- ; SOURCE LINE # 573
- 0208 E500 R MOV A,color
- 020A 6004 JZ ?C0156
- 020C 04 INC A
- 020D FF MOV R7,A
- 020E 8002 SJMP ?C0157
- 0210 ?C0156:
- 0210 7F00 MOV R7,#00H
- 0212 ?C0157:
- 0212 8F00 R MOV color,R7
- ; SOURCE LINE # 575
- ; SOURCE LINE # 576
- ; SOURCE LINE # 577
- 0214 120000 R LCALL L?1068
- ; SOURCE LINE # 578
- 0217 E500 R MOV A,col
- 0219 7800 R MOV R0,#LOW usStart_Addr+01H
- ; SOURCE LINE # 579
- 021B 120000 R LCALL L?1126
- 021E 2500 R ADD A,col
- ; SOURCE LINE # 580
- ; SOURCE LINE # 581
- 0220 120000 R LCALL L?1074
- 0223 120000 E LCALL _RTDWrite
- ; SOURCE LINE # 583
- ; SOURCE LINE # 584
- ; SOURCE LINE # 585
- 0226 120000 R LCALL L?1082
- ; SOURCE LINE # 586
- 0229 850000 E MOV Data+03H,color
- ; SOURCE LINE # 587
- C51 COMPILER V7.06 LCD_OSD 11/21/2005 13:47:29 PAGE 118
- 022C 850000 E MOV Data+04H,range
- ; SOURCE LINE # 588
- 022F 850000 E MOV Data+05H,row
- ; SOURCE LINE # 589
- 0232 E4 CLR A
- 0233 F500 E MOV Data+06H,A
- ; SOURCE LINE # 590
- 0235 7F00 E MOV R7,#LOW Data
- 0237 020000 E LJMP _RTDWrite
- ; FUNCTION _OSD_Slider (END)
- ; FUNCTION _Init_Page (BEGIN)
- ; SOURCE LINE # 595
- ;---- Variable 'index' assigned to Register 'R7' ----
- ; SOURCE LINE # 596
- ; SOURCE LINE # 597
- ; SOURCE LINE # 598
- 0000 7F01 MOV R7,#01H
- 0002 120000 R LCALL _OSD_Position
- ; SOURCE LINE # 599
- 0005 750001 R MOV ?_OSD_Clear?BYTE+03H,#01H
- 0008 7B0F MOV R3,#0FH
- 000A 7D0B MOV R5,#0BH
- 000C 7F05 MOV R7,#05H
- 000E 120000 R LCALL _OSD_Clear
- ; SOURCE LINE # 600
- 0011 7800 R MOV R0,#LOW ucOSD_Page_Index
- 0013 E6 MOV A,@R0
- 0014 B40107 CJNE A,#01H,?C0160
- ; SOURCE LINE # 601
- 0017 7E00 E MOV R6,#HIGH OSD_Window_Setting
- 0019 7F00 E MOV R7,#LOW OSD_Window_Setting
- 001B 120000 E LCALL _RTDOSDW
- ; SOURCE LINE # 602
- 001E ?C0160: