summaryrefslogtreecommitdiff
path: root/home/print_text.asm
diff options
context:
space:
mode:
authorlibjet <libj3t@gmail.com>2020-03-15 00:17:02 +0000
committerlibjet <libj3t@gmail.com>2020-03-15 00:17:02 +0000
commit76216e6ce5de8a78cfd9312eb08dbb127b4d34d0 (patch)
treedaa241c9541bd7f66aea7220cd4da5efb9a8069a /home/print_text.asm
parent1ddf04da73b8784a08c679b73f576923768f97cf (diff)
Small home/ reorganization
Diffstat (limited to 'home/print_text.asm')
-rwxr-xr-xhome/print_text.asm17
1 files changed, 17 insertions, 0 deletions
diff --git a/home/print_text.asm b/home/print_text.asm
index b140b0de..9d80d6b4 100755
--- a/home/print_text.asm
+++ b/home/print_text.asm
@@ -146,4 +146,21 @@ FarPrintText::
pop af
rst Bankswitch
+ ret
+
+CallPointerAt::
+ ldh a, [hROMBank]
+ push af
+ ld a, [hli]
+ rst Bankswitch
+
+ ld a, [hli]
+ ld h, [hl]
+ ld l, a
+
+ call _hl_
+
+ pop hl
+ ld a, h
+ rst Bankswitch
ret \ No newline at end of file