def build_rom(self): rom_data = RomBuilder.build_rom(self) # write a header kh = KickRomAccess(rom_data) kh.write_ext_header(self.kick_addr + 2, self.rom_ver) # write footer if self.add_footer: kh.write_ext_footer() return rom_data
def build_rom(self): rom_data = RomBuilder.build_rom(self) # write a header kh = KickRomAccess(rom_data) kh.write_ext_header(self.kick_addr+2, self.rom_ver) # write footer if self.add_footer: kh.write_ext_footer() return rom_data
def build_rom(self): rom_data = RomBuilder.build_rom(self) # add kick sum kh = KickRomAccess(rom_data) # ensure that first module brought the header if not kh.check_header(): self.error = "First KickROM module does not contain RomHdr!" return None # write custom rev? if self.rom_ver is not None: kh.write_rom_ver_rev(self.rom_ver) # write missing entries in footer kh.write_ext_footer() return rom_data
def build_rom(self): rom_data = RomBuilder.build_rom(self) # add kick sum kh = KickRomAccess(rom_data) # ensure that first module brought the header if not kh.check_header(): self.error = "First KickROM module does not contain RomHdr!" return None # write custom rev? if self.rom_ver is not None: kh.write_rom_ver_rev(self.rom_ver) # write missing entries in footer kh.write_ext_footer() return rom_data