RockTunnel1 texts and update gbz80disasm to not handle $8

hg-commit-id: 86d0d495afbc
This commit is contained in:
Bryan Bishop 2012-01-10 17:35:03 -06:00
parent 22e331c330
commit f90b3fece1
2 changed files with 40 additions and 25 deletions

View file

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