Difference between revisions of "RAM: Bank 0x7E: Page 0x07"

From TLoZ: ALTTP Hacking Resources
Jump to: navigation, search
(Created page with "* {{$|0700}}[{{0x|02}}] = Generally is equal to the area number you are in currently in times two. Only bottom byte is used, and consists of the following pattern: yyyzxxx0 y...")
 
m (Superskuj moved page Rom/Page 0x07 to RAM: Bank 0x7E: Page 0x07)
 
(No difference)

Latest revision as of 23:28, 20 December 2016

  • $0700[0x02] = Generally is equal to the area number you are in currently in times two.

Only bottom byte is used, and consists of the following pattern: yyyzxxx0 y - obtained by masking Link's Y coordinate ($20) with 0x1E00, shifting left three times x - obtained by masking Link's X coordinate ($22) with 0x1E00, and bitwise ORing it with the the y bits. z - this is the overlap of the x and y bits described above.

  • $0702[0x06] = free ram
  • $0708[{{0x|02] -
  • $070A[{{0x|02] -
  • $070C[{{0x|02] -
  • $070E[0x{{{1}}}[0x{{{1}}}[0x{{{1}}}[{{0x|7E0]. Only has 3 possible values (0, 0x02A0, and 0x0540).

These correspond to the current line the game is generating text on. It is held constant while an individual line is rendering.

  • $0728[0xD8] = Free ram