summaryrefslogtreecommitdiff
path: root/extras/analyze_texts.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-01-17 13:34:51 -0600
committerBryan Bishop <kanzure@gmail.com>2012-01-17 13:34:51 -0600
commite5f9d4a1444d7a5dcb755ab1304b9be3ee4db6ed (patch)
tree7ecedbc5a8172798c4903233c497db5ec440465c /extras/analyze_texts.py
parentfe40cc4c7462bd5b528ad30c1d04f4d2702fd787 (diff)
text insertion code for unnamed TX_FARs
These TX_FARs are found in ASM inside INCBIN intervals, and as a consequence do not have good names. Someone will have to review the naming. Note that these texts may or may not be referenced in scripts that will eventually be imported. Some of these are raw texts that could be completely unreferenced, but so far that doesn't look like the case. hg-commit-id: 47239e73071a
Diffstat (limited to 'extras/analyze_texts.py')
-rw-r--r--extras/analyze_texts.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/analyze_texts.py b/extras/analyze_texts.py
index fe46067d..3e288dd0 100644
--- a/extras/analyze_texts.py
+++ b/extras/analyze_texts.py
@@ -627,6 +627,7 @@ def scan_rom_for_tx_fars(printer=True):
if address2 > 0x3fff:
address2 = extract_maps.calculate_pointer(address2, ord(rom[address+3]))
#print "possible TX_FAR at " + hex(address) + " to " + hex(address2)
+
possible_tx_fars.append(address)
possible_tx_far_targets.append([address2, address])