Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more! THIS TAG IS NOT FOR QUESTIONS ABOUT THE AZURE COSMOS DB DATABASE - for any questions related to Cosmos DB, please use the [azure-cosmosdb] tag.
Questions tagged [cosmos]
141 questions
0
votes
1 answer
What does 'load_utility' do in COSMOS?
Ruby has 'require' and 'load' so 'load_utility' probably does something similar to 'load'? When should it be used over 'require' and 'load'.

Jason
- 1,098
- 12
- 33
0
votes
2 answers
How to save data in CosmosOS?
I'm working on a Cosmos operatingsystem, and I'm wondering if there is some way to write a file with information in it? I'm trying to make CosmosOS remind the username and the password.
PS. I also wan't it to be able to read the file.

Jacob Aulin
- 54
- 8
0
votes
1 answer
Cosmos C# IL2CPU Error While invoking?
I've been coding a OS with cosmos in c#. It's 350 lines long. I've just got an error saying "Error Occurred while invoking IL2CPU"

Dragon Softwares
- 80
- 15
0
votes
0 answers
How to add /png image and use it as button in C#?
I am currently creating an OS using Cosmos Kit. I have created the GUI, and now I want to add a menu bar. I have created an image of how it should like but I don't know how to add that image to top-left corner and use it as a button. And secondly,…

Joe
- 3
- 4
0
votes
1 answer
Microsoft Cosmos Scope Script: how to process data row by row?
An example of what I want to do:
Existing tables:
1st Table name: DistinctAcctDay;
Column name: ID int, AccountingDate datetime;
Values: (1, 2017/05/01);
(2, 2017/08/01);
(3, 2017/09/01);
2nd Table name: TransferOut;
Column name: AccountingDate…

Sssva
- 19
- 1
- 6
0
votes
1 answer
How to write loop in Microsoft Cosmos Scope to process row by row?
Updated: An example of what I want to do:
Existing tables:
1st Table name: DistinctAcctDay;
Column name: ID int, AccountingDate datetime;
Values: (1, 2017/05/01);
(2, 2017/08/01);
(3, 2017/09/01);
2nd Table name: TransferOut;
Column…

Sssva
- 19
- 1
- 6
0
votes
1 answer
VGAScreen does not work on the Cosmos
I have a VGAScreen of the cosmos (with it I can create operating systems with C #), and it does not work, a mixed colors appears and then VMware closes. I'm trying to use the size 640x480, and it does not work, it worked when the size was…

isaque
- 158
- 5
0
votes
2 answers
Azure Cosmos DocumentDB API via PowerShell
I am trying to access the DocumentDB via Powershell and have converted the c# code to powershell, but I keep getting The remote server returned an error: (401) Unauthorized.
Can anyone see any errors in my code:
$Verb = 'get'
$resourceId =…

Axel Andersen
- 954
- 1
- 6
- 18
0
votes
1 answer
Cosmos VGAScreen Clear Colors
I remember finding this online once but I can't seem to find it anywhere now. I'm creating an enumeration for each of the colors (ints) in the vgascreen.clear(int) method. Instead of testing out each number, I was looking for a description online…

Vince
- 2,596
- 11
- 43
- 76
0
votes
0 answers
C# Cosmos Can't Print float variable
I am building a simple OS in C#, using Cosmos.
For some reason I get an error when I try to use my float variable. I know it looks weird, but I really get an error.
float a = 1.12f;
Console.WriteLine(a); // gives me errors.
The error says :
CPU…

Mint.K
- 849
- 1
- 11
- 27
0
votes
1 answer
c# cosmos IndexOf not supported
I am using cosmos to practice my c# and better my understanding of OS.
I am trying to use a IndexOf method but VMware gives me:
Be aware: IndexOf(..., Stringcomparison) not fully supported yet!
Are there any alternative for Indexof method?
For…

m.k
- 73
- 1
- 10
0
votes
1 answer
Cosmos IO exception error in C#
Hello guys I was recently using Cosomos to get Started in OS developemt , So I was using VS2010 and when I try to debug it, it gives some warning , and so I tried to debug it on VS2008 it debuged with no Waring and then it give me IO exception error…
user5892472
0
votes
1 answer
How do I draw a mouse in my Cosmos OS?
I'm trying to draw a mouse in Cosmos OS but I'm having problems with it.
This is my code:
Screen.setPixel(m.X, m.Y, 40);
Screen.setPixel(m.X + 1, m.Y, 40);
Screen.setPixel(m.X + 2, m.Y, 40);
Screen.setPixel(m.X, m.Y + 1, 40);
Screen.setPixel(m.X,…

not my real name
- 393
- 4
- 16
0
votes
0 answers
Good way to draw Console UIs in Cosmos?
So I'm developing an OS using C# and Cosmos. It's called Memphis, and I want it to be entirely command-line for now (like DOS).
But, something that most command-line OSes I've seen (Arch, DOS, etc) all have something like a console library that lets…

Michael VanOverbeek
- 127
- 2
- 7
0
votes
0 answers
Cosmos TUI Error
Hello guys I was recently trying to build my own OS using Cosmos , so I've finished enogh commands to fit the bill for standard user ,, my problem is the program can't work with more than one command , I want to make it like cmd and Here is sample…
user5892472