It is currently Sun Aug 18, 2019 4:20 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Need orientation
PostPosted: Mon May 19, 2014 4:50 pm 
Offline
User avatar

Joined: Mon May 19, 2014 4:45 pm
Posts: 3
Location: 地球..?
Hi there, nice to meet all of you. I'm a little bit confused in this subject (NES development) and I need some orientation because I am very interested in this.

I am currently learning C, it is basic to start any dev project, but I need more information. I need to know, how or where to start, documentation, tutorials all is welcome.

Thank you very much.


Top
 Profile  
 
 Post subject: Re: Need orientation
PostPosted: Mon May 19, 2014 6:41 pm 
Offline
User avatar

Joined: Mon Oct 01, 2012 3:47 pm
Posts: 161
Location: freemland (NTSC-U)
I'm not sure how far along you are on your programming journey, but here's a few tips.

If you're planning on using C to develop a NES game, there's a few options:

Both of these libraries target cc65.

There's an IDE by cpow called NESICIDE that might be helpful to you as well.

If you haven't already checked the wiki for technical details, you should probably do so.


Top
 Profile  
 
 Post subject: Re: Need orientation
PostPosted: Mon May 19, 2014 7:17 pm 
Offline
User avatar

Joined: Fri Aug 23, 2013 2:14 am
Posts: 274
Since we're on the topic of developing NES games in C, in order to use those compilers in the first place, you need to know how assembly works. In the end, I'd say it'd be quicker for you to straight up learn how to program for the NES, as opposed to learning that and then learning a different language to use an assembler. At the same time, assemblers aren't perfect in that their code is only good enough for small, simple games, where hand written assembly is better suited for more complex projects.


Top
 Profile  
 
 Post subject: Re: Need orientation
PostPosted: Mon May 19, 2014 7:34 pm 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 8532
Location: Seattle
Eh, while understanding the hardware is necessary, I'm not convinced that wrangling 6502 assembly is actually necessary.

For example, the quick and dirty test (i.e. not a game) I wrote here uses KNES and is otherwise pure C. While there's a lot of things that will only make sense once you understand the PPU, and for performance reasons you should use parameter passing sparingly, it was still a lot faster for me to spin that out in C.


Top
 Profile  
 
 Post subject: Re: Need orientation
PostPosted: Tue May 20, 2014 1:03 am 
Offline
User avatar

Joined: Mon Jan 03, 2005 10:36 am
Posts: 3141
Location: Tampere, Finland
For games, I'd suggest going with Shiru's library. KNES basically just exposes the NES internal registers to C code in an easy to use way, whereas Shiru's library contains a bunch of routines that are specifically meant to make game coding easier. KNES could be good for learning how all of the different NES hardware registers work, though, because you don't have to worry about small details like initialization of the system.

_________________
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi


Top
 Profile  
 
 Post subject: Re: Need orientation
PostPosted: Tue May 20, 2014 10:53 am 
Offline
User avatar

Joined: Mon May 19, 2014 4:45 pm
Posts: 3
Location: 地球..?
Thanks for answering. So.. As I could understand, using C to program NES games is a good decision, but I now have doubts about what programs I should use. You've mentioned that Shiru's Library, KNES and NESICIDE, but I dont know how those programs works or where can I find some documentation or practices to learn how to develope real projects.

Suggestions? Thank you very much again!


Top
 Profile  
 
 Post subject: Re: Need orientation
PostPosted: Tue May 20, 2014 11:45 am 
Offline

Joined: Sun Sep 30, 2012 3:44 am
Posts: 83
http://shiru.untergrund.net/articles/pr ... s_in_c.htm


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group