🕹️
nesdoug-nes-guide
  • README
  • How to program an NES game in C
  • Introduction
  • What you need
  • How cc65 works
  • 01. Our first program
  • 02. What's a v-blank?
  • 03. VRAM buffer
  • 04. Full background
  • 05. Palettes
  • 06. Sprites
  • 07. Controllers
  • 08. BG collisions
  • 09. Scrolling
  • 10. Game loop
  • 11. Metatiles
  • 12. Scrolling right
  • 13. Scrolling up
  • 14. Platformer
  • 15. Music
  • 16. Sound effects
  • 17. DPCM Sound
  • 18. Sprite Zero
  • 19. More things
  • 20. Platformer again
  • 21. Finished Platformer
  • 22. Zapper / Power Pad
  • 23. Advanced mapper MMC1
  • 24. Advanced Mapper
  • Downloads, free games
  • Links and misc
  • Appendix, nesdoug library
  • Appendix, neslib library
Powered by GitBook
On this page

Was this helpful?

Links and misc

PreviousDownloads, free gamesNextAppendix, nesdoug library

Last updated 4 years ago

Was this helpful?

Here’s some example codes from Shiru’s website…(the link near the top that says “these small example programs” ).

I have a copy that works with the version I’ve been using for the past 2 years, cc65 version 2.15

You can import a MIDI file to famitracker (an older version). I discussed it on this post.

You can download the famitracker here (4.2 is the last version that imported MIDI)

.

Other projects in C.

Mojon Twins

.

cppchriscpp

.

.

.

I wrote 2 unofficial updates to the famitone music driver. NOTE. I fixed the bugs (I think).

famitone3.3, which adds all notes and a volume column (sacrifices some efficiency in size and speed).

And famitone4.1, which adds 1xx, 2xx, and 4xx effect support.

I have used these in some of my games. Jammin Honey and Flappy Jack, for example.

I added some other features and bug fixes, which I put in the original version also…

Changes: -added song names to file output -added command line switch -allin prevents removal of unused instruments -added command line switch -Wno suppresses warnings about unsupported effects

Bugfixes: -multiple D00 effects (different channels) incorrect pattern length -Bxx below D00 effect (different channels) incorrect pattern length -Bxx loop back causing wrong instrument inserted at loop point

example of new switches: text2vol filename.txt -ca65 -allin -Wno

https://shiru.untergrund.net/articles/programming_nes_games_in_c.htm
http://dl.dropboxusercontent.com/s/j80n6b9gfjntfip/cc65_examples.zip
https://nesdoug.com/2016/01/24/25-importing-a-midi-to-famitracker/
http://famitracker.com/downloads.php
https://github.com/mojontwins/MK1_NES
https://github.com/cppchriscpp/nes-starter-kit
https://github.com/nesdoug/famitone3.3
https://github.com/nesdoug/famitone4.1
https://github.com/nesdoug/famitone2d