remove a broken, unfinished disassembler (DisAsm)

This removes DisAsm from romstr.py, which was the only reason that
gbz80disasm wasn't able to import RomStr from romstr.py.

DisAsm was an experimental gbz80 disassembler that was meant to replace
gbz80disasm eventually. The goals were to write cleaner code and write
more unit tests. But it never worked and the code quality looks close to
being the same as gbz80disasm anyway.
This commit is contained in:
Bryan Bishop
2013-01-27 16:49:35 -06:00
parent a1579ab519
commit 00f1b71cd4
2 changed files with 4 additions and 333 deletions

View File

@@ -9,15 +9,13 @@ import random
spacing = "\t"
class XRomStr(str):
def __repr__(self):
return "RomStr(too long)"
from romstr import RomStr
def load_rom(filename="../baserom.gbc"):
"""loads bytes into memory"""
global rom
file_handler = open(filename, "rb")
rom = XRomStr(file_handler.read())
rom = RomStr(file_handler.read())
file_handler.close()
return rom