From ae7ee67d21a5c55f815f977ccf055157d4db9346 Mon Sep 17 00:00:00 2001 From: Brian Saydak Date: Wed, 18 Jun 2025 19:34:55 +0200 Subject: [PATCH] Add some comments to document inputs/outputs of functions in home bank --- home/copy.asm | 3 +++ home/gfx.asm | 1 + 2 files changed, 4 insertions(+) diff --git a/home/copy.asm b/home/copy.asm index a4ca21f7f..64b1b04c6 100644 --- a/home/copy.asm +++ b/home/copy.asm @@ -92,6 +92,7 @@ GetFarWord:: ret FarCopyWRAM:: +; copy bc bytes from hl to a:de ldh [hTempBank], a ldh a, [rSVBK] push af @@ -105,6 +106,7 @@ FarCopyWRAM:: ret GetFarWRAMByte:: +; retrieve a single byte from a:hl, and return it in a. ldh [hTempBank], a ldh a, [rSVBK] push af @@ -118,6 +120,7 @@ GetFarWRAMByte:: ret GetFarWRAMWord:: ; unreferenced +; retrieve a word from a:hl, and return it in hl. ldh [hTempBank], a ldh a, [rSVBK] push af diff --git a/home/gfx.asm b/home/gfx.asm index 339f5c3d7..b9b5f73f6 100644 --- a/home/gfx.asm +++ b/home/gfx.asm @@ -116,6 +116,7 @@ LoadFontsExtra2: ; unreferenced ret DecompressRequest2bpp:: +; Load compressed 2bpp at b:hl to occupy c tiles of de. push de ld a, BANK(sScratch) call OpenSRAM