git.y1.nz

gbdk-2020

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

commit cabaee5642b2b779a2049a392f12e790e8744f44
parent 3286c41fa2a9452b86bfaffba2bf80c45aec4556
Author: toxa <untoxa@mail.ru>
Date:   Sun, 15 Nov 2020 18:54:15 +0300

wrong parameter offsets in hiramcpy() (broken ram_function example)

Diffstat:
Mgbdk-lib/libc/gb/hiramcpy.s4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gbdk-lib/libc/gb/hiramcpy.s b/gbdk-lib/libc/gb/hiramcpy.s @@ -4,9 +4,9 @@ .area _BASE _hiramcpy:: - LDA HL,4(SP) ; Skip return address and registers + LDA HL,2(SP) ; Skip return address and registers LD E,(HL) ; E = dst - LDA HL,7(SP) + LDA HL,5(SP) LD A,(HL-) LD D, A ; D = n LD A,(HL-) ; HL = src

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