NES Memory Visualization: Mega Man [Revision 1]

2,292 views · Published 2 November 2011 · 14:50 · Indexed 6 November 2026

Channel: Bisqwit · 2011 · Gaming

Watch on YouTube

You probably never wondered how NES games access the RAM & ROM they have available. Well, now you know!
The memory sections listed are, in order: internal RAM (2048 bytes); ROM (131072 bytes).

In the visualization, all memory accesses decay in 1/3 seconds, so if there is some part that it lit, it has really been accessed during that frame. Surprisingly large areas of memory are used all the time. Blue = read; green = increased; red = decreased; yellow = both/neither increased and/nor decreased. White = Most recent write.
On the right side, you can see an oscilloscope view of each of the signal generators used to produce sound effects and music.

Be sure to watch in HD. This video was uploaded in 3416x1920 resolution, and for this once, it was not just because of pixel scaling! The game was really rendered in 1920p...
You might wonder: How does that make sense? Well, remember that in analog television, theoretically, the horizontal resolution is infinite. Here, I went the extra mile and actually simulated the NTSC signal processing at very high resolution to produce a quite authentic looking picture. It is not a mere video post-processing gimmick: The emulator really produces composite NTSC signal _only_ (i.e. no paletted RGB pixels), which is then decoded in order to produce image. This is relevant, because though the pixel resolution of the NES is just 256 horizontally, the NTSC signal generator actually produces signal that shifts a little on each scanline, and mixes adjacent pixels together by outputting pixels on a sub-wavelength precision. The actual horizontal resolution of the signal ends up being 2048, plus what may be required to reproduce signal degradation artifacts.
Apologies about the motion blurring I added. The original video framerate was about 60.1 frames per second, but YouTube clamps the framerate at 30 fps by _dropping_ frames until only 30 frames are displayed per second, which meant that if I want to display all the content, I would have to mix the frames together before uploading it. Believe it or not, the outcome is less noisy in appearance than it would have been without it.

The game is FC ロックマン (NES Mega Man).
The performance is tool-assisted speedrun by Joel Yliluoma, a.k.a. Bisqwit, in 15:38.07. More information: http://tasvideos.org/726M.html
IMPORTANT: In order to fit in YouTube's 15 minute limit, I condensed the video a little. Small sections of the video were SPED UP. The playing is authentic, but the presentation is sped up. The true completion time from power-on to end of input was 15:38.07.

This video was recorded on an emulator that I created entirely from scratch. You can see the source code of that emulator here (showcased in 15 minutes): https://youtu.be/y71lli8MS8s

More from this channel