Results 1 to 3 of 3

Thread: Hacking and Hex?

  1. #1
    RIP EagleMark's Avatar
    Join Date
    Feb 2011
    Location
    North Idaho
    Age
    63
    Posts
    10,477

    Hacking and Hex?

    Trying to understand what I see and why. If you've been reading the other thread you'll know why...

    So lets take for instance BPW in $42 XDF has a location of "0x2B4" When I open the hex editor in TunerPro I can scroll down and find 0x2B0 then a row of numbers. So you would figure that 4 would be the fourth set of hex. But when you make a change to BPW at 0x2B4 it changes the fifth hex?




    May as well add a TunerPro tip here too. If you open all your scalers, bitmasks and tables in Parameter tree, then open hex editor and click on a hex digit it will highlight the parameter. See highlighted BPW in parameter tree!
    Attached Images Attached Images

    1990 Chevy Suburban 5.7L Auto ECM 1227747 $42!
    1998 Chevy Silverado 5.7L Vortec 0411 Swap to RoadRunner!
    -= =-

  2. #2
    Fuel Injected! historystamp's Avatar
    Join Date
    Dec 2011
    Location
    USA
    Posts
    169
    But when you make a change to BPW at 0x2B4 it changes the fifth hex?
    because the number on the left is 0th address.
    Picture 4.png











    Anyway, the 2B0 refers to hex 80.

    Human start counting at 1. Computers start counting at 0.

    It's gets confusing. A lot of computer bugs have resulting from this confusing. It has a name: Boundary condition.

    It's the same thing in Excel. Lets say your in cell a10 and you want to move down to cell a14. See where you land if you count down 4 from a10. Count carefully. No cheating.

    Picture 5.png



































    If you start counting at a10 with a one you end up at a13.
    Robert
    Last edited by historystamp; 03-01-2012 at 09:32 PM.

  3. #3
    RIP EagleMark's Avatar
    Join Date
    Feb 2011
    Location
    North Idaho
    Age
    63
    Posts
    10,477


    I knew that! Yet I still started counting from 1... like a darn human.

    For others there's a good explination on hex at TunerPro.
    http://tunerpro.net/tutorials/UnderstandingHex.htm

    Thanks Robert!

    I passed your test, but I knew better then to count 10 as one of the adders...

    1990 Chevy Suburban 5.7L Auto ECM 1227747 $42!
    1998 Chevy Silverado 5.7L Vortec 0411 Swap to RoadRunner!
    -= =-

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •