Language…
20 users online: Ahrion, alef,  Anorakun, AntonioDosGames, arkondx, ASSATAKKU, chester_fields,  Deeke, Diary of a Madman, DimeR, E-man38, fantasma king, ghyn, Heitor Porfirio, LiamBLOL, monkey03297, Sammmoo, SpaceGlam, SpikeyToons1991, thekiller678 - Guests: 134 - Bots: 153
Users: 58,843 (2,254 active)
Latest user: Filipin99

SMW Memory Map

Displaying 2 out of 2 addresses.

View: moderated | waiting (73)

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