When I was writing my own NES game I found the annotated SMB assembly to be quite informative.
Also, many of the Capcom games used the same basic engine for rendering backgrounds. I modeled my background tile renderer after Ducktales’.
This kind of work really is invaluable.