Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 16 22:45
    Build #3796 passed
  • Sep 16 22:45
    Build #3796 passed
  • Sep 16 12:07
    Build #3785 passed
  • Sep 16 12:07
    Build #3785 passed
  • Sep 16 09:35
    Build #3783 passed
  • Sep 16 09:35
    Build #3783 passed
  • Sep 15 14:19
    Build #3781 passed
  • Sep 15 14:19
    Build #3781 passed
  • Sep 15 14:17
    Build #3780 passed
  • Sep 15 14:17
    Build #3780 passed
  • Sep 12 14:46
    Build #3778 passed
  • Sep 12 14:46
    Build #3778 passed
  • Sep 12 13:36
    Build #3777 passed
  • Sep 12 13:36
    Build #3777 passed
  • Sep 11 16:04
    Build #3765 passed
  • Sep 11 16:04
    Build #3765 passed
  • Sep 09 11:30
    Build #3756 passed
  • Sep 09 11:30
    Build #3756 passed
  • Sep 09 07:03
    Build #3752 passed
  • Sep 09 07:03
    Build #3752 passed
wakko
@octaviousrex

@octaviousrex wait what, are actually willing to implement Vulkan into cosmos?

not really (that'd be sick tho)

napalmtorch
@napalmtorch
cosmos_mem.png
@quajak I was playing with it today, this is what I came up with. Wrote this to help @KM198912
Ignore that ROM, RAM, and STK at the top, that is for my Interpreter/VM
Quajak
@quajak
@napalmtorch Cool. Thank you! So it seems like its working as expeccted
Oliver Zhang
@Zhang-Dev-byte
Does Cosmos support multitasking, and if so, how do I use it?
Quajak
@quajak
currently not, but there is an open pr to add it
nifanfa
@nifanfa
i don't think cosmos needs multitasking
BlitzWolfMatthew
@BlitzWolfMatthew
It does
It is not a priority right now but keep in mind that every modern OS has multitasking.
nifanfa
@nifanfa
but it just run in a loop
105062425-8e6caf80-5ab5-11eb-9349-789a434d7629.gif
BlitzWolfMatthew
@BlitzWolfMatthew
Yeah, that does work, but as I said, its not reliable.
Imagine you port an application that also has other loops inside it
nifanfa
@nifanfa
windows works in the same way too
BlitzWolfMatthew
@BlitzWolfMatthew
Then keep it mind, delays would not work
Misha
@MishaTY
In windows, each application has it's own thread.
nifanfa
@nifanfa
just a name
BlitzWolfMatthew
@BlitzWolfMatthew

In windows, each application has it's own thread.

That is the point

ascpixel
@ascpixel
is there a way to add files to the ISO? I want to do something like an installer, that would read files from the ISO and transfer them to the disk, is that possible?
on top of that, does every OS made with cosmos has to be live, or can they be booted from the disk (MBR or GPT)?
Charles Betros
@charlesbetros
Not currently. You would need to implement an atapi driver for cdrom and iso9660 file system
tanos
@TacoGit
Hey guys
i got this piece of code
````if (this.pX != MouseManager.X && this.pY != MouseManager.Y)
{
if (MouseManager.X < 2 || MouseManager.Y < 2 || MouseManager.X > (MouseManager.ScreenWidth - 2) || MouseManager.Y > (MouseManager.ScreenHeight - 2))
return;
            this.pX = MouseManager.X;
            this.pY = MouseManager.Y;

            Sys.Graphics.Point[] point = new Sys.Graphics.Point[]
            {
                new Sys.Graphics.Point((Int32)MouseManager.X,(Int32)MouseManager.Y),
                new Sys.Graphics.Point((Int32)MouseManager.X+1,(Int32)MouseManager.Y),
                new Sys.Graphics.Point((Int32)MouseManager.X+1,(Int32)MouseManager.Y),
                new Sys.Graphics.Point((Int32)MouseManager.X,(Int32)MouseManager.Y+1),
                new Sys.Graphics.Point((Int32)MouseManager.X,(Int32)MouseManager.Y)
            };

            foreach (Tuple<Sys.Graphics.Point, Color> pixelData in this.savedPixels)
            {
                this.canvas.DrawPoint(new Pen(pixelData.Item2), pixelData.Item1);
                this.savedPixels.Clear();
            }


            this.savedPixels.Clear();

            foreach (Sys.Graphics.Point p in point)
            {

                this.savedPixels.Add(new Tuple<Sys.Graphics.Point, Color>(p, this.canvas.GetPointColor(p.X, p.Y)));
               this.canvas.DrawPoint(this.pen, p);
                this.savedPixels.Clear();
            }

            if (MouseManager.MouseState == MouseState.Left&&this.prevMouseState!=MouseState.Left)
                System.Console.Beep();

            this.savedPixels.Clear();
            this.prevMouseState = MouseManager.MouseState;
        }````
this is suppose to make a cursor
it works but makes a trail, how do I fix the cursor trail?
Quajak
@quajak
You have to clear the console after each draw/erase the old cursor
raxracks
@raxracks
you should use a double buffer
raxracks
@raxracks
i guess if you're just getting started you should use the canvas but it isnt great
Charles Betros
@charlesbetros
Which platform should we use for the Cosmos communiyy?
https://www.surveymonkey.com/r/5YWCBP7
raxracks
@raxracks
the discord is cool
more people should join
BlitzWolfMatthew
@BlitzWolfMatthew
^^^true
Charles Betros
@charlesbetros
The plan is to create an official Discord so we can moderate it
BlitzWolfMatthew
@BlitzWolfMatthew
@charlesbetros to be honest you should just make one anyway
BlitzWolfMatthew
@BlitzWolfMatthew
It is by far superior to gitter in terms of functions and it will help the community expand
BlitzWolfMatthew
@BlitzWolfMatthew
image.png
Someone explain
Charles Betros
@charlesbetros
Testing we hooks in our new Discord :)
BlitzWolfMatthew
@BlitzWolfMatthew
@Chaosdrachin when will it be released? Or if it is already released, where can I get the link from?
Wrong ping oof
Seth G. R. Herendeen
@sherendeen
Hello. If I am using the Cosmos Kit Builder, how long should the step "Installing Repos: IL2CPU, XSharp and Common..." take? Thank you in advance.
Additional information: I ran install-VS2019.bat as administrator.
Quajak
@quajak
If it didnt work, stop the installer
and manually pull the projects
it somtimes get stuck
Quajak
@quajak
We have decided to move to a discord server! Please head over there to discuss everything cosmos related.
Vip181
@Vip181
hello world
BlitzWolfMatthew
@BlitzWolfMatthew
hello!