User Tools

Site Tools


return_of_samus:technical_information:screen_transitions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
return_of_samus:technical_information:screen_transitions [2023/05/29 21:34] – Attempted to increase clarity and readability. rt-55jreturn_of_samus:technical_information:screen_transitions [2023/07/02 17:36] (current) – [B* - Load Graphics Page] rt-55j
Line 28: Line 28:
 Syntax: Syntax:
  
-   * ''01 bb ssss dddd llll'' - Saves bb:ssss as the source of a BG tileset (necessary for saving properly+   * ''01 bb ssss dddd llll'' - Saves bb:ssss as the source of a BG tileset (meaning the tiles will be loaded when reloading a save
-   * ''02 bb ssss dddd llll'' - Saves ssss as the source of a sprite tileset (necessary for saving properly)+   * ''02 bb ssss dddd llll'' - Saves ssss as the source of a sprite tileset (meaning the tiles will be loaded when reloading a save)
    * ''0* bb ssss dddd llll'' - Just copies the data.    * ''0* bb ssss dddd llll'' - Just copies the data.
  
Line 182: Line 182:
    - ''B1 bb xxxx'' - Load BG graphics page (128 tiles) to $9000 in VRAM.    - ''B1 bb xxxx'' - Load BG graphics page (128 tiles) to $9000 in VRAM.
    - ''B2 bb xxxx'' - Load Sprite graphics page (64 tiles) to $8B00 in VRAM.    - ''B2 bb xxxx'' - Load Sprite graphics page (64 tiles) to $8B00 in VRAM.
 +
 +Note that these opcodes update the variables that keep track of what tilesets to use when loading a save.
  
 Operators: Operators:
Line 283: Line 285:
 For reference, the macros the disassembly uses are as follows: For reference, the macros the disassembly uses are as follows:
  
-Opcode Macro |+Opcode Macro ^
 | 00 bb ssss dddd llll | COPY_DATA | | 00 bb ssss dddd llll | COPY_DATA |
 | 01 bb ssss dddd llll | COPY_BG | | 01 bb ssss dddd llll | COPY_BG |
return_of_samus/technical_information/screen_transitions.1685396085.txt.gz · Last modified: 2023/05/29 21:34 by rt-55j