From cc25db6122158d15cbaad6e1d53b4c01ff1f1974 Mon Sep 17 00:00:00 2001 From: dmang-dev <282426319+dmang-dev@users.noreply.github.com> Date: Fri, 15 May 2026 16:42:16 -0700 Subject: [PATCH] Add hash-bench-nes to Home Consoles/NES MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index ab0ba9b..b204e19 100644 --- a/README.md +++ b/README.md @@ -133,6 +133,8 @@ and * [NESFab](https://pubby.games/nesfab.html) - A NES-specific programming language with advanced 6502 optimizations and automatic bank placement. +* [hash-bench-nes](https://github.com/dmang-dev/hash-bench-nes) - Hash-algorithm benchmark ROM that times 18 cryptographic and non-cryptographic hashes (CRC, MD5, SHA-1, etc.) on the 6502, displaying ms/iter on screen. Built with cc65; NROM (mapper 0). + ### Atari 7800 * [Atari 7800 (Dan Boris)](https://atarihq.com/danb/a7800.shtml) - System Specs, Cartridge Information, Links, The 'Encryption' Issue, Technical Files, and more.