Language…
7 users online: elsaiz117, hanokah, Heitor Porfirio, ocked, SuperHigginsWorld444, Umthetho, underway - Guests: 490 - Bots: 107
Users: 70,857 (2,319 active)
Latest user: ygor noelia

SMW Memory Map

Displaying 2 out of 2 addresses.

View: moderated | waiting (26)

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