Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 16:51
    Build #3432 passed
  • 16:51
    Build #3432 passed
  • May 17 09:53
    Build #3430 passed
  • May 17 09:53
    Build #3430 passed
  • May 13 18:07
    Build #3429 passed
  • May 13 18:07
    Build #3429 passed
  • May 13 16:37
    Build #3428 passed
  • May 13 16:37
    Build #3428 passed
  • May 13 14:45
    Build #3427 passed
  • May 13 14:45
    Build #3427 passed
  • May 13 11:11
    Build #3423 passed
  • May 13 11:11
    Build #3423 passed
  • May 13 10:14
    Build #3422 passed
  • May 13 10:14
    Build #3422 passed
  • May 12 15:34
    Build #3418 passed
  • May 12 15:34
    Build #3418 passed
  • May 12 15:13
    Build #3417 passed
  • May 12 15:13
    Build #3417 passed
  • May 12 13:22
    Build #3416 passed
  • May 12 13:22
    Build #3416 passed
nifanfa
@nifanfa
Converting Windows Fonts To Cosmos
BlitzWolfMatthew
@BlitzWolfMatthew
Nice, make comic sans, I'm curious :)
nifanfa
@nifanfa
QQ截图20210411152016.png
nifanfa
@nifanfa

os.png

will your system will crash for no reason? just like mine #1659

if this is problem solved i think we can develop further
napalmtorch
@napalmtorch
@nifanfa My OS is stable but that is because I'm using VGA and not SVGA, me and @KM198912 are actively trying to debug the SVGA driver and improve it but for now VGA is the best option
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