mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
* added verification (equality test) for blue version build
* changed analyze_incbins to recognize generated label addresses * fixed bank 1D assembly to make blue version build correctly
This commit is contained in:
parent
120235c393
commit
66aaa9a0cb
3 changed files with 240 additions and 36 deletions
|
|
@ -337,6 +337,12 @@ def get_labels_between(start_line_id, end_line_id, bank_id):
|
|||
errors += "found \" to \" in partial on line " + str(line_id) + ", but don't know what to do (debug14)" + "\n"
|
||||
errors += "line is: " + line + "\n"
|
||||
continue
|
||||
elif partial[4] == " " and partial[5] == "(":
|
||||
temp = partial[0:4]
|
||||
address = int(temp, 16)
|
||||
elif partial[5] == " " and partial[6] == "(":
|
||||
temp = partial[0:5]
|
||||
address = int(temp, 16)
|
||||
elif len(partial[4]) == 4 or partial[4] == " ": #then it's probably a local pointer
|
||||
temp = partial[0:4]
|
||||
local_pointer = "$" + temp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue