Skip to content

kittrz9/nes-emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

150 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NES emulator

a simple NES emulator written in C

the only currently implemented mappers are NROM, MMC1, UNROM, MMC3, MMC2, ANROM, and Sunsoft 5B (though the 5B's expanded audio only has enough implemented for Gimmick).

the controls are defined in src/input.c, currently they are set to be
A - Z
B - X
DPad - Arrow Keys
Start - Enter
Select - Right Shift

currently known issues

  • occasionally crackly audio
  • battletoads crashes when entering a level, probably due to inaccurate timing

building

to build it all you should need to do is run ./build.sh in this directory. it will download a version of SDL3 and compile that and then compile the emulator with it.

there is no windows support and probably never will be.

About

a simple NES emulator written in C

Resources

License

Stars

Watchers

Forks

Contributors