diff options
author | Bryan Bishop <kanzure@gmail.com> | 2012-01-10 17:35:03 -0600 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2012-01-10 17:35:03 -0600 |
commit | f90b3fece14e1ee60a224ab9bde1771e5d98d47c (patch) | |
tree | bc382fbc9c68331f46e6c7ae511fb23ecb9d8765 /extras/gbz80disasm.py | |
parent | 22e331c330cd1a258350ce2d03154c6cb9371735 (diff) |
RockTunnel1 texts and update gbz80disasm to not handle $8
hg-commit-id: 86d0d495afbc
Diffstat (limited to 'extras/gbz80disasm.py')
-rw-r--r-- | extras/gbz80disasm.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/extras/gbz80disasm.py b/extras/gbz80disasm.py index f74cd98a..c07fad51 100644 --- a/extras/gbz80disasm.py +++ b/extras/gbz80disasm.py @@ -261,7 +261,7 @@ temp_opt_table = [ [ "LD DE, ?", 0x11, 2 ], [ "LD HL, ?", 0x21, 2 ], [ "LD SP, ?", 0x31, 2 ], - [ "LD [?], SP", 0x8, 2 ], +# [ "LD [?], SP", 0x8, 2 ], [ "LD [?], A", 0xea, 2 ], [ "NOP", 0x0, 0 ], [ "OR A", 0xb7, 0 ], @@ -735,10 +735,12 @@ def output_bank_opcodes(original_offset, max_byte_count=0x4000): keep_reading = False is_data = False #cleanup break - - if is_data and keep_reading: - output += spacing + "db $" + hex(ord(rom[offset+1]))[2:] #+ " ; " + hex(offset) + else: +# if is_data and keep_reading: + output += spacing + "db $" + hex(ord(rom[offset]))[2:] #+ " ; " + hex(offset) output += "\n" + offset += 1 + current_byte_number += 1 #else the while loop would have spit out the opcode #these two are done prior |