mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-11-21 20:35:33 +13:00
fix gbz80disasm to optionally load a module in analyze_texts
hg-commit-id: 0504f841a9d5
This commit is contained in:
parent
a036d99f28
commit
a1eebadc37
|
|
@ -3,7 +3,9 @@
|
||||||
#date: 2012-01-06
|
#date: 2012-01-06
|
||||||
#analyze texts, how many commands are unknown?
|
#analyze texts, how many commands are unknown?
|
||||||
import extract_maps
|
import extract_maps
|
||||||
from pretty_map_headers import map_name_cleaner
|
try:
|
||||||
|
from pretty_map_headers import map_name_cleaner
|
||||||
|
except Exception, exc: pass
|
||||||
from operator import itemgetter
|
from operator import itemgetter
|
||||||
import sys
|
import sys
|
||||||
debug = False #set to True to increase logging output
|
debug = False #set to True to increase logging output
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
#date: 2012-01-09
|
#date: 2012-01-09
|
||||||
import extract_maps
|
import extract_maps
|
||||||
from copy import copy, deepcopy
|
from copy import copy, deepcopy
|
||||||
from pretty_map_headers import random_hash
|
from pretty_map_headers import random_hash, map_name_cleaner
|
||||||
spacing = " "
|
spacing = " "
|
||||||
|
|
||||||
temp_opt_table = [
|
temp_opt_table = [
|
||||||
|
|
@ -712,4 +712,4 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
#0x18f96 is PalletTownText1
|
#0x18f96 is PalletTownText1
|
||||||
#0x19B5D is BluesHouseText1
|
#0x19B5D is BluesHouseText1
|
||||||
print output_bank_opcodes(0x1e374 + 1)
|
print output_bank_opcodes(0x1b40)[0]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue