Jump to content

Im looking place to start coding for an OS (A long one)

Dragontamercos

Coding newb...

 

i like to dream big but never end up getting big and am looking for a place to learn coding for a basic os

 

i have basic blueprints for the OS design

 

(its just a gui and ui over basic doss kinda like a console, and because its a dos overlay hopefully no EXE problems, if there is exe problems Microsoft i come... and pray

 

its like the steam OS

 

a steam integrated workshop

 

where you download your games and pic a directory

 

then it gets added to the menu and ran by putting in the codes via dos

 

"cd\{location}

boot {game name}

"

 

it will be a little more complex then that... but i only know basic doss

 

whats makes this thing.. good is because there is no second hand task's so it gets 95% of all system cpu and 100% gpu (the other part will be the system required stuff)...

 

thats the basic blueprints and another problem is I HAVE NO, NOOO, SKILL IS DESIGN...

 

and i pray microsoft and a bunch of jerks and refuse to spare a lot of things... i was going to make it free but if i can get direct x and all the shit you need to run gta5 *im a gamer but i have no idea why gta5 needed an windows 10 vista expansion*

 

i would make its open source but Microsoft

 

another problem is i dont fucking know what code to do it in...

 

java does not support it

 

luna is basic

 

and C+ is complex and for games

 

10010101001101001 (Binary) may work

 

a place where i can learn these skills is what im looking for

A human who wants so destroy all else

 

-demonic satan Duane

Link to comment
Share on other sites

Link to post
Share on other sites

  • Windows: C++, kernel is in C
  • Mac: Objective C, kernel is in C (IO PnP subsystem is Embedded C++)
  • Linux: Most things are in C, many userland apps are in Python, KDE is all C++

Good luck with your plan, you alone will take years to get something anything close to today's operating systems.

Specs: CPU - Intel i7 8700K @ 5GHz | GPU - Gigabyte GTX 970 G1 Gaming | Motherboard - ASUS Strix Z370-G WIFI AC | RAM - XPG Gammix DDR4-3000MHz 32GB (2x16GB) | Main Drive - Samsung 850 Evo 500GB M.2 | Other Drives - 7TB/3 Drives | CPU Cooler - Corsair H100i Pro | Case - Fractal Design Define C Mini TG | Power Supply - EVGA G3 850W

Link to comment
Share on other sites

Link to post
Share on other sites

 

  • Windows: C++, kernel is in C
  • Mac: Objective C, kernel is in C (IO PnP subsystem is Embedded C++)
  • Linux: Most things are in C, many userland apps are in Python, KDE is all C++

Good luck with your plan, you alone will take years to get something anything close to today's operating systems.

 

 

well im just using a dos base nothing to complex

 

plus i never want it to be big i just hope Microsoft to be dicks

 

my goal is 1% of all pcs because 2% are gaming and 1% of the 2 are low end SO

A human who wants so destroy all else

 

-demonic satan Duane

Link to comment
Share on other sites

Link to post
Share on other sites

well im just using a dos base nothing to complex

 

plus i never want it to be big i just hope Microsoft to be dicks

 

my goal is 1% of all pcs because 2% are gaming and 1% of the 2 are low end SO

 

That's very unlikely that it will happen, there are so many security threats and such out there that I highly doubt your operating system would be secure, it'd lack features that many other operating systems provide, and yeah..

 

I'd guess the majority of people using it, would be yourself, and maybe a handful of other people, not 1% of all pcs.

Specs: CPU - Intel i7 8700K @ 5GHz | GPU - Gigabyte GTX 970 G1 Gaming | Motherboard - ASUS Strix Z370-G WIFI AC | RAM - XPG Gammix DDR4-3000MHz 32GB (2x16GB) | Main Drive - Samsung 850 Evo 500GB M.2 | Other Drives - 7TB/3 Drives | CPU Cooler - Corsair H100i Pro | Case - Fractal Design Define C Mini TG | Power Supply - EVGA G3 850W

Link to comment
Share on other sites

Link to post
Share on other sites

That's very unlikely that it will happen, there are so many security threats and such out there that I highly doubt your operating system would be secure, it'd lack features that many other operating systems provide, and yeah..

 

I'd guess the majority of people using it, would be yourself, and maybe a handful of other people, not 1% of all pcs.

hmm..........

 

well egh....

 

im studying to be an engineer...

 

im sure ill find a way out of the security problems

A human who wants so destroy all else

 

-demonic satan Duane

Link to comment
Share on other sites

Link to post
Share on other sites

Nothing your trying to do is basic. It as probably within the top 5 most complex programming tasks. Save your self the pain and give up on this idea immediately even if it was just for learning its still way too big and way to complex.

CPU: Intel i7 - 5820k @ 4.5GHz, Cooler: Corsair H80i, Motherboard: MSI X99S Gaming 7, RAM: Corsair Vengeance LPX 32GB DDR4 2666MHz CL16,

GPU: ASUS GTX 980 Strix, Case: Corsair 900D, PSU: Corsair AX860i 860W, Keyboard: Logitech G19, Mouse: Corsair M95, Storage: Intel 730 Series 480GB SSD, WD 1.5TB Black

Display: BenQ XL2730Z 2560x1440 144Hz

Link to comment
Share on other sites

Link to post
Share on other sites

BTW even if msoft opensourced a lot of the libraries they still ultimately would be useless for anything but windows. These libraries are designed and coded for a very specific operating system. Theyre are not plug and play which you seem to think. Another issue is all applications would need to be recompiled for your os. Which means you need to provide a lot of libraries for those applications to use but no developer would even bother recoding there application for a random, immature, featureless, and userless os.

I could continue to rip apart your idea but im on a phone and its annoying to write this.

CPU: Intel i7 - 5820k @ 4.5GHz, Cooler: Corsair H80i, Motherboard: MSI X99S Gaming 7, RAM: Corsair Vengeance LPX 32GB DDR4 2666MHz CL16,

GPU: ASUS GTX 980 Strix, Case: Corsair 900D, PSU: Corsair AX860i 860W, Keyboard: Logitech G19, Mouse: Corsair M95, Storage: Intel 730 Series 480GB SSD, WD 1.5TB Black

Display: BenQ XL2730Z 2560x1440 144Hz

Link to comment
Share on other sites

Link to post
Share on other sites

Coding newb

 

Building an OS in my opinion is the worst way to learn how to code. I'd recommend starting with desktop application development or web development instead...

Speedtests

WiFi - 7ms, 22Mb down, 10Mb up

Ethernet - 6ms, 47.5Mb down, 9.7Mb up

 

Rigs

Spoiler

 Type            Desktop

 OS              Windows 10 Pro

 CPU             i5-4430S

 RAM             8GB CORSAIR XMS3 (2x4gb)

 Cooler          LC Power LC-CC-97 65W

 Motherboard     ASUS H81M-PLUS

 GPU             GeForce GTX 1060

 Storage         120GB Sandisk SSD (boot), 750GB Seagate 2.5" (storage), 500GB Seagate 2.5" SSHD (cache)

 

Spoiler

Type            Server

OS              Ubuntu 14.04 LTS

CPU             Core 2 Duo E6320

RAM             2GB Non-ECC

Motherboard     ASUS P5VD2-MX SE

Storage         RAID 1: 250GB WD Blue and Seagate Barracuda

Uses            Webserver, NAS, Mediaserver, Database Server

 

Quotes of Fame

On 8/27/2015 at 10:09 AM, Drixen said:

Linus is light years ahead a lot of other YouTubers, he isn't just an average YouTuber.. he's legitimately, legit.

On 10/11/2015 at 11:36 AM, Geralt said:

When something is worth doing, it's worth overdoing.

On 6/22/2016 at 10:05 AM, trag1c said:

It's completely blown out of proportion. Also if you're the least bit worried about data gathering then you should go live in a cave a 1000Km from the nearest establishment simply because every device and every entity gathers information these days. In the current era privacy is just fallacy and nothing more.

 

Link to comment
Share on other sites

Link to post
Share on other sites

BTW even if msoft opensourced a lot of the libraries they still ultimately would be useless for anything but windows. These libraries are designed and coded for a very specific operating system. Theyre are not plug and play which you seem to think. Another issue is all applications would need to be recompiled for your os. Which means you need to provide a lot of libraries for those applications to use but no developer would even bother recoding there application for a random, immature, featureless, and userless os.

I could continue to rip apart your idea but im on a phone and its annoying to write this.

Well hmm...

Sorta glad you where on phone because I need what little self respect I have

I am aware most drivers are not "plug in and play" and I will have to recompile things to fit the envorment

Some of my ideas are stupid, elegiacal and most of the time I'm just over my heads limits...

But giving up is not something I do... For the mean time I will do some coding (possibly illegal) for desktop applications in c++ if I ever figure it out, I may go over hurtals and the security flaws I have I really do have no idea how to fix (amazing I can give a lay...... Nope not Imbarasing myself any farther by saying something I even know is stupid) all I can say is this would not be a one man job

My design idea what just having a nice looking gui over a dos frame and a custom driver supported cernal all done in c++

Stupid now that I think....

Maybe it's from staying up to 9 am

Anyway goodbye

A human who wants so destroy all else

 

-demonic satan Duane

Link to comment
Share on other sites

Link to post
Share on other sites

Coding newb...

 

Start by addressing this first. Don't worry about writing an OS yet, just work on improving your programming skills in general. By the time you'll be ready to start your OS project, you will be able to look at it from a different perspective.

 

It sounds like you might choose C++ to start with so here is some information to start you off with that. Here is another list of resources that includes C++ (as well as other languages). C would be another fine choice (resources included in the second link).

 

I'd even throw Rust out there as something worth considering, although it might be too challenging for your first language.

Link to comment
Share on other sites

Link to post
Share on other sites

You can base it on something. Like Linux (buut then you're basically stealing Steam OS's idea, you even mentioned it), you won't be able to base it on Windows properly, as it is very tricky. It's not like Linux, you can't just take it and rework it thoroughly, Microsoft won't let ya, no way. Your best bet is to take Windows Core and work on your own GUI (with hookers and blackjack), then you just need to pretend it's a full OS, not just a GUI on Windows Core. Your second best bet (if Windows Core would fail, which it likely would, I bet it's stripped of DirectX and any other API's you need, because it's made for servers, not desktop or media center, Microsoft is not going to help you there, no source code for you!) is to just write an application onto Windows, auto-start it and pretend it's an OS. You could make it into a proper product and sell it, or create a company around it.

 

You want to make it from scratch and you don't even code professionally? You need to be able to code at a PROFFESSIONAL level and you need to study computer architecture thoroughly, Assembly and C knowledge are vital. Then maybe you will be able to make a simple OS that could even have a basic shell. A proper OS is no one man's job, it's a result of many teams of specialists working on it for years and years. Dabble around with Linux kernel source code. Yeah, that's how an OS looks like at the core. Good luck with at least duplicating the functionality.

Link to comment
Share on other sites

Link to post
Share on other sites

also, check out this site: http://www.osdev.org   But you seriously MUST know your computer architecture. My OS has been ground to a halt for god-knows how long now, due to my inability to implement a Virtual Memory Manager and Heap.

Java and fullstack web developer (JS). PM if you need major critical level support.

 

Beginners, please learn to debug your programs! --- If you're posting code, please use code tags!

Link to comment
Share on other sites

Link to post
Share on other sites

Coding newb...

 

You're going to struggle to write your own OS from the ground up. 

 

If you're looking for a place to start coding, learn Python/HTML/CSS/Javascript, then move up to Java/C#/C++/PHP, then you can learn something like Ruby, or if you're mentally unstable, Fortran. Writing your own OS from the ground up is not a good way to move into computer programming. You can't cook a gourmet meal without knowing how to turn the oven on.

If you're looking for something to do though, and you're hell bent on building your own OS try looking here

 

 

Linux From Scratch - http://www.linuxfromscratch.org/lfs/

Eeh, by gum.
 

ThrustJetViperPowerMustang: FX-6100 @4.4GHz (Stock Cooler) / 4x4GB Hyperam @ 1333MHz / OCZ Octane 250GB SSD / Asus HD6670 2GDDR3 / Asus M5A78LM-USB3

Link to comment
Share on other sites

Link to post
Share on other sites

You can base it on something. Like Linux (buut then you're basically stealing Steam OS's idea, you even mentioned it), you won't be able to base it on Windows properly, as it is very tricky. It's not like Linux, you can't just take it and rework it thoroughly, Microsoft won't let ya, no way. Your best bet is to take Windows Core and work on your own GUI (with hookers and blackjack), then you just need to pretend it's a full OS, not just a GUI on Windows Core. Your second best bet (if Windows Core would fail, which it likely would, I bet it's stripped of DirectX and any other API's you need, because it's made for servers, not desktop or media center, Microsoft is not going to help you there, no source code for you!) is to just write an application onto Windows, auto-start it and pretend it's an OS. You could make it into a proper product and sell it, or create a company around it.

You want to make it from scratch and you don't even code professionally? You need to be able to code at a PROFFESSIONAL level and you need to study computer architecture thoroughly, Assembly and C knowledge are vital. Then maybe you will be able to make a simple OS that could even have a basic shell. A proper OS is no one man's job, it's a result of many teams of specialists working on it for years and years. Dabble around with Linux kernel source code. Yeah, that's how an OS looks like at the core. Good luck with at least duplicating the functionality.

I'm going to stop you right there

You can't just extract the Windows cernal with out a couple hundred lawsuits because you know those fuckers watch your desktop 24/7 the moment I touch the cernal I'm probably going to have some trouble I'll probably put my vpn on and do it from within virtual box

But that not all I wanted to use Linus but drivers I need those windows drivers

Direct X

Visible C++

Windows 10 vista expansion back

Codex

The list goes on and on and that's microsofts.... Stuff

A human who wants so destroy all else

 

-demonic satan Duane

Link to comment
Share on other sites

Link to post
Share on other sites

I'm going to stop you right there

You can't just extract the Windows cernal with out a couple hundred lawsuits because you know those fuckers watch your desktop 24/7 the moment I touch the cernal I'm probably going to have some trouble I'll probably put my vpn on and do it from within virtual box

But that not all I wanted to use Linus but drivers I need those windows drivers

Direct X

Visible C++

Windows 10 vista expansion back

Codex

The list goes on and on and that's microsofts.... Stuff

Well yeah, that's what I meant. You probably have not heard/used Windows Core, as in the product Windows Core. It's basically a (almost) completely GUI-less Windows made for servers.

Link to comment
Share on other sites

Link to post
Share on other sites

Well yeah, that's what I meant. You probably have not heard/used Windows Core, as in the product Windows Core. It's basically a (almost) completely GUI-less Windows made for servers.

Retyping this reply

 

but the reason why i wanted to make this is to branch off from windows because of the ridiculous system tasks that eat up memory, the only things that would be running is System, System sound, and windows display,

 

and i was thinking about using linux but i need the list i stated before

A human who wants so destroy all else

 

-demonic satan Duane

Link to comment
Share on other sites

Link to post
Share on other sites

Arch linux or linux for scratch. Trust me, you don't want to make your own.

Link to comment
Share on other sites

Link to post
Share on other sites

All you need is a ide such as code blocks and learn c/c++ mac is slightly different I believe....

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×