internal void ReadFile(int Endian) { cBinLoader Loader = new cBinLoader(); if (Loader.LoadBin(Endian, FileType.File)) { this.SetFileData(Loader.GetReadOut()); } }
private void btAddKernel_Click(object sender, EventArgs e) { cBinLoader Loader = new cBinLoader(); if (Loader.LoadBin(Master.cbEndian.SelectedIndex, FileType.Kernel)) { Kernel = Loader.GetFile(FileType.Kernel); lbKernelStatus.Text = "kernel status: kernel loaded"; KernelAvaiable = true; if (BooloaderAvaiable && KernelAvaiable) { btCreateFloppy.Visible = true; } } }
private void btAddBootloader_Click(object sender, EventArgs e) { cBinLoader Loader = new cBinLoader(); if (Loader.LoadBin(Master.cbEndian.SelectedIndex, FileType.Bootloader)) { Bootloader = Loader.GetFile(FileType.Bootloader); lbBootloaderStatus.Text = "bootloader status: bootloader loaded"; BooloaderAvaiable = true; if (BooloaderAvaiable && KernelAvaiable) { btCreateFloppy.Visible = true; } } }