Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 11:16
    Build #3659 passed
  • 11:16
    Build #3659 passed
  • 11:15
    Build #3658 passed
  • 11:15
    Build #3658 passed
  • 11:15
    Build #3657 passed
  • 11:15
    Build #3657 passed
  • Jun 23 23:56
    Build #3656 passed
  • Jun 23 23:56
    Build #3656 passed
  • Jun 23 23:55
    Build #3655 passed
  • Jun 23 23:55
    Build #3655 passed
  • Jun 23 23:49
    Build #3651 passed
  • Jun 23 23:49
    Build #3651 passed
  • Jun 23 23:09
    Build #3647 passed
  • Jun 23 23:09
    Build #3647 passed
  • Jun 23 22:45
    Build #3646 passed
  • Jun 23 22:45
    Build #3646 passed
  • 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
YaBoiMason
@YaBoiMason

os.png

how do you have multitasking working under cosmos? Does your OS load executables, or are all of those programs built into the OS?

QuickMuffin8782
@QuickMuffin8782-CC_gitlab
Wow, ever since I was offline for a month (record for me) I see that you’ve made a OS, suitable for a certain PC. Hope the development goes well! ;)
Thanks for adding me tho, I’ll see how it goes from now on!
BlitzWolfMatthew
@BlitzWolfMatthew

os.png

how do you have multitasking working under cosmos? Does your OS load executables, or are all of those programs built into the OS?

For all the people who are asking about executables working in Cosmos, the answer is no. It's worth mentioning that many people here wrote their own interpreters like @Nik300 - MSE, mine - Windmill, and many others.

Prisision
@Prisision
Is There A way To Draw BMP Images
Prisision
@Prisision
Please I Really need help!
Misha
@MishaTY
Canvas.DrawImage
Prisision
@Prisision
BUt How Do I Convert A BMP in a Bitmap Or Better sayed Byte[]
wakko
@octaviousrex

os.png

how do you have multitasking working under cosmos? Does your OS load executables, or are all of those programs built into the OS?

For all the people who are asking about executables working in Cosmos, the answer is no. It's worth mentioning that many people here wrote their own interpreters like @Nik300 - MSE, mine - Windmill, and many others.

id imagine that writing your own interpreter can pave the way for some universal interpreter in default cosmos, so good work fella's :-)

Prisision
@Prisision
HOW DO I DRAW A BMP FILE IN COSMOS HELLLLLLLLLLLLLPPPPPPPPPPPPPPPPP
Ardhenis Muhammad Aflah
@sayaPintar
@Prisision i prefer to use a vmware pro version trial for map vmdk file and insert bmp file inside.
@Prisisionor you can use imdisk alternative that and mount, but i try that and make corrupt vmdk..
Prisision
@Prisision
But How Do I Do that via Cosmos Code I Just Want to Do Stuff Like This: Image img = new Bitmap("Images/img.bmp"); canvas.DrawImage(img, 0, 0);
Ardhenis Muhammad Aflah
@sayaPintar
you can create with hardcode using bitmap array
Prisision
@Prisision
?
Prisision
@Prisision
Thx But How Can I Make This With A BMP File
Ardhenis Muhammad Aflah
@sayaPintar
yep, idk much with file bmp, just use a resource file maybe
Prisision
@Prisision
Can i convert A BMP File In To A Byte?
Ardhenis Muhammad Aflah
@sayaPintar
alternative way i think this best way is map a your .vmdk file and try to insert .bmp file inside.
Prisision
@Prisision
Or Is The Byte In the File?
So the BMP File?
Ardhenis Muhammad Aflah
@sayaPintar
Prisision
@Prisision
ok i try
i come back if i Know Something
Ardhenis Muhammad Aflah
@sayaPintar
yeah, im very beginner too in this section, and sorry for bad english.
Prisision
@Prisision
Where Are u actually from?
Ardhenis Muhammad Aflah
@sayaPintar
indonesia
Prisision
@Prisision
ok
Prisision
@Prisision
The Converter Dont Work.....
Do You Have A Other Converter?
Ardhenis Muhammad Aflah
@sayaPintar
i dont have idea with that, map vmdk and insert bmp file instead.
Prisision
@Prisision
BUT I CANT DO THAT I NEED TO DO THIS IN THE CODEEEEEEEEEEEEEEEEEE
Kudzu
@czhower

@Nik300 @MishaTY I think @czhower has ownership of the channel. If you guys want to make tutorials, we can for sure put them on the channel.

i might like to do some, but i am not the most skilled c# guy, and not sure if id use my voice

We will be happy to feature tutorials and we can promote them on our fb page, youtube channel and other places.

wakko
@octaviousrex
https://pastebin.com/QTWcP1Pd
the title is my error, any advice/help?
napalmtorch
@napalmtorch
That means the function you're in is supposed to return something(int, byte, etc) but you're not returning anything
Ardhenis Muhammad Aflah
@sayaPintar
@Prisision hey how about you make resource file and insert bmp file and convert to byte array bitmap and display that in draw image
maybe another can give alternative idea or what you wanted to do..
wakko
@octaviousrex

That means the function you're in is supposed to return something(int, byte, etc) but you're not returning anything

ok, thanks, ill check that out :-)

Prisision
@Prisision
@sayaPintar Yeah But How Id Do That?
Ardhenis Muhammad Aflah
@sayaPintar
you can add a new item resource
Ardhenis Muhammad Aflah
@sayaPintar
sorry if you don't mind, can i add my os in cosmos wiki list?
Deniz-seckin55
@Deniz-seckin55
Hey can someone send me a simple gui class?
I forgot its name.
Quajak
@quajak

sorry if you don't mind, can i add my os in cosmos wiki list?

Sure, feel free to also add a show and tell post to discussions.

YoshiFan100
@YoshiFan100
Hey, newbie here, I've written multiple small oses using cmd line functionalities similar to linux. But I wanted to up a notch by using GUI elements. I tried out a mouse, and it was slow, and as expected when I tried to draw a taskbar you could see it flicker. The approach I'm using is draw, clear, draw in each run function, is this not good? Should I try something else?
Deniz-seckin55
@Deniz-seckin55
How can I make an image variable? Image img = new Image() doesn't work.
Deniz-seckin55
@Deniz-seckin55
or how can I convert a file to Cosmos OS Image?
Deniz-seckin55
@Deniz-seckin55
Anyone?
napalmtorch
@napalmtorch
@YoshiFan100 To create a GUI you will need to figure out which graphics driver you want to use. If you go with VGA, you will be stable and work on real hardware, but limited to 320x200. If you choose VMWare, you will have much faster and higher resolution graphics, but much less stable and doesn't work on real hardware. Once you've picked which device you want to use, You can look at mine or @nifanfa github for a good VMWareSVGA driver or VGA driver. To prevent the flickering, you will need to implement a double buffer which mine and nifanfas driver has built in, but if you want to do it yourself its not very difficult. Basically create an array/memory block of pixels, and draw that entire array to the screen at once instead of directly drawing to the screen