public int CompileRom(string fileName) { _rom = new Rom(); if (!_rom.Load(fileName)) { throw new Exception("Unable to load rom."); } WritePalettes(_palettesService.GetPalettes()); WriteTileBlockData(); _dataPointer = 0x24010; CompileWorlds(); _dataPointer = 0x40010; _dataPointer = CompileLevels(); WriteGraphics(); _rom.Save(); return(0x7C00F - _dataPointer); }
public void Init() { _bios.Load(@"..\..\..\Apps\BIOS\bin\ROM0.bin", @"..\..\..\Apps\BIOS\bin\ROM1.bin"); }