git.y1.nz

gbdk-2020

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

commit ec0a7874ef91691efac43036fdc68b2fbdc50278
parent 728b58fcb0b148e64184c22aee4f5395d32429d1
Author: Toxa <untoxa@mail.ru>
Date:   Sun, 22 Aug 2021 12:11:13 +0300

SMS/GG: clear tilemap in VRAM on implicit font initialization

Diffstat:
Mgbdk-lib/libc/targets/z80/putchar.s2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/gbdk-lib/libc/targets/z80/putchar.s b/gbdk-lib/libc/targets/z80/putchar.s @@ -4,6 +4,7 @@ .module putchar .globl font_current, font_set, font_load_ibm + .globl _cls .globl .scroll_viewport ; Structure offsets @@ -54,6 +55,7 @@ _putchar:: or l ret z call font_set + call _cls pop de ld hl, (font_current+sfont_handle_font) 6$:

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