Posted 15 December 2003 - 03:37 AM
-
Posts:
5584
-
Joined:
03-December 03
-
Gender:Male
-
Location::x
-
Project:omg porjcet
-
Wiki edits:10

00
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?
This post has been edited by XinuX: 15 December 2003 - 08:04 AM
Posted 15 December 2003 - 03:40 AM
- Adopt
-
-
Posts:
5093
-
Joined:
11-January 03
-
Gender:Not Telling
-
Location:CA US
-
Wiki edits:4

00
Different things can point to the same location.
Posted 15 December 2003 - 03:41 AM
-
Posts:
5584
-
Joined:
03-December 03
-
Gender:Male
-
Location::x
-
Project:omg porjcet
-
Wiki edits:10

00
How do they do that in this case?
Posted 15 December 2003 - 03:41 AM
- Adopt
-
-
Posts:
5093
-
Joined:
11-January 03
-
Gender:Not Telling
-
Location:CA US
-
Wiki edits:4

00
What case is this? you didn't make it real clear.
Posted 15 December 2003 - 03:43 AM
-
Posts:
5584
-
Joined:
03-December 03
-
Gender:Male
-
Location::x
-
Project:omg porjcet
-
Wiki edits:10

00
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.
Posted 15 December 2003 - 03:46 AM
- Adopt
-
-
Posts:
5093
-
Joined:
11-January 03
-
Gender:Not Telling
-
Location:CA US
-
Wiki edits:4

00
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.
Posted 15 December 2003 - 03:49 AM
-
Posts:
5584
-
Joined:
03-December 03
-
Gender:Male
-
Location::x
-
Project:omg porjcet
-
Wiki edits:10

00
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.
Posted 15 December 2003 - 04:13 AM
- Adopt
-
-
Posts:
5093
-
Joined:
11-January 03
-
Gender:Not Telling
-
Location:CA US
-
Wiki edits:4

00
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.
Posted 15 December 2003 - 08:02 AM
-
Posts:
5584
-
Joined:
03-December 03
-
Gender:Male
-
Location::x
-
Project:omg porjcet
-
Wiki edits:10

00
Rika Chou, on Dec 15 2003, 04:13 AM, said:
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.
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?
Posted 15 December 2003 - 05:45 PM
- Adopt
-
-
Posts:
5093
-
Joined:
11-January 03
-
Gender:Not Telling
-
Location:CA US
-
Wiki edits:4

00
If it dosen't have a pointer to that location, then that's not where it points.