News:

11 March 2016 - Forum Rules

Main Menu
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

Messages - MongoLloyd

#1
Thanks for the responses. As I studied the code some more it was the conclusion I started to suspect as well.
#2
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: https://www.romhacking.net/documents/344/