![]() |
| |||||||
| TV GUIDE | Live Football | Fantasy F1 | Register | Articles | DW Trader | CD Covers | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| General Cable Discussion This is the general cable tv forums where you can talk about cable tv. |
| | LinkBack | Thread Tools | Display Modes |
| | #131 (permalink) | |
| DW Top Poster +++ ![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2005
Posts: 933
Downloads: 0 Uploads: 0 Thanks: 27
Thanked 3 Times in 3 Posts
Feedback Score: 0 reviews | Re: keyroll emm and the fix (code it ur self) Quote:
.. it seems in this case your emulator had knowledge of the map02 call that most other emulators do not. IE it knew that a map02 call exited with the value from $41 in X. | |
| |
| | #132 (permalink) | |
| Senior Member +++ ![]() Join Date: Nov 2005 Location: /tmp
Posts: 349
Downloads: 4 Uploads: 0 Thanks: 0
Thanked 1 Time in 1 Post
Feedback Score: 0 reviews | Re: keyroll ecm and the fix (code it ur self) Quote:
ROM:74F1 BD 81 call EMMBUF_01 This is the point where the code in the emm buffer is executed. ROM:74EC CD 74 27 call ENSUREIRDINFO ; Ensure we have a type $01 item, At this point, just before the above jump, the keyroll emm has been loaded into the buffer but not yet executed. The idea is to, at this point, jump to a section of patch code. This will modify the emm buffer in such a way that when the code in the buffer is executed, the correct key will be returned. So if this is the keyroll emm: Code: 0081: 5F clrx ; x <-- 0 0082: A6 10 lda #$10 ; Load in A 0084: B7 21 sta RC0ADDRH ; Store A in... 0086: A6 02 lda #$02 ; Load in A 0088: 2D 07 bms $91 ; Branch if mask=1 008A: 9B sei ; I <-- 1 008B: CD 20 0F jsr $200F ; Go to subroutine 008E: 9A cli ; I <-- 0 008F: 20 03 bra $94 ; Branch always 0091: CD 20 0F jsr $200F ; Go to subroutine 0094: 9F txa ; X --> A 0095: B8 AF eor $AF ; A= A xor ... 0097: B7 AF sta $AF ; Store A in... 0099: 9F txa ; X --> A 009A: B8 BB eor $BB ; A= A xor ... 009C: B7 BB sta $BB ; Store A in... 009E: A6 26 lda #$26 ; Load in A 00A0: CC 48 BB jmp FILTEROK ; 2 to look like this: Code: 0081: 5F clrx ; x <-- 0 0082: AE 10 ldx #$10 ; Load in X 0084: 20 0E bra $94 ; Branch always 0086: A6 02 lda #$02 ; Load in A 0088: 2D 07 bms $91 ; Branch if mask=1 008A: 9B sei ; I <-- 1 008B: CD 20 0F jsr $200F ; Go to subroutine 008E: 9A cli ; I <-- 0 008F: 20 03 bra $94 ; Branch always 0091: CD 20 0F jsr $200F ; Go to subroutine 0094: 9F txa ; X --> A 0095: B8 AF eor $AF ; A= A xor ... 0097: B7 AF sta $AF ; Store A in... 0099: 9F txa ; X --> A 009A: B8 BB eor $BB ; A= A xor ... 009C: B7 BB sta $BB ; Store A in... 009E: A6 26 lda #$26 ; Load in A 00A0: CC 48 BB jmp FILTEROK ; 2 I change CD 74 27 to CD 93 63 and start the patch code at that location. Remember the rom 10 codespace starts at 4000 so in your hex editor 9363 is actually 5363.
__________________ http://profile.mygamercard.net/cydine | |
| |
| | #133 (permalink) | |
| Member +++ ![]() ![]() Join Date: Mar 2005
Posts: 149
Downloads: 0 Uploads: 0 Thanks: 0
Thanked 0 Times in 0 Posts
Feedback Score: 0 reviews | Re: keyroll emm and the fix (code it ur self) Quote:
I'm still getting to grips with all this so I'm going to have to take your word for that! But Vplug does seem much more complete than the other emultors we have. Fenrir broke last april if you remember so we turned to Snitch, which is still working with the latest rom10 patches. I never did find an eeprom patch that worked with Snitch though, Vplug automatically creates eeprom files, I was hoping they might be usefull but they all seem to be empty when I open them with NagraEdit etc? . Last edited by Nick [D]vB; 1st December 2008 at 21:04. | |
| |
| | #134 (permalink) | |
| DW Guru ++ ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2005 Location: In the bookies
Posts: 5,270
Downloads: 0 Uploads: 0 Thanks: 3
Thanked 0 Times in 0 Posts
Feedback Score: 0 reviews | Re: keyroll ecm and the fix (code it ur self) Quote:
CD 74 27 to CD 93 63 Once i've changed the above in rom10 lst text editor,i take it i need to save a copy? Otherwise i'm a bit stuck now?the saved rom10 do i need to open/make a change in winex?
__________________ It matters not how strait the gate. How charged with punishments the scroll,I am the master of my fate,I am the captain of my soul. | |
| |
| | #135 (permalink) |
| DW Top Poster +++ ![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2005
Posts: 933
Downloads: 0 Uploads: 0 Thanks: 27
Thanked 3 Times in 3 Posts
Feedback Score: 0 reviews | Re: keyroll ecm and the fix (code it ur self) Its not the lst file you need to edit.. Its the physical bin file. The disassembled one just allows you to know what code is where. |
| |
| | #136 (permalink) |
| DW Guru ++ ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2005 Location: In the bookies
Posts: 5,270
Downloads: 0 Uploads: 0 Thanks: 3
Thanked 0 Times in 0 Posts
Feedback Score: 0 reviews | Re: keyroll ecm and the fix (code it ur self) Right gotcha will see if i can finish it off.
__________________ It matters not how strait the gate. How charged with punishments the scroll,I am the master of my fate,I am the captain of my soul. |
| |
| | #137 (permalink) |
| DW Guru ++ ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2005 Location: In the bookies
Posts: 5,270
Downloads: 0 Uploads: 0 Thanks: 3
Thanked 0 Times in 0 Posts
Feedback Score: 0 reviews | Re: keyroll emm and the fix (code it ur self) Right i've edited the rom10 at location 5363 with a value of 83,yet it returns the wrong keys. Key 1 2nd and 3rd characters key 0 5th and 6th characters Using a rom10 from april 08 fix.
__________________ It matters not how strait the gate. How charged with punishments the scroll,I am the master of my fate,I am the captain of my soul. |
| |
| | #138 (permalink) |
| DW Guru ++ ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2005 Location: In the bookies
Posts: 5,270
Downloads: 0 Uploads: 0 Thanks: 3
Thanked 0 Times in 0 Posts
Feedback Score: 0 reviews | Re: keyroll emm and the fix (code it ur self) Right i've changed the value to 87 its returning the correct keys,hurrah, checked against rom 7 but no picture,lol.
__________________ It matters not how strait the gate. How charged with punishments the scroll,I am the master of my fate,I am the captain of my soul. |
| |
| | #139 (permalink) |
| DW Top Poster +++ ![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2005
Posts: 933
Downloads: 0 Uploads: 0 Thanks: 27
Thanked 3 Times in 3 Posts
Feedback Score: 0 reviews | Re: keyroll emm and the fix (code it ur self) Its no good just adding a value of 83.. you need to construct some code that checks if the keyroll emm is in ram, and if it is you need to make your patch code modify the emm such that it will create the correct keys .. then return to the original romcode. |
| |
| | #140 (permalink) |
| DW Guru ++ ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2005 Location: In the bookies
Posts: 5,270
Downloads: 0 Uploads: 0 Thanks: 3
Thanked 0 Times in 0 Posts
Feedback Score: 0 reviews | Re: keyroll emm and the fix (code it ur self) Gonna have to come back to this tomorrow evening,thanks for the input so far.
__________________ It matters not how strait the gate. How charged with punishments the scroll,I am the master of my fate,I am the captain of my soul. |
| |
| Bookmarks |
| Tags |
| code, ecm, emm, fix, keyroll |
| Thread Tools | |
| Display Modes | |
| |