This page is a mirror of Tepples' nesdev forum mirror (URL TBD).
Last updated on Oct-18-2019 Download

Beginner Question. How does SMB1 store levels?

Beginner Question. How does SMB1 store levels?
by on (#52114)
Hi! How does "super mario bros 1(NES)" store levels. i.e. Does it store the tile index as an array in the Program memory. If so, does it use any compression method or so?

:)

by on (#52117)
http://www.romhacking.net/docs/76/

by on (#52134)
There are several layers:
  1. background scenery (clouds, hills, fences, trees)
  2. foreground scenery (8-3 wall, full-screen water)
  3. terrain patterns (present/absent rows of blocks)
  4. area data objects (? block here, pipe here, etc)

One of the area data objects in Y=$C0-$FF changes the foreground scenery; another changes the terrain patterns.