Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 30 19:14
    sudopigeek commented #1248
  • Nov 30 18:50
    OceanPhoenixYT opened #1248
  • Nov 24 17:20
    ArtyIF commented #1245
  • Nov 24 17:20
    ArtyIF commented #1245
  • Nov 22 15:20
    kbartek05 closed #1247
  • Nov 22 14:09
    kbartek05 closed #1243
  • Nov 22 14:09
    kbartek05 opened #1247
  • Nov 21 21:21
    Mist-Design commented #1245
  • Nov 21 21:21
    Mist-Design commented #1226
  • Nov 21 21:21
    Mist-Design commented #1226
  • Nov 21 00:02
    chrisevans9629 commented #1245
  • Nov 20 23:01
    Mist-Design commented #1245
  • Nov 20 22:27
    chrisevans9629 commented #1245
  • Nov 20 22:18
    Mist-Design commented #1245
  • Nov 20 22:10
    Mist-Design commented #1245
  • Nov 20 22:08
    chrisevans9629 commented #1245
  • Nov 20 22:03
    Mist-Design commented #1245
  • Nov 20 21:57
    charlesbetros commented #1245
  • Nov 20 21:22
    Mist-Design commented #1245
  • Nov 20 16:22
    pizzabug commented #1226
Jim Jones
@RICKASHEYE
just everytime to join the chat the last chat is always half cut off so i reload the page and its fine
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
Jim Jones
@RICKASHEYE
heres thier custom cosmos https://github.com/aura-systems/Cosmos
Jim Jones
@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?
Jim Jones
@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
Jim Jones
@RICKASHEYE
it doesnt actually run the os it just pulls out tests to make sure your kernel code doesnt encounter errors
Jim Jones
@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);
        Console.ReadKey();
    }
What am i doing wrong here?
KM198912
@KM198912
your mouse aint moving right?
TableFlipper2
@TableFlipper2
no
its not that
the vm wont even load
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