Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 22 23:30
    Build #3644 passed
  • Jun 22 23:30
    Build #3644 passed
  • Jun 21 14:45
    Build #3642 passed
  • Jun 21 14:45
    Build #3642 passed
  • Jun 21 12:22
    Build #3641 passed
  • Jun 21 12:22
    Build #3641 passed
  • Jun 21 08:53
    Build #3640 passed
  • Jun 21 08:53
    Build #3640 passed
  • Jun 21 00:50
    Build #3632 passed
  • Jun 21 00:50
    Build #3632 passed
  • Jun 20 14:54
    Build #3631 passed
  • Jun 20 14:54
    Build #3631 passed
  • Jun 20 12:28
    Build #3630 passed
  • Jun 20 12:28
    Build #3630 passed
  • Jun 20 11:58
    Build #3629 passed
  • Jun 20 11:58
    Build #3629 passed
  • Jun 18 20:25
    Build #3628 passed
  • Jun 18 20:25
    Build #3628 passed
  • Jun 18 15:31
    Build #3627 passed
  • Jun 18 15:31
    Build #3627 passed
Ardhenis Muhammad Aflah
@sayaPintar
@nifanfa nice!!
anerruption
@anerruption:beerfactory.org
[m]
hey
i found a missing plug for Colorful.Console
Quajak
@quajak
whats missing?
Quajak
@quajak
Has anyone used CPU.GetMemoryMap()? If yes, were the results correct?
anerruption
@anerruption:beerfactory.org
[m]
a function called GetStdHandle()
um no i haven't used it yet
Quajak
@quajak
Are you using the devkit?
wakko
@octaviousrex
I regret to inform you all that my OS (Gizmo OS) will not support the Vulkan Graphics API yet. No high performance gaming for users of my OS (AKA me!)
BlitzWolfMatthew
@BlitzWolfMatthew
@octaviousrex wait what, are actually willing to implement Vulkan into cosmos?
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 :)