Skip to content

NES Core 0.1.0

Choose a tag to compare

@arpitgoswami arpitgoswami released this 26 Nov 01:22

First tagged release of NES Core, a NES/Famicom emulator core in Rust with an egui desktop interface.

Added

  • iNES and NES 2.0 ROM parsing with header and size validation.
  • Ricoh 2A03 CPU with all official instructions, common unofficial instructions, cycle accounting, NMI/IRQ/reset and DMA stalls.
  • CPU memory bus with RAM mirroring, PPU/APU/controller routing and OAM DMA.
  • Scanline-rendering PPU: background, sprites (8x8/8x16), scrolling, nametables, attributes, palettes, sprite 0 hit, vblank/NMI, emphasis.
  • APU with two pulse channels, triangle, noise, DMC, frame sequencer, frame IRQ and non-linear mixer.
  • Standard controllers with strobe/shift behaviour.
  • Mappers: NROM, MMC1, UxROM, CNROM, MMC3 (with IRQ), AxROM.
  • Desktop application: ROM library with artwork fallback, import and drag-and-drop, game view with pixel aspect and integer scaling, pause, reset, fullscreen and performance readouts.
  • Versioned save states with ROM fingerprint validation and ten slots.
  • Persisted settings, rebindable keyboard controls, volume control, VSync and scaling options.
  • Six generic achievements that reflect events the emulator actually tracks.
  • Platform audio output: cpal on Windows/macOS; runtime-loaded ALSA on Linux.
  • Unit and integration tests for the CPU, cartridges, PPU output, NMI, audio sample generation, controllers and save states.
  • GitHub Actions CI for formatting, clippy, tests and a Windows release build.

Windows download

The attached nes-core-windows.zip contains nes-core.exe, the x86-64 Windows release build produced by CI for this release (13.5 MB executable, SHA-256 f88372c6d4bf69d4f6f3d13b830710d81866b2c7d43df70ba6036bb38c58a3ce). Windows only; build from source on Linux/macOS.

Known limitations

  • No gamepad, PAL timing, rewind, netplay, NSF playback or expansion audio.
  • PPU rendering is scanline-granular, not dot-exact within a scanline.
  • Commercial game compatibility has not been broadly validated.

Requires ROM files you own. No ROMs or Nintendo assets are distributed with this project.