Add some comments to document inputs/outputs of functions in home bank
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user