Language…
22 users online:  AmperSam, Carouco, cozyduck, crm0622, Doopu, Duraner Hawkeye, Equilake, Hectorpn13, Heitor Porfirio, KaidenThelens, LeonardoGamerTrainz, Lightning, Mayosunshine, MiracleWater, signature_steve, Sokobansolver, TheBubbster123, TheMorganah, ThirdWall, Tulip Time Scholarship Games, Wavee,  zuccha - Guests: 154 - Bots: 124
Users: 64,246 (2,441 active)
Latest user: MichaelGamerTVmich

SMW Memory Map

Displaying 2 out of 2 addresses.

View: moderated | waiting (15)

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