git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

commit 1e9d73fd53b81494ae8e96079b627f71f5c3a988
parent ec24d3138a1e996f9f267e792e35e2f3ba5c5817
Author: Toxa <56631470+untoxa@users.noreply.github.com>
Date:   Mon,  9 Mar 2026 01:46:49 +0300

Merge pull request #869 from Phidias618/patch-4

Optimize memset small for ALL of the sm83 ports
Diffstat:
Mgbdk-lib/libc/targets/sm83/duck/crt0.s3+++
Mgbdk-lib/libc/targets/sm83/gb/crt0.s3+++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/gbdk-lib/libc/targets/sm83/duck/crt0.s b/gbdk-lib/libc/targets/sm83/duck/crt0.s @@ -25,6 +25,9 @@ .MemsetSmall:: LD (HL+),A DEC C + RET Z + LD (HL+), A + DEC C JR NZ,.MemsetSmall ret diff --git a/gbdk-lib/libc/targets/sm83/gb/crt0.s b/gbdk-lib/libc/targets/sm83/gb/crt0.s @@ -24,6 +24,9 @@ .MemsetSmall:: LD (HL+),A DEC C + RET Z + LD (HL+),A + DEC C JR NZ,.MemsetSmall ret

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