don't click here

More hidden stuff...

Discussion in 'Engineering & Reverse Engineering' started by Quickman, Dec 15, 2003.

Thread Status:
Not open for further replies.
  1. Quickman

    Quickman

    be attitude for gains Tech Member
    5,595
    18
    18
    :x
    omg porjcet
    Hidden Palace Zone is, once, again, hidden from mine eyes.

    Nemesis' page clearly says that the three bytes defining the Hidden Palace Zone art (0425F4-0425FF) refer to the same thing (0A3364, the OOZ 16x16 block mappings). However, examining the three bytes shows that they are ALL different!

    0425F4: 14 13 92 4E
    0425F8: 15 13 A0 E6
    0425FB: 0C 13 AF 7E

    How do these work? I'm completely stumped as to how three completely different words act as pointers to the same thing.

    Somebody in the know willing to share their knowledge?
     
  2. Rika Chou

    Rika Chou

    Tech Member
    5,276
    169
    43
    Different things can point to the same location.
     
  3. Quickman

    Quickman

    be attitude for gains Tech Member
    5,595
    18
    18
    :x
    omg porjcet
    How do they do that in this case?
     
  4. Rika Chou

    Rika Chou

    Tech Member
    5,276
    169
    43
    What case is this? you didn't make it real clear.
     
  5. Quickman

    Quickman

    be attitude for gains Tech Member
    5,595
    18
    18
    :x
    omg porjcet
    The case here is the pointers to the stored art in HPZ on the S2F ROM. They all point to OOZ 16x16 block mappings, which fully explains the glitchiness.
     
  6. Rika Chou

    Rika Chou

    Tech Member
    5,276
    169
    43
    Yes, I see. When they removed the art and mappings for HPZ they had to point the pointers to a different location, they just pointed them all to the OOZ mappings.
    Example:
    Say the original locations were:
    8 = 100
    16 = 200
    128 = 300
    OOZ 16 =400
    they just simply changed the three pointers to 400.
     
  7. Quickman

    Quickman

    be attitude for gains Tech Member
    5,595
    18
    18
    :x
    omg porjcet
    Okay... but how do the pointers in themselves work? I want to know how they work so when I port the graphics back in I can point them to the new location.
     
  8. Rika Chou

    Rika Chou

    Tech Member
    5,276
    169
    43
    If art is at the address 001234 the pointer will be "001234" so whever you move the art, just change the pointer to the new location.
     
  9. Quickman

    Quickman

    be attitude for gains Tech Member
    5,595
    18
    18
    :x
    omg porjcet
    I'm going to smack my head on the edge of my desk now.

    I have already clearly shown they DON'T have the value 0A3364, so how in the world do they possibly point to 0A3364 according to your explanation of pointers?
     
  10. Rika Chou

    Rika Chou

    Tech Member
    5,276
    169
    43
    If it dosen't have a pointer to that location, then that's not where it points.
     
Thread Status:
Not open for further replies.