Page 1
Page 1
Started By
Message

NES game coding?

Posted on 6/26/17 at 1:50 pm
Posted by RidiculousHype
St. George, LA
Member since Sep 2007
10201 posts
Posted on 6/26/17 at 1:50 pm
Is it possible these days to download & read the actual programming code from original NES games? I'd like to see how some of my favorite games from childhood were coded, if it's even possible. Thanks.
Posted by musick
the internet
Member since Dec 2008
26125 posts
Posted on 6/26/17 at 3:07 pm to
quote:

Almost all NES games were hand-written in 6502 assembly, the same as used in the Commodore 64, the Apple ][e, etc. The very few which were written in C had a reputation for being terribly slow because the NES is only 2Mhz and has 2Kb of onboard RAM (with an 8Kb window for the cartridge to patch more in).



LINK

LINK
Posted by RidiculousHype
St. George, LA
Member since Sep 2007
10201 posts
Posted on 6/27/17 at 11:15 am to
Thanks, I did some digging around and apparently the original code for these old NES games is not in the public domain. Apparently it's illegal to even have it on your computer.
Posted by musick
the internet
Member since Dec 2008
26125 posts
Posted on 6/27/17 at 11:16 am to
Same thing as any proprietary source code.

The windows 2000/xp source code leaked a while ago and I had to look at it.

Posted by RidiculousHype
St. George, LA
Member since Sep 2007
10201 posts
Posted on 6/27/17 at 11:21 am to
quote:

Same thing as any proprietary source code.

The windows 2000/xp source code leaked a while ago and I had to look at it.


Yeah, I just had no idea. My knowledge of code is pretty limited. As far as I knew, I thought the ROMs you download to play on an emulator contain the code, but it sounds like that isn't the case. (?)
Posted by musick
the internet
Member since Dec 2008
26125 posts
Posted on 6/27/17 at 11:28 am to
That is incorrect. The ROM image just contains a binary, complete build that can be read by the NES or emulators itself. It's already compiled and none of the source code would be there whatsoever. You would need access to the actual source code to see anything, and I doubt nintendo has ever released anything like that, since they are huge on protecting their property.
Posted by musick
the internet
Member since Dec 2008
26125 posts
Posted on 6/27/17 at 11:32 am to
What you CAN find is stuff out there that people have recrated in a language like C and rebuilt the games with a known language.

for instance zelda classic:

LINK

Source Code

You can also take the ROM and try to dissemble it back into 6502 assembly language, and some people have:

LINK

but without knowledge of the 6502 assembly language you probably wont get much from it.
This post was edited on 6/27/17 at 11:38 am
Posted by Dam Guide
Member since Sep 2005
15503 posts
Posted on 6/27/17 at 12:08 pm to
I had a class in college that covered 6800. I tried to fiddle with Tecmo Super Bowl back in the day. Never got very far with trying to mod some things I wanted in to update it.

People have made all kinds of tools to do some things though. The randomizer Zelda is pretty crazy.
This post was edited on 6/27/17 at 12:09 pm
Posted by ShootingsBricks4Life
Member since May 2017
2601 posts
Posted on 6/28/17 at 7:54 am to
quote:

Tecmo Super Bowl


You may know already but people update the rosters and even add teams now! Pretty great to play Tecmo with Brees!
Posted by Dam Guide
Member since Sep 2005
15503 posts
Posted on 6/28/17 at 9:11 am to
quote:

You may know already but people update the rosters and even add teams now! Pretty great to play Tecmo with Brees!


Yeah, roster/team changes happened a long long time ago. Messed around on knobbe for a long time, back before it became tecmobowl.org. Was trying to get into modifying some code. They did a lot of what I was trying to do.
This post was edited on 6/28/17 at 9:14 am
first pageprev pagePage 1 of 1Next pagelast page
refresh

Back to top
logoFollow TigerDroppings for LSU Football News
Follow us on Twitter, Facebook and Instagram to get the latest updates on LSU Football and Recruiting.

FacebookTwitterInstagram