Add hash-bench-nes to Home Consoles/NES - #5
Open
dmang-dev wants to merge 1 commit into
Open
Conversation
A cc65-based NROM ROM that times 18 hash algorithms on the 1.79 MHz 6502 and displays milliseconds-per-iteration on screen. The implementation deliberately keeps to the algorithms whose state fits the cc65 toolchain's no-uint64_t constraint (so SHA-512, SHA-3, xxHash64 etc. are dropped; everything else carries over). Useful as a worked example of practical cc65 usage on real NES hardware — passes Mesen2 cleanly; FCEUX has WRAM-mapping issues documented in the README. - Repo: https://github.com/dmang-dev/hash-bench-nes - v1.0.0 release with prebuilt .nes: https://github.com/dmang-dev/hash-bench-nes/releases/tag/v1.0.0 - License: MIT - Built with: cc65 I'm the author.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does
Adds a single entry to Home Consoles → NES:
Why this section
The NES section here mixes tutorials, tools, homebrew, and references — a working cc65 NROM project that's something other than a game fits cleanly. Sits next to
NESFab(NES-specific language) andFamiStudio(NES tool) at the bottom of the section.Project at a glance
.nes: https://github.com/dmang-dev/hash-bench-nes/releases/tag/v1.0.0--standard c99— the canonical NES nes.lib usesextern voidarrays in its headers that don't pass strict C99)The README documents a real cc65-on-NES gotcha that bit us during development: cc65's NES BSS at $6000 requires the iNES header to flag battery PRG RAM, and FCEUX is stricter about NROM/WRAM combinations than Mesen — so the prebuilt ROM works in Mesen2 but may not boot cleanly in FCEUX.
Disclosure
I'm the author.