Added: 2 years ago
From: MrErtnerd
Views: 8,764
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (172)

Sign In or Sign Up now to post a comment!
  • Can you please PM me the source? Thanks so much!

  • how dod you make the movable windows??

  • Link is broken for your site

  • @filesonfire It will be back eventually, but I don't know how soon.

  • You're back on the project! It's been over 2 years since I've been really into these type of things! MrErtnerd, you've inspired me to continue on with my search, you just proved that you CAN create a GUI in cosmos. You sir, have much skill, now to try and compile <3

  • need some help with memory managment

  • @Hack3rINC wiki . osdev . org / Category:Memory_management

  • Comment removed

  • @gruntlover2 dude dont be so negitive towards him, hes the guy who started it all. u wouldnt have a os if it wasnt for him >:(

  • hey, jw what exactly does the compiler.cs file do? thanks m,an

  • @XcomputernerdX I forgot.... but I think it's been outdated.

    Please keep in mind this is an ancient release of cosmos, so almost nothing in the video is relevant now.

  • Nice console.

  • does it work with milestone 4? if not then were do i find a milestone that works with this?

  • @Hack3rINC No, it doesn't work with milestone 4. It does work with Cosmos Revision 38782.

  • @MrErtnerd how do i compile that milestone/revision?

  • @Hack3rINC If you downloaded the AEOS source, the correct revision is included.

    Open the "Cosmosgood.Flat.New.sln" file, and then debug or run. Then a compiler will pop up, and you press "Build" (at the bottom)

  • @Hack3rINC err... I forgot something.... In the CosmosBoot2 project, open AEOSgui.cs and uncomment all the lines.... (and re-comment the actual comments...) Then just delete Class1.cs

  • whats the code for graphics and what do you need to add in using??

  • Why is this no longer supported? And do you have an AIM? I need to talk to you...

  • Can you actualy boot into it?

  • @vancar6 yes. You can boot from a CD on real hardware, or boot in a virtual machine. That's the whole point of Cosmos. It's like a Lego set for operating systems, you piece together the smaller parts to make a real operating system. It's really cool. :D

  • You know what's sad? This is probably THE BEST OS based on COSMOS today. tomorrow, and for many years to come. I can't believe it is no longer supported :(

  • @biasa199 what about dud3? :(

  • @Hack3rINC It isn't supported anymore

    :(

  • @biasa199 um... dud3 is supported... now im confused lol

  • @biasa199 What about Grunty OS 

  • @biasa199 What about Akoris OS :P lol

  • Well you didnt make an os, but you did make a gui. the os part was pretty much done for you

  • @GhostXoP yeah. I would like to make my own kernel though, eventually.

  • @Adamman715 This may be a chance to make your own Cosmos GUI. :)

    Yeah, I hate when computers die.

    And I've had to install windows before... I've heard it can be a pain sometimes, however it was just a bit slow for me...

    And it could have been a time to try some Linux (I like Ubuntu.)

  • @MrErtnerd Can you please give me the source code?

  • BADDD QUALITY !!!

  • srry for asking a questions, but where did you find out how to code a gui. i cant find it anywhere and i dont know where to start. and also how hard is it to make a gui? i have visual C# and cosmos btw.

  • I really wish you would carry on with this... :(

  • nice,

    I get an error: S

    it says: system.boolean plug Needed

    Pls help me

  • @Adamman715 source\CosmosBoot2\CosmosBoot2­.csproj

  • i decided to stop trying to use aeos, i made my own gui lol

  • How did you make the GUI? I am at my witts end trying endless amounts of code to make a simple gui with buttons/menus, etc.

  • @ajwgeek its easy xD

  • hey MrErtnerd, was the source code?

  • @Experimentzshow  ertnerd . com / source . zip

  • ok, i got it to boot but now all it shows is the mouse and i caant move the mouse at all

  • tried using it, but it wont boot. is it able to use a laptop mouse or am i gonna have to buy a mouse? lol

  • @Hack3rINC I've been told that most laptops should work. I haven't tested on a laptop yet though.

    And what do you mean by won't boot?

  • @MrErtnerd it now boots but it only displays the mouse, no menu, cant move the mouse....

  • @MrErtnerd U dont even know what booting is o.O

  • @zavaroth your comment may lead me to believe that I don't know. Good thing I'm not actually working on this anymore... Anyway, what is booting, exactly then?

  • @MrErtnerd LOL... booting is when you put the iso file to a cd/flashdrive and run it on a computer

  • @TechGuyTuts ok... so then

    techterms . com / definition / boot

    techterms . com / definition / bootsequence

    sounds like it's a bit more than that...

    also.. I did also boot by your deffinition.. I ran the .iso image on some hardware off of a CD (though not in this video.)

    In this video, I virtually added the .iso image to a virtual CD and mounted the virtual CD to a virtual CD drive on my virtual machine.

  • @MrErtnerd I didnt mean to sound rude, if I did then I am sorry , I am fairly young to be a programer so I use some pretty simple definitions to explain things. And also how did it worl on the hardware you installed it onto?

  • @TechGuyTuts I'm also sorry if I came off as a bit rude as well.

    Basically, with COSMOS, it is a real operating system, and it's software is compiled into a .iso file. Then I just used nero to burn the .iso to a disk, and set the boot order to the CD in the bios settings. Then I turn on the computer, and pretty much get what you see in the video, only it's a lot faster on real hardware. :)

  • @MrErtnerd I use BurnAware, Its good for burning all types of files to disks

  • @MrErtnerd ok, and it stops in the middle of the syslinux thing it needs to boot

  • @Hack3rINC If you are using a virtual machine (like VirtualBox or something other than the qemu that is given with COSMOS) try setting the RAM lower..

  • OK, heres the scoop. I build the source for GUI. 3 errors regarding System.Drawing. Then, i add System.Drawing and there are 10 new errors regarding COMSOS and the classes in the Cosmos namespace. HELP!!!!

  • Comment removed

  • Oh, And I have one more question.

    Is It possible to use

    System (dot) IO ?

  • @khjuiproductions Yes...

  • @BerkinGG ...?

  • If you need any help on algorithms, you can ask me.

    Splitting thins up in regions with an augmented interval tree (use Red-Black Tree as the basis) would be ideal.

  • wow that's cool! I don't know you can code a GUI in COSMOS

  • And, hou U get mouse, menu start?

  • I have got some question to You: How U get gui, IN COSMOS!? Can You tell mi, how to have got gui on cosmos? Thanks

  • I'm not sure how you exactly implemented this, but asuming that you have such a low FPS, I'm asuming you have to do everything on the CPU? Because that plainly does suck if it's the case :(.

    I'm a bit curious how you're doing the hit-testing though? I suggest using a BSPT (Binary Space Partitioning Tree) for fast look-up and storage. With that, you could also store snapshots of windows (desktop is also a window) and invalidate regions for a better FPS rate :).

  • @OsoreWatashi yeah, as far as I know everything is done on the CPU. (I can get 50fps+ on real hardware though, as opposed to the 3-4fps in VirtualBox)

    Thanks for the suggestion. :D I'll have to look into it.

  • Well the code you put on your webpage for drawing functions, I copied that into visual c# and it came back as 100 something errors. Do I need to create seperate files to help run it? Your source code was too large for me to download. I didn't have enough memory.

  • @RadXPictures Yeah, I fixed it a while ago. All you need is the COSMOS devkit and to add all of the necessary resources to the project.

  • @MrErtnerd

    how do you get the dev kit?

  • @gruntlover2

    cosmos . codeplex . com / sourcecontrol / list / changesets ? ProjectName = cosmos

  • @MrErtnerd

    How to install?

  • Are you using visual c#?

  • @RadXPictures yes, I am. However the COSMOS team is looking to implement a feature that will phase out support for visual C# express. So you will have to use older revisions of the devkit.

  • can i get the direct source coder zip?

  • Unfortunately, I don't know how to work with the filesystem. Sorry.

  • I still dont understand how though-- it would be VERY useful if you put the current state of it as Open Source?

  • @khjuiproductions I learned by searching google. I posted a bit of a basic project that is just awaiting the custom draw functions. It has a basic filled rectangle function for starters.... Website: ertnerd . com

  • Ahh right...

    What exactly did you search?

    I've tried everything but....I never get any success!

  • @khjuiproductions I can't exactly remember where I searched, nor where it lead to...

    gocosmos . org / Blog / 20090520 . EN . aspx has an example.

    I guess it was also a bit of experimentation....

  • I see the source you did on your website. Thanks Man! Really Helped.

    Although, when doing:

    using Cosmos.Hardware;

    I get:

    The type or namespace name 'Hardware' does not exist in the namespace 'Cosmos' (are you missing an assembly reference?)

    What am I missing!?

  • @khjuiproductions If you don't have it already, get the devKit instead of the user kit. the dev kit has the most recent updates. However the more recent devkit updates are phasing out Visual C# Express, so you may have to go back a few revisions. (My gui is still on rev. 38782)

    If you already have the devkit, and have some other project running, then you have to add the project Cosmos.Hardware as a project resource.

  • Ahhh I see, thanks.

    Not a wii OS lol.

    I just have devkit for dev-c++

  • Ahhh!

    How would I do that? :S

    I have devkit because I do home brew programming for the Wii. I've only really just started using C#, but I know the obvious basic syntax of all coding languages. However, I do not know how do mix devkit and Cosmos?

  • @khjuiproductions oh, I don't me the devkit for the wii or anything, I'm talking about the COSMOS devkit. COSMOS comes in two versions, a less updated "user kit" which is 'easier' to install, and the devkit, which is the most up-to-date version of COSMOS. Here is the COSMOS devkit: cosmos . codeplex . com / sourcecontrol/list / changesets?ProjectName=cosmos

    However, if you want to make an OS for the we, I don't think you can. Homebrew can only make games as far as I know...

  • Well I am using cosmos now, but I want it to have it boot into a GUI interface instead of a console prompt. How did you build an interface on top of cosmos?

  • Pleeze make a tutorial on this!!!!!

  • @RadXPictures There's really not much more to this than geometry...

    If you need help with a specific function, I could try to point out the right one for you.

  • @MrErtnerd

    Hey

    I have been trolling the internet to try and find out how to draw graphics in C# that are compaitable with Cosmos.

    Where / how did you learn?

  • @khjuiproductions well, Cosmos doesn't support the basic draw functions, so you have to make your own. I only made a function that draws rectangles and another to draw basic bitmaps (for the font)

    So you have a bit of geometry ahead of you if you want to draw in Cosmos. :)

  • @trojak96 yes, you can read files, however I myself do not know how to do so... sorry.

  • Does cosmos support windows 7?

  • I would think so.

  • Yes -.-

  • How did you make the GUI ? Woow... thath is realy nice :D

  • ertnerd. com / source . zip

  • @MrErtnerd Soruce.zip has like 1billion projects in it :D which one is GUI?!!!!

  • quick question. What function in cosmos did you use to display date and time? I have tried the system date and time function but apparently cosmos doesn't have a built in function for that. :-/

  • hour = RTC.GetHours();

    min = RTC.GetMinutes();

    sec = RTC.GetSeconds();

    and I'm not sure about getting the date...

  • When I do that I get:

    The name 'RTC' does not exist in the current context.

    Any Help!?

  • Haha! I ended up using Sun's VirtualBox with the iso... The cursor is kinda slow.. Plus, I think you hafta code the mouse to work, because the emulaters are already coded.

  • well, the mouse can only go so fast... and yeah, I think I should have an adjustable sensitivity...

    also, it runs much faster on real hardware (but COSMOS doesn't support USB mice or keyboards, so you have to dig out some PS/2 hardware...)

  • @MrErtnerd Would a laptop Trackpa/Laptop keyboard work?!

  • I would think so, but I'm not sure.

  • Anyways, I was modding ur OS, and, I figured I better stick to C++ and VB lol

  • well, we all have our preferences.

    I started my programming adventure with VB, then learned a bit of C++, and not to long ago found C#. (I never really got past the basic hello world program in VB or C++)

  • If you want any help coding, at all, or want us to code something for you, just go to my website: programs4you . webs . com

  • Hey you don't happen to know if you can use cosmos with MonoDevelop do you?

    Visual Studio C# refuses to install and causes a BSOD.

    I really don't want to have to reinstall windows xp. AGAIN.

  • I believe it does.

  • No worries I got VSC# to install on my laptop vs on my desktop computer. :-D

    But eventually windows xp will HAVE to be reloaded on this desktop computer. :--(

  • what do you have currently?

  • I was just trying to get VSC# 2008 to install on my desktop thats all. But I couldn't.

  • I cannot find where to get the vb source lol

  • I've only heard of the vb source, but I've only seen the C# code, seeing as how C# is language that is focused on...

    I hope you find what you need. :)

  • Sorry! Ive been working in VB all day. I meant the Visual Studio Proj file... Lol...

    Anyways, Are you up for helping me out?

  • yeah, VB can do that to a person... ;)

    In the source folder there is Cosmos.sln

    or you can open up any one random project which are all located in the sub-folders.

  • I agree. A GUI in COSMOS is FREAKING AMAZING! Best iv'e seen yet. I'm looking forward to a reply to my last comment, if it's a good reply. I love how he made it open source, Too!

  • Hey!!

    I was just wondering, Could you help me make a GUI in my OS, For my Programs website? its not coming along 2 well and i need something amazing. I just started it but have about OS im making would beat them all. If you want to check it out go to programs 4 you . webs . com

    Not ad'ing, but pm me if ur interested. ONLY TO @MrErtnerd >:O

  • This is realy cool !!! I ever wanted this too, but i ever made TUIs. i will try it!! 5*

  • thanks! ill give it a try!

  • hi MrErtnerd,

    I once again have a problem, when i compile your os the compiler says 'the type or namespace "mouse" could not be found (are you missing an assembly referrence?)'

  • @biasa199 try capitalizing 'Mouse'

    Also, I am using an old revision (38782) and not one of the UserKit milestones.

    cosmos.codeplex. com /sourcecontrol /list /changesets

  • -.- the best OS that i´ve got been see

    Nice! do you can send me our Source..

  • this is THE BEST os on youtube that i have seen so far!

  • nice website..... wow, i must not have checked this video ever since before thanksgiving!

  • MrErtnerd, can you PLEASE put up a tutorial on how to compile this os?

  • this work is awesome. hey have you worked on file system using Cosmos, could you please give details about using filesystem in Cosmos.

  • So far in cosmos, only reading the hard drive works, not writting... Also, I am unsure of how to do the reading part... There is a project in there that does reading, but I think you have to have run a different OS beforehand to set up the HDD. I haven't really done a lot of messing around with it though...

  • thanx, but if u do get how to read files in Cosmos, please do write about it.

  • i would really like a tutorial on how to make a text ui

  • Hey how to write in code in c# with cosmos, that will efect like "tree" in dos?

    Very good OS

  • I am actually not sure how to do this, sorry.

    I am trying to mess with getting the file systems to work, but I haven't been able to do so yet. :(

    I will let you know if I get it working.

  • thats pretty awsome

  • hey i tried booting up ur os on my other pc but the mouse doesnt work with it =\

  • yeah, I discovered that as well a few hours ago... :(

    Did you have a USB mouse plugged in or a PS/2 mouse?

  • i had a usb one

  • I wonder if we need those old dinosaurs of mice to work... I'll do some digging online and see if I can get USB mice to work...

  • in the mean time, try finding a PS/2 mouse...

    and maybe even a PS/2 Keyboard... (maybe....)

    But yeah, on the COSMOS codeplex issue tracker, someone else has reported issues with the mouse.... so we aren't alone.

  • this is an actually os and can be booted by itself, great job!

  • if I can find an empty disk I'll boot it up on my second computer and give another walk through of my latest changes

  • i see

  • cosmos.codeplex . com / SourceControl / ListDownloadableCommits . aspx

  • @smoogipoo Are you using the User Kit or the Dev Kit?

    I'm not sure if this will work with the User Kit, because I changed Cosmos.Kernel.Heap around... (I made the first few variables, 'mStartAddress' and such, public)

  • Go to the solution explorer (open it if it isn't already open)

    Find the CosmosBoot2 project.

    Inside that project is a References folder.

    Take note of all the references in the folder.

    Select every reference in the folder and right click. Select Remove.

    Right click on the Reference folder itself, then select Add Reference from the menu.

    In the . Net tab you will find the System and System . Net reference, and in the Projects tab you will find everything else.

    And we all have to learn somehow. :)

  • maybe removing and replacing all the references?

  • oh, that's just visual C# express...

    I don't know what folders don't open, but it's nothing that important. (unless you can't debug it and it points there, but I've never had such a problem.)

  • huh... I wonder if something went wrong with your download...

    I downloaded it and it unzipped fine...

    Try downloading again maybe?

  • Great Video I rated 5 stars! And if you don't mind could you post a tutorial?

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more