+ renamed write_text() to write_rom() + added parameter to write_rom()
depends on a few not-yet-commited files