git.y1.nz

SameBoy

Accurate GB/GBC emulator
download: https://git.y1.nz/archives/sameboy.tar.gz
README | Files | Log | Refs | LICENSE

commit a7b218f638d02574653280d644106cdcc4bfbd79
parent 8d6ff9aafc8f87661ab9b461f721eaf10d7ecaee
Author: Lior Halphon <2345928+LIJI32@users.noreply.github.com>
Date:   Sat, 13 Sep 2025 17:00:32 +0300

Merge pull request #722 from Rangi42/update

Build boot ROMs with RGBDS 0.9.4 or greater
Diffstat:
M.github/actions/install_deps.sh5++---
M.github/actions/sanity_tests.sh3+--
MBootROMs/cgb_boot.asm4++--
3 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/.github/actions/install_deps.sh b/.github/actions/install_deps.sh @@ -4,7 +4,7 @@ case `echo $1 | cut -d '-' -f 1` in sudo apt-get install -yq bison libpng-dev pkg-config libsdl2-dev libgdk-pixbuf2.0-dev ( cd `mktemp -d` - curl -L https://github.com/rednex/rgbds/archive/v0.6.0.zip > rgbds.zip + curl -L https://github.com/gbdev/rgbds/archive/v0.9.4.zip > rgbds.zip unzip rgbds.zip cd rgbds-* make -sj @@ -33,4 +33,4 @@ case `echo $1 | cut -d '-' -f 1` in echo "Unsupported OS" exit 1 ;; -esac - +esac diff --git a/.github/actions/sanity_tests.sh b/.github/actions/sanity_tests.sh @@ -32,4 +32,4 @@ if [ -n "$FAILED_TESTS" ] ; then exit 1 fi -echo Passed all tests - +echo Passed all tests diff --git a/BootROMs/cgb_boot.asm b/BootROMs/cgb_boot.asm @@ -981,10 +981,10 @@ GetPaletteIndex: .newLicensee ld l, LOW(NewLicenseeCode) ld a, [hli] - cp "0" + cp $30 ; ASCII '0' jr nz, .notNintendo ld a, [hl] - cp "1" + cp $31 ; ASCII '1' jr nz, .notNintendo .doChecksum

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.