QuickerNES, a modern version of quickNES
Go to file
Sergio Martin ad9858a564 Adding no frills memcpy-based ines loader 2024-01-14 19:28:40 +01:00
extern Adding original quicknes for proper benchmark comparison and testing 2024-01-14 10:59:20 +01:00
overlay Adding tests and moving code around 2024-01-10 19:48:57 +01:00
source Adding no frills memcpy-based ines loader 2024-01-14 19:28:40 +01:00
tests adding the baseile quickNES from libretro as part of the benchmark 2024-01-14 11:48:26 +01:00
.gitignore Adding third party tools, meson scripts, starting with the player 2024-01-09 20:12:22 +01:00
.gitmodules Adding original quicknes for proper benchmark comparison and testing 2024-01-14 10:59:20 +01:00
LICENSE Adding initial version 2024-01-08 20:11:49 +01:00
README.md Added alignment option 2024-01-14 10:13:28 +01:00
meson.build adding the baseile quickNES from libretro as part of the benchmark 2024-01-14 11:48:26 +01:00
meson_options.txt Adding no frills memcpy-based ines loader 2024-01-14 19:28:40 +01:00

README.md

quickerNES

quickerNES is an attempt to modernizing and improving the performance of quickNES, the fastest NES emulator in the interwebs (as far as I know). The goals for this project are, in order of importance:

  • Improve overall emulation performance even more
  • Modernize the code base with best programming practices, including CI tests, benchmarks, and coverage analysis
  • Add support for more mappers, controllers, and features supported by other emulators
  • Improve accuracy, if possible

The main aim is to improve the performance of skip (non-rendering, no-audio) frame advances for brute force botting. (See: JaffarPlus). However, if this work might help with homebrew emulation and other people having more fun, then much better!

Changes

  • Optimizations made in the CPU emulation core, including:
    • Forced alignment at the start of a page to prevent crossing cache line boundaries
    • Simplifying instruction decode
  • Minimize compiled code size to reduce pressure on L1i cache

Credits

  • quickNES was originally by Shay Green (a.k.a. Blaarg) under the GNU GPLv2 license. The source code is still located here
  • The code was later improved and maintained by Christopher Snowhill (a.k.a. kode54)
  • I could trace further contributions (e.g., new mappers) by retrowertz, CaH4e3, some adaptations from the FCEUX emulator (see mapper021)
  • The latest version of the code is maintained by Libretro's community here
  • For the interactive player, this project uses a modified version of HeadlessQuickNES (HQN) by Drew (Binder News)
  • We use some of the NES test rom set made by multiple authors and gathered by Christopher Pow et al.
  • We also use some movies from the (TASVideos)[tasvideos.org] website for testing. These movies are copied into this repository with authorization under the Creative Commons Attribution 2.0 license.

All base code for this project was found under open source licenses, which I preserved in their corresponding files/folders. Any non-credited work is unintentional and shall be immediately rectfied.