Implemented BTX0 writing