* 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:
Mr Wint 2013-03-12 03:46:32 +01:00
parent 120235c393
commit 66aaa9a0cb
3 changed files with 240 additions and 36 deletions

View file

@ -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