This commit is contained in:
Charles Betros 2015-12-17 00:16:22 -06:00
commit f4d0ec86a6
4 changed files with 8 additions and 15 deletions

View file

@ -1,8 +1,4 @@
default Cosmos
label Cosmos
kernel mboot.c32
append Cosmos.bin

View file

@ -47,14 +47,8 @@ SendStack = 15;
SetAsmBreak = 16;
Ping = 17;
// Make sure this is always the last entry. Used by DebugStub to verify commands.
Max = 18;
Debug channel:
We support channels, which are prefixed with anything prefixed with 192 and up. 192 is used for a debug view.

View file

@ -1,7 +1,7 @@
### Prerequisites
* (Free) source code of Devkit from [Cosmos on GitHub](https://github.com/CosmosOS/Cosmos)
* (Free) source code of Devloppement Kit from [Cosmos on GitHub](https://github.com/CosmosOS/Cosmos)
* You must clone the repository using Git. For a detailed walkthrough, [see here](https://help.github.com/articles/fork-a-repo/).
* When following the tutorial, replace *OctoCat* with *CosmosOS* and *Spoon-Knife* with *Cosmos*.
* (Free) [Visual Studio 2013 Community](http://go.microsoft.com/fwlink/?LinkId=517284)
@ -13,10 +13,10 @@
### Installation
* Look in the downloaded sources and run **install.bat** with admin privileges (UAC will ask for permission), needed for install in system directories.
* After installation is complete, Visual Studio will automatically open and you may begin programming with your new, modified copy of Cosmos.
* When the installation is complete, Visual Studio will automatically open and you may begin programming with your new, modified copy of Cosmos.
## Parameters to the install.bat
The `install.bat` accepts following parameters
## Arguments for the 'install.bat' file
The `install.bat` accepts the following parameters :
- `-USERKIT` Run installer for the User Kit only. By default installer build and install Dev Kit.
- `-RESETHIVE` Reset Visual Studio Experimental Hive after installation.

View file

@ -38,7 +38,10 @@ namespace Cosmos.Deploy.USB {
var xDrives = DriveInfo.GetDrives().Where(q => q.DriveType == DriveType.Removable).ToArray();
lboxTarget.Items.Clear();
foreach (var x in xDrives) {
foreach (var x in xDrives)
{
if (!x.IsReady)
continue;
decimal xSize = x.TotalSize / (1000 * 1000 * 1000);
lboxTarget.Items.Add(x.Name + " " + xSize.ToString("0.0") + " GiB " + x.DriveFormat + " [" + x.VolumeLabel + "]");
}