From b2ce68971c70e776f3c17618c9c8bc1b9c1828f4 Mon Sep 17 00:00:00 2001 From: dmang-dev <282426319+dmang-dev@users.noreply.github.com> Date: Fri, 15 May 2026 10:09:00 -0700 Subject: [PATCH] Add hash-bench-gb to Demos A hash-algorithm benchmark cartridge that times 18 cryptographic and non-cryptographic hashes on the SM83 (CRC-8/16/32, Adler-32, Fletcher- 16/32, Pearson-8, DJB2, FNV-1a, Knuth, Jenkins-OAT, PJW, SDBM, Murmur3-32, xxHash32, MD4, MD5, SHA-1) and displays ms/iter + KB/s on screen. Part of an open-source cross-platform suite that runs the same algorithm sources unmodified on seven Nintendo consoles, which makes it useful for "what does each console actually buy you" CPU comparisons rather than as a single-target demo. - Repo: https://github.com/dmang-dev/hash-bench-gb - v1.0.0 release with prebuilt .gb / .gbc ROMs: https://github.com/dmang-dev/hash-bench-gb/releases/tag/v1.0.0 - Cross-platform umbrella: https://github.com/dmang-dev/hash-bench - License: MIT - Built with: GBDK-2020 / SDCC Sister entries will be submitted to awesome-n64-development / awesome-gbadev / awesome-dsdev / awesome-8bitgamedev as separate PRs in their respective repos; they don't touch this list. Tested in mGBA, BGB, and SameBoy. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 9dd4897..7642953 100644 --- a/README.md +++ b/README.md @@ -481,6 +481,7 @@ Complete and open source games. - [matrix-rain-gb](https://github.com/wtjones/matrix-rain-gb) - A Matrix digital rain effect in assembler. - [GBVideoPlayer](https://github.com/LIJI32/GBVideoPlayer) - A technical demo demonstrating how the Game Boy LCD controller can be hacked to make a Game Boy Color play a full motion video in color, together with music. - [GBVideoPlayer2](https://github.com/LIJI32/GBVideoPlayer2) - The second iteration of the above demo, which increases the resolution, adds *stereo- PCM audio, and introduces video compression*. +- [hash-bench-gb](https://github.com/dmang-dev/hash-bench-gb) - Hash-algorithm benchmark cartridge that times 18 cryptographic and non-cryptographic hashes (CRC, MD5, SHA-1, etc.) on the SM83 and displays ms/iter and KB/s on screen. ## Reverse Engineering