summaryrefslogtreecommitdiff
path: root/tools/map2link.py
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2018-06-05 09:49:37 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2018-06-05 09:49:37 -0400
commit66f68b5b44c330e25fbd7e94b03f784233bdcc7b (patch)
treed40aa4060bf7a75f30d7374caba99e39db285657 /tools/map2link.py
parentd2be017d14da9db35d51305b7465c33d78c25689 (diff)
(Temporarily) print end of last section cluster when there is a gap in coverage
Diffstat (limited to 'tools/map2link.py')
-rw-r--r--tools/map2link.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/map2link.py b/tools/map2link.py
index 53f0836..f78e46f 100644
--- a/tools/map2link.py
+++ b/tools/map2link.py
@@ -177,6 +177,7 @@ def main():
start = bank.start
for section in sections:
if section.start > start:
+ print(f'\t; ${start:04x}', file=args.linkfile)
print(f'\torg ${section.start:04x}', file=args.linkfile)
print(f'\t"{section.name}" ; size: ${section.size:04x}', file=args.linkfile)
start = section.end