SNES programming
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!
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.
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.
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.
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.
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).
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>
<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>
quote:Original post by Anonymous Poster
I''ve found some links that I think you might like:
CC65 -- a C compiler for 6502-based systems (like NES and I would assume SNES as well)
WLA -- a set of assemblers for Gameboy, NES, C64, SNES...
an excellent NES programming series
Parodius -- This has been mentioned. Bookmark it.
Clicky clicky.
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]
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]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement