11 March 2016 - Forum Rules

Main Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - MongoLloyd

Programming / Super Mario Bros. (NES) - "Pages"?
June 06, 2019, 07:10:28 AM
Hey! I'm pretty new to 6502 assembly and I've been trying to study the disassembly of Super Mario Bros. and I came upon the word pages and was wondering what they are referring to. What does pages mean in the context of the code?

Here's some examples of what I mean:

Near the beginning of RenderSceneryTerrain
lda CurrentPageLoc        ;otherwise check for every third page

At the start of Entrance_GameTimerSetup
lda ScreenLeft_PageLoc    ;set current page for area objects
sta Player_PageLoc        ;as page location for player

The code I'm using: