From 28a6e53549e20fac141df97e2e6e9deff3e545a7 Mon Sep 17 00:00:00 2001 From: gloveless Date: Sun, 17 May 2015 10:44:29 -0700 Subject: [PATCH] Bochs configuration more configuration but it doesnt seem to connect idk.... --- Demos/Guess/Guess.Cosmos | 8 ++++---- source/Cosmos.Debug.VSDebugEngine/AD7.Impl/AD7Process.cs | 1 + .../Host/Bochs.Configuration.cs | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Demos/Guess/Guess.Cosmos b/Demos/Guess/Guess.Cosmos index d2a11c1f1..bb5371026 100644 --- a/Demos/Guess/Guess.Cosmos +++ b/Demos/Guess/Guess.Cosmos @@ -150,8 +150,8 @@ All False False - True - True + False + False Bochs @@ -295,8 +295,8 @@ All False False - True - True + False + False diff --git a/source/Cosmos.Debug.VSDebugEngine/AD7.Impl/AD7Process.cs b/source/Cosmos.Debug.VSDebugEngine/AD7.Impl/AD7Process.cs index 8fe434a9a..43fcd6ef8 100644 --- a/source/Cosmos.Debug.VSDebugEngine/AD7.Impl/AD7Process.cs +++ b/source/Cosmos.Debug.VSDebugEngine/AD7.Impl/AD7Process.cs @@ -429,6 +429,7 @@ namespace Cosmos.Debug.VSDebugEngine // TODO : What if the configuration file doesn't exist ? This will throw a FileNotFoundException in // the Bochs class constructor. Is this appropriate behavior ? mHost = new Host.Bochs(mDebugInfo, xUseGDB, bochsConfigurationFile); + //((Host.Bochs)mHost).FixBochsConfiguration(new KeyValuePair[] { new KeyValuePair("IsoFileName", mISO) }); break; case LaunchType.IntelEdison: diff --git a/source/Cosmos.Debug.VSDebugEngine/Host/Bochs.Configuration.cs b/source/Cosmos.Debug.VSDebugEngine/Host/Bochs.Configuration.cs index b5fc72d6f..9dddcf518 100644 --- a/source/Cosmos.Debug.VSDebugEngine/Host/Bochs.Configuration.cs +++ b/source/Cosmos.Debug.VSDebugEngine/Host/Bochs.Configuration.cs @@ -23,7 +23,7 @@ namespace Cosmos.Debug.VSDebugEngine.Host "plugin_ctrl: unmapped=1, biosdev=1, speaker=1, extfpuirq=1, parallel=1, serial=1, gameport=1\n" + "config_interface: win32config\n" + "display_library: win32\n" + -"memory: host=32, guest=32\n" + +"memory: host=128, guest=128\n" + "romimage: file=\""+BochsDirectory+"/BIOS-bochs-latest\"\n" + "vgaromimage: file=\""+BochsDirectory+"/VGABIOS-lgpl-latest\"\n" + "boot: cdrom\n" + @@ -57,7 +57,7 @@ namespace Cosmos.Debug.VSDebugEngine.Host "speaker: enabled=1, mode=sound\n" + "parport1: enabled=1, file=none\n" + "parport2: enabled=0\n" + -"com1: enabled=1, mode=pip-client, dev=\"%PIPESERVERNAME%\"\n" + +"com1: enabled=1, mode=pipe-client, dev=\"\\\\.\\%PIPESERVERNAME%\"\n" + "com2: enabled=0\n" + "com3: enabled=0\n" + "com4: enabled=0";