Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Joelius

SNES programming

This topic is 5141 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I want to begin programming for the SNES, NES and gameboy and i was wondering what programming languages they use for them. If anyone could let me know that would be great so i can start learning!

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
NES/SNES/GB/GBC: 95% assembly language.

C/C++ only started to really make it into console games with the N64 and Playstation.

On the GBA however, C/C++ is commonly used and is a good choice for most of your game logic.

Share this post


Link to post
Share on other sites
Unfortunately the SNES, NES and gameboy (original) all use different processors, and assembly is pretty much the only way to go as I don''t know of any C compilers that exist for them.

As the AP said though, the GBA is much easier to get into, supporting C/C++ and with a large developer community that makes it much easier to get started. Check out www.gbadev.org and devrs.com/gba for some excellent resources.

However, if you still want to work on the older systems, there are some excellent resources around:

SNES:
Zophar''s Super Nintendo Page - extremely comprehensive.

NES/Gameboy:
Zophar''s page for general info.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
for nes

nesdev.parodius.com

Share this post


Link to post
Share on other sites
Unless your going for a very processor heavy game then C will be fine on those systems. NES/SNES games were written in C but had a fair amount of asm as well (although i doubt 95%). I have written published GB and GBC games which were 99% C, so there is no real problem there. (just use the GNU compilers, nothing special about compilers its the libs for the console you need).

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I''ve found some links that I think you might like:

<a href="http://www.cc65.org/">CC65 -- a C compiler for 6502-based systems (like NES and I would assume SNES as well)</a>
<a href="http://www.hut.fi/~vhelin/wla.html">WLA -- a set of assemblers for Gameboy, NES, C64, SNES...</a>
<a href="http://k2pts.home.comcast.net/gbaguy/nesasm.htm">an excellent NES programming series</a>
<a href="http://nesdev.parodius.com/>Parodius -- This has been mentioned. Bookmark it.</a>

Share this post


Link to post
Share on other sites
Thanks for the clickies Drakonite. That's my post btw. (I lost my password for a little bit there, so the post is anonymous.) EDIT: The anonymous post Drakonite quoted here is mine. The others are not.

I might add that CC65 is not for SNES like I said earlier. I think you could find a SNES C compiler, but frankly, I don't know if I'd even bother. C is a beautiful language, but if your goal is higher-level code and more efficient development, why not go a step farther? With some good work and research, you could instead write a simple Python API that prints 65816 assembler to a file or to standard output. That'd be your code generator. That's an idea, anyway.


==================
Benjamin Heath
==================

[edited by - Benjamin Heath on April 24, 2004 2:29:22 AM]

[edited by - Benjamin Heath on April 24, 2004 2:01:13 PM]

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!