News: 11 March 2016 - Forum Rules

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.

Messages - MongoLloyd

Pages: [1]
Programming / Re: Super Mario Bros. (NES) - "Pages"?
« on: June 07, 2019, 07:50:42 am »
Thanks for the responses. As I studied the code some more it was the conclusion I started to suspect as well.

Programming / Super Mario Bros. (NES) - "Pages"?
« on: 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
Code: [Select]
lda CurrentPageLoc        ;otherwise check for every third page
At the start of Entrance_GameTimerSetup
Code: [Select]
lda ScreenLeft_PageLoc    ;set current page for area objects
sta Player_PageLoc        ;as page location for player

The code I'm using:

Pages: [1]