code: def bin2bas(self, data):
          
          data = bytearray(data)
  
          binary_file = BinaryFile()
          binary_file.load_from_bin(data)
  
          if binary_file.file_type != 0x01:
              log.error("ERROR: file type $%02X is not $01 (tokenised BASIC)!", binary_file.file_type)
  
          ascii_lines = self.program_dump2ascii_lines(dump=binary_file.data,
              # FIXME:
              #program_start=bin.exec_address
              program_start=binary_file.load_address
          )
          return "\n".join(ascii_lines)
docs: convert binary files to a ASCII basic string.
          Supported are:
              * Dragon DOS Binary Format
              * TODO: CoCo DECB (Disk Extended Color BASIC) Format
  
          see:
          http://archive.worldofdragon.org/phpBB3/viewtopic.php?f=8&t=348&p=10139#p10139