|
Welcome to the GSM-Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Only registered members may post questions, contact other members or search our database of over 8 million posts. Registration is fast, simple and absolutely free so please - Click to REGISTER! If you have any problems with the registration process or your account login, please contact contact us . |
|
Register | FAQ | Donate | Forum Rules | Root any Device | ★iPhone Unlock★ | ★ Direct Codes ★ | Direct Unlock Source |
Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) Nokia Legacy Models Like 1011, 1610, 211x, 2x20, 6050, 3110, 8110, NKxxx , 2100, 3210, 3310, 3330, 3410, 5110, 5210, 5510, 6110, 6150, 6210, 6250, 7110, 8210, 8250, 8850 also 9110 & 9210 |
| LinkBack | Thread Tools | Display Modes |
01-11-2002, 21:58 | #1 (permalink) |
Major Poster Join Date: Jan 2002 Location: Egypt
Posts: 47
Member: 8387 Status: Offline Thanks Meter: 0 | Lets Try To ensure the Correctness of Hex from cbb Here is the Part: LOC OBJECT CODE LINE SOURCE TEXT<br />VALUE 00001 list p=16ce625<br />00002 <br />00003 include "p16ce625.inc"<br />00001 LIST<br />00002 ; P16CE625.INC Standard Header File, Version 1.00 Microchip Technology, Inc.<br />00174 LIST<br />00004 <br />0000 00005 org 0x00<br />0000 286E 00006 goto Start ; Reset Vector <br />0001 3420 00007 retlw " " ; Name of the ***<br />0002 3444 00008 retlw "D" ; J<br />0003 3465 00009 retlw "e" ; e<br />0004 346A 00010 retlw "j" ; h<br />0005 3461 00011 retlw "a" ; o<br />0006 346E 00012 retlw "n" ; v<br />0007 3420 00013 retlw " " ; a 0010 34E6 00025 retlw 0xE6 <br />0011 345A 00026 retlw 0x5A <br />0012 34AB 00027 retlw 0xAB <br />0013 3447 00028 retlw 0x47 <br />0014 348E 00029 retlw 0x8E <br />0015 340D 00030 retlw 0xD <br />0016 341A 00031 retlw 0x1A <br />0017 3434 00032 retlw 0x34 006E 00130 Start <br />0070 0085 00133 movwf PORTA<br />0071 0086 00134 movwf PORTB <br />0072 3008 00135 movlw 0x08 <br />Warning[224]: Use of this instruction is not recommended.<br />0073 0062 00136 option ; Set Option RB PullUp, Prescaler to WDT <br />0074 3007 00137 movlw 0x07 <br />0075 009F 00138 movwf CMCON ; Switch Off Comparators <br />0076 1683 00139 bsf STATUS,0x5 ; Set Bank 1 <br />0077 30FD 00140 movlw B'11111101' 0078 0085 00141 movwf TRISA ; RA1 Output, Acknowledge for PC<br />0079 300F 00142 movlw B'00001111' 007A 0086 00143 movwf TRISB ; RB4..RB7 Output, Data to PC <br />0080 0806 00151 movf PORTB,W ; Get Data from Lpt <br />0081 390F 00152 andlw 0x0F ; Mask High Nibble<br />0082 3A05 00153 xorlw 0x05 ; Got 0x05, Box Reset Command L part? LOC OBJECT CODE LINE SOURCE TEXT<br />VALUE 0083 00154 HaltLoop0<br />0083 1D03 00155 skpz ; Yes<br />0084 2883 00156 goto HaltLoop0 ; No Loop <br />0085 305F 00157 movlw 0x5F <br />0086 0086 00158 movwf PORTB ; Send Back 0x05<br />0087 1085 00159 bcf PORTA,0x01 ; Ack := 0 for PC (AckL)<br />0088 00160 WaitPc0<br />0088 1C05 00161 btfss PORTA,0x0 ; Got Ack from PC ?<br />0089 2888 00162 goto WaitPc0<br />008A 0806 00163 movf PORTB,W ; Get Data from Lpt <br />008B 390F 00164 andlw 0x0F ; Mask High Nibble<br />008C 3A0A 00165 xorlw 0x0A ; Got 0x0A, Box Reset Command H part?<br />008D 00166 HaltLoop1<br />008D 1D03 00167 skpz ; Yes<br />008E 288D 00168 goto HaltLoop1 ; No Loop <br />008F 30AF 00169 movlw 0xAF <br />0090 0086 00170 movwf PORTB ; Send to PC<br />0091 1485 00171 bsf PORTA,0x1 ; Ack := 1 for PC (AckH)<br />0092 00172 WaitPc1<br />0092 1805 00173 btfsc PORTA,0x0 ; Got Ack from PC ?<br />0093 2892 00174 goto WaitPc1 ; No - Wait, for it<br />0094 0806 00175 movf PORTB,W ; Get Data from Lpt<br />0095 390F 00176 andlw 0x0F ; Mask High Nibble<br />0096 00F0 00177 movwf 0x70 ; Save in RAM<br />0097 3A01 00178 xorlw 0x01 ; Box Mode1 ?<br />0098 1903 00179 skpnz ; No<br />0099 28D9 00180 goto Set_Mbus ; Set Mode1 (Mbus - UART) 009A 3002 00182 movlw 0x02<br />009B 0670 00183 xorwf 0x70,W ; Box Mode2 ?<br />009C 1903 00184 skpnz ; No<br />009D 28D9 00185 goto Set_Hbus ; Set Mode2 (Hbus - Flasher) 009E 3003 00187 movlw 0x03<br />009F 0670 00188 xorwf 0x70,W ; Box Mode3 ?<br />00A0 1903 00189 skpnz ; Unknown Mode<br />00A1 28F2 00190 goto Set_Calc ; Set Mode3 (Security Calculator) 00A2 300F 00192 movlw 0x0F <br />00A3 0086 00193 movwf PORTB ; Send 0x0F to PC<br />00A4 1085 00194 bcf PORTA,0x1 ; Ack := 0 for PC (AckL)<br />00A5 00195 ModeErr<br />00A5 28A5 00196 goto ModeErr<br />00A6 00197 ModeOk<br />00A6 0E70 00198 swapf 0x70,W ; Move to High Nibble<br />00A7 380F 00199 iorlw 0x0F ; Set Low Nibble to 1111<br />00A8 0086 00200 movwf PORTB ; Send to PC <br />LOC OBJECT CODE LINE SOURCE TEXT<br />VALUE <br />00B0 0806 00212 movf PORTB,W ; Get Data from Lpt<br />00B1 390F 00213 andlw 0x0F ; Mask High Nibble<br />00B2 00FE 00214 movwf 0x7E ; Save Command in RAM 00B3 3A01 00216 xorlw 0x01 ; Got Command 1 ? <br />00B4 1903 00217 skpnz<br />00B5 28D3 00218 goto Cmd_1 00B6 3002 00220 movlw 0x02<br />00B7 067E 00221 xorwf 0x7E,W ; Got Command 2 ?<br />00B8 1903 00222 skpnz <br />00BA 3003 00225 movlw 0x03<br />00BB 067E 00226 xorwf 0x7E,W ; Got Command 3 ?<br />00BC 1903 00227 skpnz <br />00BE 3004 00230 movlw 0x04<br />00BF 067E 00231 xorwf 0x7E,W ; Got Command 4 ?<br />00C0 1903 00232 skpnz<br />00C1 2BC6 00233 goto Cmd_4 00C2 3005 00235 movlw 0x05<br />00C3 067E 00236 xorwf 0x7E,W ; Got Command 5 ?<br />00C4 1903 00237 skpnz<br />00C5 2BEE 00238 goto Cmd_5 00C6 3006 00240 movlw 0x06<br />00C7 067E 00241 xorwf 0x7E,W ; Got Command 6 ?<br />00C8 1903 00242 skpnz 00CA 3007 00245 movlw 0x07<br />00CB 067E 00246 xorwf 0x7E,W ; Got Command 7 ?<br />00CC 1903 00247 skpnz 00CE 3008 00250 movlw 0x08<br />00CF 067E 00251 xorwf 0x7E,W ; Got Command 8 ?<br />00D0 1903 00252 skpnz<br />00D1 2CDA 00253 goto Cmd_8 <br />00D2 2923 00254 goto Cmd_E <br />00D3 00255 Cmd_1 <br />00D3 09FE 00256 comf 0x7E ; Invert Command <br />00D4 0E7E 00257 swapf 0x7E,W ; Move to High Nibble<br />00D5 0086 00258 movwf PORTB ; Send to PC LOC OBJECT CODE LINE SOURCE TEXT<br />VALUE 00D6 1485 00259 bsf PORTA,0x1 ; Ack := 1 for PC (AckH)<br />00D7 00260 WaitPc2<br />00D7 1805 00261 btfsc PORTA,0x0 ; Got Ack from PC ?<br />00D8 28D7 00262 goto WaitPc2 ; No - Wait, for it |
Bookmarks |
| |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hi Genie team, Try to reduce the cost of unlocking these models | vijay_3333 | Genie Universal | 3 | 03-17-2010 03:52 |
The correction of article " Beware of Cheater Razvan who is from ROMANIA!!! " | Bert | Listed Cheaters | 2 | 01-18-2010 09:38 |
THIS HAPPEN WITH ME WHEN I TRY TO RESET THE USER CODE OF SONY Z555i ? | vmin81 | SETool2 | 5 | 08-12-2008 21:03 |
how to change the conector of headset (handsfree) from a nokia 8210 | barchy | Nokia Hardware & Hardware Repair | 1 | 08-18-2002 02:24 |
How do I use an Hex Editor to Modify the Size of the Flash File | simbirley | Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) | 8 | 09-19-2001 11:03 |
|