summaryrefslogtreecommitdiff
path: root/home/tables.asm
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-07-03 17:07:05 -0400
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-07-03 17:07:05 -0400
commite1659ecd41dfac70eb021c0f5fe983ed6f043433 (patch)
tree86ec6137c666650168716247fa63241e79b1788b /home/tables.asm
parentf3f0e711bf4f4205fd29f2b448c93ff5597507e5 (diff)
Introduce linkerscript.
Addresses of sections will now be added to the linkerscript via `org`, and the section name will be the path/to/file. If there is more than one section in the file, then add a @SectionName after the path/to/file to describe the section.
Diffstat (limited to 'home/tables.asm')
-rwxr-xr-xhome/tables.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/tables.asm b/home/tables.asm
index 02fc78a..e5d9c1e 100755
--- a/home/tables.asm
+++ b/home/tables.asm
@@ -1,6 +1,6 @@
INCLUDE "constants.asm"
-SECTION "FindItemInTable", ROM0[$35F8]
+SECTION "home/tables.asm", ROM0
; find value a from table hl with row length de
; returns carry and row index b if successful
@@ -24,4 +24,4 @@ FindItemInTable: ; 00:35F8
.success
scf
- ret
+ ret \ No newline at end of file