Language…
10 users online: akidaban,  Alex,  Ayami, jobvd, Masked Man, nanec, NBSpider,  shovda,  sincx, yoshiatom - Guests: 74 - Bots: 191
Users: 55,612 (2,434 active)
Latest user: arsosa

SMW Memory Map

Displaying 2 out of 2 addresses.

View: moderated | waiting (29)

Filter

Link
  • Pages:
  • 1
RAM Address Length Type Description Details
$7E0036 2 bytes Misc. Mode 7 rotation. Its values are calculated and stored into the respective Mode 7 parameter mirrors at $7E:002E through $7E:0035.
Values #$0000 through #$01FF are all different values, after that it's the same pattern - that is, if you add this 16-bit address with #$0200, there is a 360 degree rotation.
Furthermore, this address is used in the brown chained platform code as an index to the sine and cosine tables at $07:F7DB.
$7E0038 2 bytes Misc. Mode 7 scaling; that is, making Layer 1 shrink or grow. Its values are calculated and stored into the respective Mode 7 parameter mirrors at $7E:002E through $7E:0035.
The first byte - $7E:0038 - is used for horizontal scaling, whereas the second byte - $7E:0039 - is used for vertical scaling.
Default value is #$20. The closer to #$00, the more the layer grows, the further from #$00, the more the layer shrinks. Value #$10 makes the layer twice as large as value #$20, value #$40 makes the layer twice as small as value #$20, etc.
  • Pages:
  • 1