Add some comments to document inputs/outputs of functions in home bank
This commit is contained in:
@@ -92,6 +92,7 @@ GetFarWord::
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
FarCopyWRAM::
|
FarCopyWRAM::
|
||||||
|
; copy bc bytes from hl to a:de
|
||||||
ldh [hTempBank], a
|
ldh [hTempBank], a
|
||||||
ldh a, [rSVBK]
|
ldh a, [rSVBK]
|
||||||
push af
|
push af
|
||||||
@@ -105,6 +106,7 @@ FarCopyWRAM::
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
GetFarWRAMByte::
|
GetFarWRAMByte::
|
||||||
|
; retrieve a single byte from a:hl, and return it in a.
|
||||||
ldh [hTempBank], a
|
ldh [hTempBank], a
|
||||||
ldh a, [rSVBK]
|
ldh a, [rSVBK]
|
||||||
push af
|
push af
|
||||||
@@ -118,6 +120,7 @@ GetFarWRAMByte::
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
GetFarWRAMWord:: ; unreferenced
|
GetFarWRAMWord:: ; unreferenced
|
||||||
|
; retrieve a word from a:hl, and return it in hl.
|
||||||
ldh [hTempBank], a
|
ldh [hTempBank], a
|
||||||
ldh a, [rSVBK]
|
ldh a, [rSVBK]
|
||||||
push af
|
push af
|
||||||
|
@@ -116,6 +116,7 @@ LoadFontsExtra2: ; unreferenced
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
DecompressRequest2bpp::
|
DecompressRequest2bpp::
|
||||||
|
; Load compressed 2bpp at b:hl to occupy c tiles of de.
|
||||||
push de
|
push de
|
||||||
ld a, BANK(sScratch)
|
ld a, BANK(sScratch)
|
||||||
call OpenSRAM
|
call OpenSRAM
|
||||||
|
Reference in New Issue
Block a user