mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-24 12:35:31 +00:00
Changed registry key names to avoid conflicts
This commit is contained in:
parent
3c51edc15f
commit
eea7a57ecf
2 changed files with 8 additions and 7 deletions
|
|
@ -15,14 +15,15 @@ namespace Cosmos.Playground.Kudzu {
|
||||||
public static void Init() {
|
public static void Init() {
|
||||||
var xBoot = new Cosmos.Sys.Boot();
|
var xBoot = new Cosmos.Sys.Boot();
|
||||||
xBoot.Execute();
|
xBoot.Execute();
|
||||||
//System.Diagnostics.Debugger.Break();
|
|
||||||
Console.WriteLine("Boot complete");
|
Console.WriteLine("Boot complete");
|
||||||
|
|
||||||
//PCITest.Test();
|
//PCITest.Test();
|
||||||
//Tests.DoAll();
|
//Tests.DoAll();
|
||||||
//RTL8139.Test();
|
//RTL8139.Test();
|
||||||
Debugger.Main();
|
//Debugger.Main();
|
||||||
|
|
||||||
|
Console.WriteLine("Done - Waiting");
|
||||||
|
Console.ReadLine();
|
||||||
//TODO: Make this automatically called after Init if no other shut downs are called
|
//TODO: Make this automatically called after Init if no other shut downs are called
|
||||||
Cosmos.Sys.Deboot.Halt();
|
Cosmos.Sys.Deboot.Halt();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -33,13 +33,13 @@ namespace Cosmos.Build.Windows {
|
||||||
DebugMode = (string)xKey.GetValue("Debug Mode");
|
DebugMode = (string)xKey.GetValue("Debug Mode");
|
||||||
UseGDB = Boolean.Parse((string)xKey.GetValue("UseGDB", "false"));
|
UseGDB = Boolean.Parse((string)xKey.GetValue("UseGDB", "false"));
|
||||||
CreateHDImage = Boolean.Parse((string)xKey.GetValue("Use HD Image", "false"));
|
CreateHDImage = Boolean.Parse((string)xKey.GetValue("Use HD Image", "false"));
|
||||||
UseNetworkTAP = Boolean.Parse((string)xKey.GetValue("Use Network TAP", "false"));
|
UseNetworkTAP = Boolean.Parse((string)xKey.GetValue("Use TAP", "false"));
|
||||||
NetworkCard = (string)xKey.GetValue("NetworkCard", Builder.QemuNetworkCard.rtl8139.ToString());
|
NetworkCard = (string)xKey.GetValue("NetworkCard", Builder.QemuNetworkCard.rtl8139.ToString());
|
||||||
AudioCard = (string)xKey.GetValue("AudioCard", Builder.QemuAudioCard.es1370.ToString());
|
AudioCard = (string)xKey.GetValue("AudioCard", Builder.QemuAudioCard.es1370.ToString());
|
||||||
VMWareEdition = (string)xKey.GetValue("VMWare Edition");
|
VMWareEdition = (string)xKey.GetValue("VMWare Edition");
|
||||||
USBDevice = (string)xKey.GetValue("USB Device");
|
USBDevice = (string)xKey.GetValue("USB Device");
|
||||||
ShowOptions = Boolean.Parse((string)xKey.GetValue("Show Options", "true"));
|
ShowOptions = Boolean.Parse((string)xKey.GetValue("Show Options", "true"));
|
||||||
ShowConsoleWindow = Boolean.Parse((string)xKey.GetValue("Show Console Window", "false"));
|
ShowConsoleWindow = Boolean.Parse((string)xKey.GetValue("Show Console", "false"));
|
||||||
CompileIL = Boolean.Parse((string)xKey.GetValue("CompileIL", "true"));
|
CompileIL = Boolean.Parse((string)xKey.GetValue("CompileIL", "true"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -52,13 +52,13 @@ namespace Cosmos.Build.Windows {
|
||||||
xKey.SetValue("Debug Mode", DebugMode);
|
xKey.SetValue("Debug Mode", DebugMode);
|
||||||
xKey.SetValue("UseGDB", UseGDB.ToString());
|
xKey.SetValue("UseGDB", UseGDB.ToString());
|
||||||
xKey.SetValue("Use HD Image", CreateHDImage.ToString());
|
xKey.SetValue("Use HD Image", CreateHDImage.ToString());
|
||||||
xKey.SetValue("Use Network TAP", UseNetworkTAP.ToString());
|
xKey.SetValue("Use TAP", UseNetworkTAP.ToString());
|
||||||
xKey.SetValue("NetworkCard", NetworkCard);
|
xKey.SetValue("NetworkCard", NetworkCard);
|
||||||
xKey.SetValue("AudioCard", AudioCard);
|
xKey.SetValue("AudioCard", AudioCard);
|
||||||
xKey.SetValue("VMWare Edition", VMWareEdition ?? "");
|
xKey.SetValue("VMWare Edition", VMWareEdition ?? "");
|
||||||
xKey.SetValue("USB Device", USBDevice??"");
|
xKey.SetValue("USB Device", USBDevice??"");
|
||||||
xKey.SetValue("Show Options", ShowOptions.ToString());
|
xKey.SetValue("Show Options", ShowOptions.ToString());
|
||||||
xKey.SetValue("Show Console Window", ShowConsoleWindow.ToString());
|
xKey.SetValue("Show Console", ShowConsoleWindow.ToString());
|
||||||
xKey.SetValue("CompileIL", CompileIL.ToString());
|
xKey.SetValue("CompileIL", CompileIL.ToString());
|
||||||
xKey.Flush();
|
xKey.Flush();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue