def writeToRom(self, rom): for (cat, items) in self.ENTRY_LOCS: catDict = self._data[cat] for (desc, loc, size) in items: EbModule.writeStandardText(rom, loc, catDict[desc], size) if (cat == "Status Window") and (len(catDict[desc]) < size): rom.write(loc+len(catDict[desc]), [00] * (size-len(catDict[desc]))) updateProgress(self._pct)
def writeToRom(self, rom, addr): EbModule.writeStandardText(rom, addr, self._data, self._size)