## Where communities thrive

• Join over 1.5M+ people
• Join over 100K+ communities
• Free without limits
##### Activity
• 03:55
juliusfriedman edited #1646
• 03:55
juliusfriedman edited #1646
• 03:54
juliusfriedman edited #1646
• 03:54
juliusfriedman edited #1646
• 03:53
juliusfriedman edited #1646
• 03:52
juliusfriedman edited #1645
• 03:52
juliusfriedman edited #1646
• 03:49
juliusfriedman labeled #1646
• 03:49
juliusfriedman opened #1646
• 03:40
juliusfriedman edited #1645
• 03:40
juliusfriedman edited #1645
• 03:37
juliusfriedman edited #1645
• 03:36
juliusfriedman opened #1645
• 03:36
juliusfriedman labeled #1645
• 03:35
juliusfriedman commented #1639
• Jan 20 22:28
Build #3170 passed
• Jan 20 22:28
Build #3170 passed
• Jan 20 22:12
Build #3169 passed
• Jan 20 22:12
Build #3169 passed
• Jan 20 21:56
Build #3168 passed
Lethen Parkes
@RICKASHEYE
i join another chat from being in this chat for too long and it displays the other chat but then i scroll up and it displays the messages from this chat
dont have these problems on discord
BurgerlX
@burgerlX
Could anyone give me an easy to understand example of basic networking for Cosmos?
KM198912
@KM198912
@burgerlX have a look at auraos, it uses cosmos and has some basic networking, but i believe it uses a older version of cosmos
Lethen Parkes
@RICKASHEYE
heres thier custom cosmos https://github.com/aura-systems/Cosmos
Lethen Parkes
@RICKASHEYE
how do we debug the kernel through Test.sln?
KM198912
@KM198912
how do you mean
do you mean something like mDebugger.Send("Debugger"); to see the ouput when running vmware?
Lethen Parkes
@RICKASHEYE
no making changes to the main kernel the core of cosmos and running that instead of rebuilding the kernel through install-VS2019
KM198912
@KM198912
i usually open Build.sln, do my changes there , close VS and run the install vs2019
Quajak
@quajak
if you open test.sln run cosmos.testrunner
then you dont have to rebuild every time
and it will execute all the test kernels
KM198912
@KM198912
if it was just that easy for me :S
Lethen Parkes
@RICKASHEYE
it doesnt actually run the os it just pulls out tests to make sure your kernel code doesnt encounter errors
Lethen Parkes
@RICKASHEYE
is the gpu library using FastBitBlit? im very new to this
you should only do the memcpy from the backbuffer during vblank
TableFlipper2
@TableFlipper2
Hey, how do I use a web browser in cosmos
Kudzu
@czhower
way too advanced for Cosmos in the current stage. Networking isnt nearly to that point, not to mention how hard it is to make an HTML engine.
TableFlipper2
@TableFlipper2
like can i use chrome
ex
firefox
Kudzu
@czhower
No. Cosmos does not run executables from Windows or MacOS.
TableFlipper2
@TableFlipper2
i dont think you get what im tryng to say
Kudzu
@czhower
I dont think you understand what Cosmos is......
Chrome and Firefox are OS specific applications. You cant run them on Cosmos any more than you could run them on a C64 or a Nintendo Switch.
KM198912
@KM198912
it wouldnt surprise me if someone was gonna try to port them to a switch ...
Kudzu
@czhower
It would have to be an explicit port - the overall issue here is that Chrome and FF are OS specific like most apps. So users can't just take Windows or Mac stuff and expect it to run on Cosmos. Cosmos isn't designed for that nor should it be if one understands the design precepts of Cosmos.
KM198912
@KM198912
i dont expect cosmos to run native apps for other OS, i am not sure if i understand it right, but if i am correct the compiler only converts C# to native assembler code, and that is what is so interesting to me, working on a language i have some knowledge of to create something complex and understand what it does behind the scenes
Kudzu
@czhower

Yes, the comment was more directed at TableFlipper.

You have it almost right.. Cosmos can be used with any .NET lang though, not just C#. Cosmos doesnt compile C#... C# compiles to IL and then Cosmos compiles that IL to asm.

KM198912
@KM198912
i have tried working with something called mikeos and it was doing my head in as it was pure assembler
Kudzu
@czhower
The biggest issue with Cosmos is we have too few devs working on the core pieces which are the most urgent right now.
KM198912
@KM198912
as i offered before , i dont mind helping at all, but i need help at first to understand everything so i dont break 90%
Kudzu
@czhower
Just ask away.. right now we could use help on X#.. .and thats Asm so it might be interesting to you.. @charlesbetros
KM198912
@KM198912
my biggest issue right now is, i have to get PS/2 working so i can actually test what i am doing, my i7 is fked and randomly decides to kill half of my threads and then any emulation goes downhill, and i cant afford a new cpu right now
Kudzu
@czhower
I gave up on i7s.... I wasnt even overlocking them or anything and I had 3 die within 2 years... all replaced for free but that takes time to ship back and forth... fell back to i5s and no noticable difference as the bottleneck for me was usually disk... fast NVMe SSD, fast RAM and an i5 again even in new system :)
TableFlipper2
@TableFlipper2
vmware keeps closing after i try to run it
KM198912
@KM198912
i7 4th gen, gtx750ti, 8GB memory, 240GB kingston SSD, while not top of the line it shouldnt be slow either
TableFlipper2
@TableFlipper2
Canvas canvas;
Sys.Graphics.Pen pen = new Sys.Graphics.Pen(Color.Red);
Sys.Graphics.Point Dock;
protected VGAScreen Vscreen;
protected DisplayDriver screen;
protected override void BeforeRun()
{
Console.WriteLine("Sero OS booted successfully. Shout out to mah boi Serocrux");
canvas = FullScreenCanvas.GetFullScreenCanvas();
        canvas.Clear(Color.Black);
Dock.X = -20;
Dock.Y = 0;

Sys.MouseManager.ScreenWidth = (uint)canvas.Mode.Columns;
Sys.MouseManager.ScreenHeight = (uint)canvas.Mode.Rows;
}
protected override void Run()
{
Console.WriteLine("Plz Work");
uint X = Sys.MouseManager.X;
uint Y = Sys.MouseManager.Y;
canvas.DrawLine(pen, X, Y, X + 5, Y);
canvas.DrawLine(pen, X, Y, X, Y - 5);
canvas.DrawLine(pen, X, Y, X + 5, Y - 5);
}
What am i doing wrong here?
KM198912
@KM198912
TableFlipper2
@TableFlipper2
no
its not that
it just closes
KM198912
@KM198912
have you checked what the debugger says
TableFlipper2
@TableFlipper2
Symbols Loaded - C:\Users\TableFlipGod\source\repos\GameKernal\GameKernal\bin\Debug\netcoreapp2.0\cosmos\GameKernal.pdb Setting FirstDataLookupTable to 0x02279BA5 FirstDataLookupTable was set to 0x02279BA5 In Cosmos.System.Kernel..ctor Starting kernel HW Bootstrap Init Global Init Creating Console Creating Keyboard HW Init Creating Primary ATA IOGroup Creating Secondary ATA IOGroup Before Core.Global.Init PCI Devices ACPI Init PS/2 Controller Init ATA device with speclevel ATA found. Number of MBR partitions found: 0x00000001 ATA device with speclevel ATAPI found, which is not supported yet! Done initializing Cosmos.HAL.Global KeyboardManager.AddKeyboard Cls Before Run Run Not yet stopped Really before Run The program '' has exited with code 0 (0x0).
KM198912
@KM198912
can you try to load it with bochs?
TableFlipper2
@TableFlipper2
ok
TableFlipper2
@TableFlipper2
i tried looking for it