Skip to content
forked from Ace17/snes-sdk

Super NES / Super Famicom Software Development Kit

Notifications You must be signed in to change notification settings

naosoft/snes-sdk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

127 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a cleaned-up fork of the 'snes-sdk'.

Differences from the original:

  • Focus on code readability: that's the whole point of using a higher-level language like C.
  • The original came with some version of snes9x. This is additional maintenance, and isn't really needed: just use your favorite SNES emulator (I'm using mednafen).

Objectives:

  • Switch to a LLVM/clang toolchain: this way we will benefit from lots of code optimizations, allowing us to write simpler C code.
  • C99 support. Currently, only C89 is supported.
  • Basic C++ 17 support. It would be nice to have: constexpr, virtual functions, destructors, templates. On the other hand, we probably don't need: new, catch/throw, the STL.

Dependencies:

  • A C compiler that supports '-m32'. On Debian/Ubuntu:
$ apt-get install gcc gcc-multilib

Usage:

$ cd snes-sdk
$ make
$ make install # This will install the toolchain to /tmp/snes-sdk

$ cd example
$ make # This will build example/bin/snesc.smc, that you can load into an emulator

About

Super NES / Super Famicom Software Development Kit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 85.4%
  • Assembly 7.0%
  • C++ 3.2%
  • HTML 1.7%
  • Makefile 0.9%
  • Python 0.6%
  • Other 1.2%