From bed1f9de97a0b3e8728659667e778f1e0458ad46 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Thu, 19 Jan 2012 13:09:25 -0600 Subject: minor touch-ups and missed TX_FARs hg-commit-id: 584a09bfde83 --- extras/analyze_texts.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'extras/analyze_texts.py') diff --git a/extras/analyze_texts.py b/extras/analyze_texts.py index fa21e3a5..733d0d61 100644 --- a/extras/analyze_texts.py +++ b/extras/analyze_texts.py @@ -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 -- cgit v1.2.3