git @ Cat's Eye Technologies SixtyPical / 7baf47f
There wew bugfixes to dcc6502 since the version I had installed. Chris Pressey 3 years ago
1 changed file(s) with 0 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
1818
1919 lines = [line for line in check_output("dcc6502 -o 2061 {}".format(filename), shell=True).split('\n') if line and not line.startswith(';')]
2020 lines = [re.sub(r'\s*\;.*$', '', line) for line in lines]
21 if "BRK" in lines[-1]:
22 lines.pop()
2321 sys.stdout.write('\n'.join(lines))