Prewritten sample os

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
mgdt
Posts: 7
Joined: Wed Apr 18, 2007 11:29 am

Post by mgdt »

Oops, i meant SkyOS is closed source.

What would you call part of the software which loads in the apps, choose what threads should be ran and how long. controls what app is drawing to screen. manages the filesystem and manages ram and such?
Crazed123
Member
Member
Posts: 248
Joined: Thu Oct 21, 2004 11:00 pm

Post by Crazed123 »

Usually one would call that the operating system. If you want to steal one instead of develop one, get off our boards.
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

mgdt wrote:Oops, i meant SkyOS is closed source.

What would you call part of the software which loads in the apps, choose what threads should be ran and how long. controls what app is drawing to screen. manages the filesystem and manages ram and such?
The kernel/OS... Maybe you should considering reading the OSDev wiki.. :wink:
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Post by inflater »

mgdt:

I think that it is best for you to download ReactOS binaries, modify the boot screens, etc. and fire up some C programming language for Windows or Delphi and make your own EXPLORER.EXE shell with your programs (OS accessories, games, etc). You will be running on a reverse-engineered NT kernel, but it's better than nothing.

Or take Linux and make some new graphical shell or something, you know what I'm talking about; because
I was wondering if anyone has written or know where to get an OS that has a lot of basic stuff completed.
is your task to do, if you want to be a OS programmer. ;)

inflater
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
User avatar
AndrewAPrice
Member
Member
Posts: 2309
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

Post by AndrewAPrice »

ces_mohab wrote:if you want to switch to graphical mode i think the easiest way to do it in boot loader before running to protested mode.

My boot loader which is 99% in real mode do this using visa.

other stuff are sequential processes just put plan. decide priorities for these tasks.
That's nice..
User (with webpages and documents open): *opens program*
Computer: "This is a full screen program that will only run in 1024x768. Please change your resolution"
User: "mmkay" *changse resolution*
Computer: "Now rebooting.." *closes all unsaved documents*
My OS is Perception.
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

ces_mohab wrote:if you want to switch to graphical mode i think the easiest way to do it in boot loader before running to protested mode.

My boot loader which is 99% in real mode do this using visa.

other stuff are sequential processes just put plan. decide priorities for these tasks.
I'm really interested in this "protested mode" and using "visa" in real mode..

:roll:

Seriously... This is just the funniest thread I've seen yet :lol:
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
AndrewAPrice
Member
Member
Posts: 2309
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

Re: Prewritten sample os

Post by AndrewAPrice »

mgdt wrote:I was wondering if anyone has written or know where to get an OS that has a lot of basic stuff completed.

I am looking for an OS that can already boot up, initialize the gfx to a 16 or 32bit resolution (preferably 1024x786), keyboard+mouse and perhaps sound. File IO to the HD, USB, floopy or w/e would be nice too.

I heard grub can boot up and init the gfx to the resolution i want. If thats true there are several of you who has an os i want? If it helps i have an intel mac mini. I heard EFI is nice so maybe a lot of hard work is done in that case?
Getting back to the topic, you could have a look at Windows XP Embedded. It's basically a compontentised version of Windows. You select what you want to include (kernel of course, then optional things; Win32 App support, GDI, Explorer, Command Prompt, Internet Explorer, Media Player). What I'm getting at is you could use Windows XP Embedded, include the default kernel and some drivers, and then write your own shell!
My OS is Perception.
mgdt
Posts: 7
Joined: Wed Apr 18, 2007 11:29 am

Post by mgdt »

I contacted the guy who is doing newos and i am considering XP Embedded. Those two options look like the best options for me.

Thanks everyone for you help! :)

:twisted:
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

I seriously doubt it would be legal to distribute this "XP Embedded".. Not to mention the fact if you build upon something closed source, You can't fix or tweak anything to your own needs.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Post by earlz »

just curious...What language do you program in?
Also, are you sure your not just wanting to make a shell of your own? Whenever I first wanted to make an OS, actually all I wanted to make was a shell, but of course, then I got interested with the ease of use of the BIOS and made a 16bit OS, then scrapped that, made 32bit OS, got to floppy drives, and gave up..(OT a bit but anyway...)
User avatar
mystran
Member
Member
Posts: 670
Joined: Thu Mar 08, 2007 11:08 am

Post by mystran »

Brynet-Inc wrote: I'm really interested in this "protested mode" and using "visa" in real mode..
I'd actually prefer using visa in unreal protested mode where you don't have to pay the bill if you think it's unfair.
Brynet-Inc wrote:I seriously doubt it would be legal to distribute this "XP Embedded".. Not to mention the fact if you build upon something closed source, You can't fix or tweak anything to your own needs.
Why not? You just need a license from Microsoft. :P
The real problem with goto is not with the control transfer, but with environments. Properly tail-recursive closures get both right.
User avatar
AndrewAPrice
Member
Member
Posts: 2309
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

Post by AndrewAPrice »

mystran wrote:
Brynet-Inc wrote: I'm really interested in this "protested mode" and using "visa" in real mode..
I'd actually prefer using visa in unreal protested mode where you don't have to pay the bill if you think it's unfair.
Brynet-Inc wrote:I seriously doubt it would be legal to distribute this "XP Embedded".. Not to mention the fact if you build upon something closed source, You can't fix or tweak anything to your own needs.
Why not? You just need a license from Microsoft. :P
Windows CE Core license: $3
Windows CE Professional license: $16
Windows Embedded license: $90

These are both per unit costs.. It also says free for non commercial use :D
My OS is Perception.
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

MessiahAndrw wrote:Windows CE Core license: $3
Windows CE Professional license: $16
Windows Embedded license: $90

These are both per unit costs.. It also says free for non commercial use :D
I'll say this, It's nothing but: "C-O-M-M-E-R-C-I-A-L G-A-R-B-A-G-E!!"

Lack of source and and freedom, Not to mention a disgusting design..

~EOF~
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
Steve the Pirate
Member
Member
Posts: 152
Joined: Fri Dec 15, 2006 7:01 am
Location: Brisbane, Australia
Contact:

Post by Steve the Pirate »

If I was you, I'd try to write a desktop environment for Linux, and make a new distribution...
My Site | My Blog
Symmetry - My operating system.
mgdt
Posts: 7
Joined: Wed Apr 18, 2007 11:29 am

Post by mgdt »

Haha you guys are confusing me again.

Brynet-Inc: I dont mind not being able to tweak something. Chances are it is *decent* if MS is selling it and it is not for home users and it doesnt have a lot of their componates

hckr83: I think i do want to write a shell but i have to go a bit father then that. I like to use a custom filesystem natively which is current a WIP. And i'd like control of which process can be opened, scheduling, permissions and other things. I am afraid if i make a windows shell it still will be butchered by the based it is standing on.

I program in C and C++. I have written maybe 1/8 of a compiler (well, code generator) so i can write better code with keywords that are not in C/C++ and remove legal C/C++ stuff.

MessiahAndrw: free for non commercial use is good :)

Steve the Pirate: I don't like some of the things linux does. I plan to have a different style of using permissions. I dont like sudo, if i took that out wouldnt basing it on linux be useful (as many things wont work or everyone has super user access?)


One of the alternatives i was thinking is just writing a few libs to emulate what i want done for me and have it running on windows, linux and mac (most likely using SDL) and make it easy for people to use. If ppl like it enough i'd have motivation to kill the crap underneath and make the OS.
[/b]
Post Reply