mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
minor touch-ups and missed TX_FARs
hg-commit-id: 584a09bfde83
This commit is contained in:
parent
dac8f912af
commit
bed1f9de97
2 changed files with 46 additions and 18 deletions
|
|
@ -488,6 +488,16 @@ def text_pretty_printer_at(start_address, label="SomeLabel"):
|
|||
output += "\n" + spacing + "db $11"
|
||||
byte_count += 1
|
||||
had_db_last = True
|
||||
elif command["type"] == 0x6: #wait for keypress
|
||||
if first_line:
|
||||
output = "\n" + label + ": ; " + hex(start_address)
|
||||
first_line = False
|
||||
if had_db_last:
|
||||
output += ", $6"
|
||||
else:
|
||||
output += "\n" + spacing + "db $6"
|
||||
byte_count += 1
|
||||
had_db_last = True
|
||||
else:
|
||||
print "ERROR in command: " + hex(command["type"])
|
||||
had_db_last = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue