From a71901456fd1b3dd0414963589b2739cbd1efe5a Mon Sep 17 00:00:00 2001 From: bbbbbr Date: Thu, 4 Dec 2025 23:48:03 -0800 Subject: [PATCH] Build: Use SDCC 4.5.0 with backported HRAM and dataseg patches Workaround to mos6502/NES problems with SDCC 15614 (~4.5.4/5) --- .github/workflows/gbdk_build_and_package.yml | 12 ++++++------ .github/workflows/gbdk_build_examples.yml | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/gbdk_build_and_package.yml b/.github/workflows/gbdk_build_and_package.yml index 55a51c7a..f4fb539f 100644 --- a/.github/workflows/gbdk_build_and_package.yml +++ b/.github/workflows/gbdk_build_and_package.yml @@ -33,38 +33,38 @@ jobs: - name: Linux Depends if: matrix.name == 'Linux-x64' run: | - curl -Lo sdcc.tar.gz https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/gbdk-sdcc-next/sdcc-15614-Linux-x64.tar.gz + curl -Lo sdcc.tar.gz https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/gbdk-sdcc-next/sdcc-15267-dataseg-hram-Linux-x64.tar.gz tar xvfz sdcc.tar.gz - name: Linux Arm Depends if: matrix.name == 'Linux-arm64' run: | - curl -Lo sdcc.tar.gz https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/gbdk-sdcc-next/sdcc-15614-Linux-arm64.tar.gz + curl -Lo sdcc.tar.gz https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/gbdk-sdcc-next/sdcc-15267-dataseg-hram-Linux-arm64.tar.gz tar xvfz sdcc.tar.gz - name: MacOS Depends if: matrix.name == 'MacOS-x64' run: | - curl -Lo sdcc.tar.gz https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/gbdk-sdcc-next/sdcc-15614-MacOS-x64.tar.gz + curl -Lo sdcc.tar.gz https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/gbdk-sdcc-next/sdcc-15267-dataseg-hram-MacOS-x64.tar.gz tar xvfz sdcc.tar.gz - name: MacOS ARM Depends if: matrix.name == 'MacOS-arm64' run: | - curl -Lo sdcc.tar.gz https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/gbdk-sdcc-next/sdcc-15614-MacOS-arm64.tar.gz + curl -Lo sdcc.tar.gz https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/gbdk-sdcc-next/sdcc-15267-dataseg-hram-MacOS-arm64.tar.gz tar xvfz sdcc.tar.gz - name: Windows-x64 Depends if: matrix.name == 'Windows-x64' run: | - curl -Lo sdcc.tar.gz https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/gbdk-sdcc-next/sdcc-15614-Win64-On-Linux.tar.gz + curl -Lo sdcc.tar.gz https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/gbdk-sdcc-next/sdcc-15267-dataseg-hram-Win64-On-Linux.tar.gz 7z x sdcc.tar.gz 7z x sdcc.tar - name: Windows-x32 Depends if: matrix.name == 'Windows-x32' run: | - curl -Lo sdcc.tar.gz https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/gbdk-sdcc-next/sdcc-15614-Win32-On-Linux.tar.gz + curl -Lo sdcc.tar.gz https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/gbdk-sdcc-next/sdcc-15267-dataseg-hram-Win32-On-Linux.tar.gz 7z x sdcc.tar.gz 7z x sdcc.tar diff --git a/.github/workflows/gbdk_build_examples.yml b/.github/workflows/gbdk_build_examples.yml index f0ecfd27..05b4b826 100644 --- a/.github/workflows/gbdk_build_examples.yml +++ b/.github/workflows/gbdk_build_examples.yml @@ -33,38 +33,38 @@ jobs: - name: Linux x86 Depends if: matrix.name == 'Linux-x64' run: | - curl -Lo sdcc.tar.gz https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/gbdk-sdcc-next/sdcc-15614-Linux-x64.tar.gz + curl -Lo sdcc.tar.gz https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/gbdk-sdcc-next/sdcc-15267-dataseg-hram-Linux-x64.tar.gz tar xvfz sdcc.tar.gz - name: Linux arm64 Depends if: matrix.name == 'Linux-arm64' run: | - curl -Lo sdcc.tar.gz https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/gbdk-sdcc-next/sdcc-15614-Linux-arm64.tar.gz + curl -Lo sdcc.tar.gz https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/gbdk-sdcc-next/sdcc-15267-dataseg-hram-Linux-arm64.tar.gz tar xvfz sdcc.tar.gz - name: MacOS Depends if: matrix.name == 'MacOS-x64' run: | - curl -Lo sdcc.tar.gz https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/gbdk-sdcc-next/sdcc-15614-MacOS-x64.tar.gz + curl -Lo sdcc.tar.gz https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/gbdk-sdcc-next/sdcc-15267-dataseg-hram-MacOS-x64.tar.gz tar xvfz sdcc.tar.gz - name: MacOS ARM Depends if: matrix.name == 'MacOS-arm64' run: | - curl -Lo sdcc.tar.gz https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/gbdk-sdcc-next/sdcc-15614-MacOS-arm64.tar.gz + curl -Lo sdcc.tar.gz https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/gbdk-sdcc-next/sdcc-15267-dataseg-hram-MacOS-arm64.tar.gz tar xvfz sdcc.tar.gz - name: Windows-x64 Depends if: matrix.name == 'Windows-x64' run: | - curl -Lo sdcc.tar.gz https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/gbdk-sdcc-next/sdcc-15614-Win64-On-Linux.tar.gz + curl -Lo sdcc.tar.gz https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/gbdk-sdcc-next/sdcc-15267-dataseg-hram-Win64-On-Linux.tar.gz 7z x sdcc.tar.gz 7z x sdcc.tar - name: Windows-x32 Depends if: matrix.name == 'Windows-x32' run: | - curl -Lo sdcc.tar.gz https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/gbdk-sdcc-next/sdcc-15614-Win32-On-Linux.tar.gz + curl -Lo sdcc.tar.gz https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/download/gbdk-sdcc-next/sdcc-15267-dataseg-hram-Win32-On-Linux.tar.gz 7z x sdcc.tar.gz 7z x sdcc.tar