From f505fb3b59e48fc4b278526293dbd6fc555bf6b0 Mon Sep 17 00:00:00 2001 From: kudzu_cp <6d05c8c8ef5431987001abfdb2eadc9593ac9498> Date: Tue, 8 Jan 2008 22:40:32 +0000 Subject: [PATCH] Deleted old build files. --- Build/Cosmos/ISO.bat | 20 ------------ Build/Cosmos/PS1.bat | 2 -- Build/Cosmos/Run-PXE.ps1 | 13 -------- Build/Cosmos/Run-QEMU-Debug.ps1 | 54 --------------------------------- Build/Cosmos/Sub-Compile.ps1 | 4 --- Build/Cosmos/Sub-MakeISO.ps1 | 10 ------ Build/Cosmos/Sub-Pause.ps1 | 3 -- 7 files changed, 106 deletions(-) delete mode 100644 Build/Cosmos/ISO.bat delete mode 100644 Build/Cosmos/PS1.bat delete mode 100644 Build/Cosmos/Run-PXE.ps1 delete mode 100644 Build/Cosmos/Run-QEMU-Debug.ps1 delete mode 100644 Build/Cosmos/Sub-Compile.ps1 delete mode 100644 Build/Cosmos/Sub-MakeISO.ps1 delete mode 100644 Build/Cosmos/Sub-Pause.ps1 diff --git a/Build/Cosmos/ISO.bat b/Build/Cosmos/ISO.bat deleted file mode 100644 index e03ef8a9a..000000000 --- a/Build/Cosmos/ISO.bat +++ /dev/null @@ -1,20 +0,0 @@ -@rem call msbuild3_5 d:\dotnet\il2asm\repos\source\IL2CPU.sln -cd iso - -@REM ----------- Compile with IL2CPU -del output.asm -..\..\..\source\il2cpu\bin\Debug\il2cpu -in:..\..\..\source\Cosmos\Cosmos.Shell.Console\bin\Debug\Cosmos.Shell.Console.exe -plug:..\..\..\source\Cosmos\Cosmos.Kernel.Plugs\bin\Debug\Cosmos.Kernel.Plugs.dll -out:output.obj -platform:nativex86 -asm:output.asm -copy /Y output.obj files\output.obj -pause - -@REM ----------- Build ISO -del cosmos.iso -attrib files\syslinux\isolinux.bin -r -..\..\..\Tools\mkisofs\mkisofs -R -b syslinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table -o Cosmos.iso files -pause - -REM ----------- Start QEMU -del serial-debug.txt -cd ..\..\..\tools\qemu\ -qemu.exe -L . -cdrom ..\..\build\Cosmos\ISO\Cosmos.iso -boot d -hda ..\..\build\Cosmos\ISO\C-drive.img -serial file:..\..\build\Cosmos\ISO\serial-debug.txt -kernel-kqemu -pause \ No newline at end of file diff --git a/Build/Cosmos/PS1.bat b/Build/Cosmos/PS1.bat deleted file mode 100644 index 3ccccb0eb..000000000 --- a/Build/Cosmos/PS1.bat +++ /dev/null @@ -1,2 +0,0 @@ -@echo off -powershell -command "%1" diff --git a/Build/Cosmos/Run-PXE.ps1 b/Build/Cosmos/Run-PXE.ps1 deleted file mode 100644 index be35e60d7..000000000 --- a/Build/Cosmos/Run-PXE.ps1 +++ /dev/null @@ -1,13 +0,0 @@ -# call msbuild3_5 d:\dotnet\il2asm\repos\source\IL2CPU.sln - -.\sub-compile - -remove-item PXE\Boot\output.obj -ea SilentlyContinue -move-item output.obj PXE\Boot\output.obj - -# must change dir so tftpd32 will set itself to proper dir -cd pxe -.\tftpd32 -cd .. - -.\sub-pause diff --git a/Build/Cosmos/Run-QEMU-Debug.ps1 b/Build/Cosmos/Run-QEMU-Debug.ps1 deleted file mode 100644 index a0ac25443..000000000 --- a/Build/Cosmos/Run-QEMU-Debug.ps1 +++ /dev/null @@ -1,54 +0,0 @@ -# call msbuild3_5 d:\dotnet\il2asm\repos\source\IL2CPU.sln - -.\sub-compile -.\sub-pause - -.\sub-MakeISO -.\sub-pause - -cd iso -# ----------- Start QEMU -remove-item serial-debug.txt -ea SilentlyContinue -cd ..\..\..\tools\qemu\ -#.\qemu -L . -cdrom ..\..\build\Cosmos\ISO\Cosmos.iso -boot d -hda ..\..\build\Cosmos\ISO\C-drive.img -serial "file:..\..\build\Cosmos\ISO\serial-debug.txt" -S -s -$qemu = resolve-path qemu.exe -$qemuparms = '-L . -cdrom ..\..\build\Cosmos\ISO\Cosmos.iso -boot d -hda ..\..\build\Cosmos\ISO\C-drive.img -serial "file:..\..\build\Cosmos\ISO\serial-debug.txt" -no-kqemu -S -s' -# Still failing - because its a command line exe? run under cmd.exe? -$processInfo = new-object System.Diagnostics.ProcessStartInfo -$processInfo.FileName = $qemu -$processInfo.WorkingDirectory = [System.IO.Path]::GetDirectoryName($qemu); -$processInfo.Arguments = $qemuparms; -$processInfo.UseShellExecute = $False -$processInfo.RedirectStandardOutput = $False -$processInfo.RedirectStandardError = $False -$process = [System.Diagnostics.Process]::Start($processInfo) -#if(!($process.WaitForExit(60*1000) -and ($process.ExitCode -eq 0))) -#{ -# Write-Host $process.StandardOutput.ReadToEnd() -# Write-Host $process.StandardError.ReadToEnd() -#} -[System.Threading.Thread]::Sleep(1000) -cd ..\gdb\bin\ -$blaat = resolve-path ..\..\..\Build\Cosmos\ISO\files\output.obj -$gdb = resolve-path gdb.exe -$gdbparms = [System.String]::Concat($blaat, ' --eval-command="target remote:1234" --eval-command="b _CODE_REQUESTED_BREAK_" --eval-command="c"'); -$process2 = [System.Diagnostics.Process]::Start($gdb, $gdbparms); -$process2.WaitForExit() - -..\sub-pause - -#http://www.vistax64.com/powershell/114718-how-can-i-execute-wmi-method-asynchronously.html -#http://blogs.technet.com/industry_insiders/pages/executing-a-command-line-utility-from-powershell-and-waiting-for-it-to-finish.aspx -#invoke-item -if(!$process2.HasExited) { - $process2.Kill() -} -if(!$process.HasExited) { - $process.Kill() -} - -#PXE -#remove-item PXE\Boot\output.obj -ea SilentlyContinue -#move-item output.obj PXE\Boot\output.obj - - diff --git a/Build/Cosmos/Sub-Compile.ps1 b/Build/Cosmos/Sub-Compile.ps1 deleted file mode 100644 index 288eaaa92..000000000 --- a/Build/Cosmos/Sub-Compile.ps1 +++ /dev/null @@ -1,4 +0,0 @@ -# ----------- Compile with IL2CPU -remove-item output.asm -ea SilentlyContinue - -..\..\source\il2cpu\bin\Debug\il2cpu "-in:..\..\source\Cosmos\Cosmos.Shell.Console\bin\Debug\Cosmos.Shell.Console.exe" "-plug:..\..\source\Cosmos\Cosmos.Kernel.Plugs\bin\Debug\Cosmos.Kernel.Plugs.dll" "-out:output.obj" "-platform:nativex86" "-asm:.\asm" diff --git a/Build/Cosmos/Sub-MakeISO.ps1 b/Build/Cosmos/Sub-MakeISO.ps1 deleted file mode 100644 index 09ea807e3..000000000 --- a/Build/Cosmos/Sub-MakeISO.ps1 +++ /dev/null @@ -1,10 +0,0 @@ -# ----------- Build ISO -remove-item ISO\files\output.obj -ea SilentlyContinue -move-item output.obj ISO\files\output.obj - -remove-item ISO\cosmos.iso -ea SilentlyContinue -attrib ISO\files\syslinux\isolinux.bin -r - -cd iso -..\..\..\Tools\mkisofs\mkisofs -R -b syslinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table -o Cosmos.iso files -cd .. diff --git a/Build/Cosmos/Sub-Pause.ps1 b/Build/Cosmos/Sub-Pause.ps1 deleted file mode 100644 index 7e4182130..000000000 --- a/Build/Cosmos/Sub-Pause.ps1 +++ /dev/null @@ -1,3 +0,0 @@ -Write-Host -NoNewLine "Press any key to continue..." -$null = $Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") -Write-Host ""