]> git.sesse.net Git - pistorm/blob - a314/software-amiga/a314fs_pistorm/comment_out_sections.py
Adapt a314fs to work on PiStorm + A314 emulation
[pistorm] / a314 / software-amiga / a314fs_pistorm / comment_out_sections.py
1 with open('a314fs.asm', 'r+b') as f:
2     text = f.read().decode('utf-8')
3     text = text.replace('section', ';section')
4     f.seek(0, 0)
5     f.write(text.encode('utf-8'))