- Joined
- Apr 21, 2012
- Messages
- 68
- Motherboard
- MSI Z68MA-G45B3
- CPU
- intel core i5 2500k
- Graphics
- hd300
- Mac
- Classic Mac
- Mobile Phone
Edit: FAIL!!! Not working! Lost my car in a bet!!!
Alright, final post .... yeah,yeah there's always another final
thx to BigDonkey I was able to find the major difference between the working 10.6.8 version
and glitchy 10.7.x version of our beloved AppleIntelSNBGraphicsFB!
It seems Apple has introduced some sort check on display state when performing commands to the GPU. While I don't know how important this check is, since it wasn't there in 10.6.8, I can say that it indroduced two possible sources for failure.
which of the two it really is doesn't matter to me right now ... all I know is, that I can jump
over those two problems easily, and that will be my FINAL FIX
so increasing the timing like i did before lowered the chances for failure, but by jumping I avoid failure in any case!
here comes how:
AppleIntelSNBGraphicsFB 64bit OSX 10.7.2
find this hex sequence:
it should occur only once!!!
the last byte of that sequence, the 0x72 is a jump instruction, the next byte which should be 0x0A is the offset from here to where we jump.
the original 0x720A jumps to the check, which we'd like to avoid
luckily, all we need to do is to jump a bit further, exactly 0x56 bytes further
so 0x0A+0x56 = 0x60
which makes our patch look like this:
0x720A -----> 0x7260 done
do some confirmation if you are working on versions other than 10.7.2
the jump should go to the following sequence:
here are the file offsets for 10.7.2
Offset: 0x4738E
OrignalValue: 0x0A
PatchedValue: 0x60
confirm, do the check:
JmpShouldGoTo: 0x473FE
BytesAtDest: 8B 45 0C 8D 70 10 89 74 24 04 8B 4D 08 89 0C 24
Alright, thats my fix and I am so confident, that I would take bets now !!!
tx again BigDonkey!!!!
Alright, final post .... yeah,yeah there's always another final
thx to BigDonkey I was able to find the major difference between the working 10.6.8 version
and glitchy 10.7.x version of our beloved AppleIntelSNBGraphicsFB!
It seems Apple has introduced some sort check on display state when performing commands to the GPU. While I don't know how important this check is, since it wasn't there in 10.6.8, I can say that it indroduced two possible sources for failure.
which of the two it really is doesn't matter to me right now ... all I know is, that I can jump
over those two problems easily, and that will be my FINAL FIX
so increasing the timing like i did before lowered the chances for failure, but by jumping I avoid failure in any case!
here comes how:
AppleIntelSNBGraphicsFB 64bit OSX 10.7.2
find this hex sequence:
Code:
55 89 e5 53 57 56 83 ec 1c 66 8b 45 14 66 83 f8 15 72
the last byte of that sequence, the 0x72 is a jump instruction, the next byte which should be 0x0A is the offset from here to where we jump.
the original 0x720A jumps to the check, which we'd like to avoid
luckily, all we need to do is to jump a bit further, exactly 0x56 bytes further
so 0x0A+0x56 = 0x60
which makes our patch look like this:
0x720A -----> 0x7260 done
do some confirmation if you are working on versions other than 10.7.2
the jump should go to the following sequence:
Code:
8B 45 0C 8D 70 10 89 74 24 04 8B 4D 08 89 0C 24
here are the file offsets for 10.7.2
Offset: 0x4738E
OrignalValue: 0x0A
PatchedValue: 0x60
confirm, do the check:
JmpShouldGoTo: 0x473FE
BytesAtDest: 8B 45 0C 8D 70 10 89 74 24 04 8B 4D 08 89 0C 24
Alright, thats my fix and I am so confident, that I would take bets now !!!
tx again BigDonkey!!!!