Part 1: https://www.reddit.com/r/programming/comments/1c71z1i/nes_ports_part_1_this_one_talks_about_how_to_lay