₦airaland Forum

Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,317,757 members, 5,108,957 topics. Date: Thursday, 22 August 2019 at 12:24 AM

What Are The Tools Needed To Create An OS? - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / What Are The Tools Needed To Create An OS? (879 Views)

What's Tools Do I Need To Start Building A Messaging App / Graphics Designer With Knowlegde In Use Of Webdevelopment Tools Needed-freelance / How Much Will It Cost To Create An IOS, And An Android App (2) (3) (4)

(1) (Reply) (Go Down)

What Are The Tools Needed To Create An OS? by azeez1973(m): 9:17pm On Jul 14
I Want To Develop An Operating System Like Windows,what Are The Things I Need? C or C# or PYTHON or C++ or VB.
Re: What Are The Tools Needed To Create An OS? by Bolaji21(m): 10:09pm On Jul 14
azeez1973:
I Want To Develop An Operating System Like Windows,what Are The Things I Need? C or C# or PYTHON or C++ or VB.
If you can get to the advanced part of C/C++ and assembly language, you might be able to build your own OS.

1 Like

Re: What Are The Tools Needed To Create An OS? by Tbasicme: 6:48am On Jul 15
You can by using cosmos





Ever wanted to make an Operating System? Ever waned to know how command line operating systems work? Everything's here!

So we'll make a basic Operating System in C#, don't worry, if you even know some basics of c++ or java, you'll understand the code cheesy

By end of this tutorial, you'll be able to make your cool operating system!

So lets begin



Step 1: The Concept
Picture of The Concept
So, how actually a OS works? I'll explain from the level of a electric circuit.

Most of you know logic gates in electric circuits. when many logic gates are connected, i.e. billions of transistors are connected together inside a chip, they can store 0s and 1s. Each gate could store either 0 or 1.

Then the connected transistor forms a Micro-Controller or a Micro-Processor. Here we are going to program on the micro-processor which is in your computer.

Did you know that your computer can also run with a operating system!? Wonder how! Every chip in your computer can run individually without a microprocessor but then without OS, it can't do multi tasking or run multiple threads together like in simple words, play a video in which one time music can play and one time graphics can play. But both can't run together.

Because of an operating system, today you can listen to music while browsing the internet.

The OS works based on its kernel. The kernel stores all the library files and whenever we run a program, the program's code calls header files from the kernel. In windows, kernel is 'Win32'



Step 2: Materials and Prerequisite Knowledge
Picture of Materials and Prerequisite Knowledge
What will you need-

1) Microsoft Visual Studio 2012/2013/2010 (Any Edition)

Link: https://www.visualstudio.com/

2) COSMOS User Development Kit Milestone 4 (C# Open Source Managed Operating System)

Link: https://cosmos.codeplex.com/downloads/get/90082

3) Any Virtulization Software to run the OS. I'm using VMware Player.

Perquisite Knowledge-

Basics of C++, Java, .net would work










Step 3: Introduction to COSMOS
Cosmos (C# Open Source Managed Operating System) is an operating system development kit which uses Visual Studio as its development environment. Despite C# in the name, any .NET based language can be used including VB.NET, Fortran, Delphi Prism, IronPython, F# and more. Cosmos itself and the kernel routines are primarily written in C#, and thus the Cosmos name. Besides that, NOSMOS (.NET Open Source Managed Operating System) sounds stupid.

Cosmos is not an operating system in the traditional sense, but instead it is an "Operating System Kit", or as I like to say "Operating System Legos". Cosmos lets you create operating systems just as Visual Studio and C# normally let you create applications. Most users can write and boot their own operating system in just a few minutes, all using Visual Studio. Milestone 5 includes new features such as an integrated project type in Visual Studio, and an integrated debugger. You can debug your operating system directly from Visual Studio using breakpoints. Cosmos is available in two distributions, the developer kit (dev kit), and the user kit. The dev kit is designed for users who want to work on Cosmos itself. The user kit is designed for those who are interested in building their own operating system and doing some Cosmos work. The dev kit might be thought of as the Cosmos SDK. Most users should start off with the user kit as it is not so overwhelming like the dev kit. This article focuses on the user kit.
Re: What Are The Tools Needed To Create An OS? by azeez1973(m): 8:50am On Jul 15
how long would it cost?
Re: What Are The Tools Needed To Create An OS? by Tbasicme: 9:29pm On Jul 16
Its gonna cost you data for downloading
. I mean downloading Cosmos
2. Get visual studio ultimate 2010
3. Watch tutorials on YouTube

I have been programming VB.net since 2010 till date
I write biometric softwares. Feel free to ask any questions when you get stuck. Regards

azeez1973:
how long would it cost?
Re: What Are The Tools Needed To Create An OS? by ernieboy(m): 11:32pm On Jul 16
azeez1973:
I Want To Develop An Operating System Like Windows,what Are The Things I Need? C or C# or PYTHON or C++ or VB.
why do u want to program an os? is it for educational purpose or what? an os is essentially made up of 2 major parts: the kernel and the user interface.
if u are really bent on doing this I would advice u to go the Linux route. Linux has an open source kernel on which you can layer a custom user interface and implement custom functions. writing an os for a single coder even if an experienced one is no easy task.

2 Likes

Re: What Are The Tools Needed To Create An OS? by azeez1973(m): 8:27pm On Jul 17
do i need any other assistants in the work?
Re: What Are The Tools Needed To Create An OS? by Etogist: 7:18pm On Aug 06
Tbasicme:
Its gonna cost you data for downloading
. I mean downloading Cosmos
2. Get visual studio ultimate 2010
3. Watch tutorials on YouTube

I have been programming VB.net since 2010 till date
I write biometric softwares. Feel free to ask any questions when you get stuck. Regards


Please I need your help. I'm writing a pharmacy software with VB. Net and MySQL as the back-end. I need a code that can query the database and alert the user the product that will expire in 30days time or less than 30days, like 29days, 28days... 1day. Those about to expired items will be displayed in a datagrid. Thanks, and please I'll need your phone number. You can text it to 09076129813.
Re: What Are The Tools Needed To Create An OS? by Karleb(m): 7:25pm On Aug 08
ernieboy:
why do u want to program an os? is it for educational purpose or what? an os is essentially made up of 2 major parts: the kernel and the user interface.
if u are really bent on doing this I would advice u to go the Linux route. Linux has an open source kernel on which you can layer a custom user interface and implement custom functions. writing an os for a single coder even if an experienced one is no easy task.

It's like trying to build an house alone. Even an experienced bricklayer (Civil Engineer) will suffer!
Re: What Are The Tools Needed To Create An OS? by valzey(m): 12:53pm On Aug 10
azeez1973:
I Want To Develop An Operating System Like Windows,what Are The Things I Need? C or C# or PYTHON or C++ or VB.

Employ those who can.
Re: What Are The Tools Needed To Create An OS? by tck2000(m): 1:29pm On Aug 10
!
Re: What Are The Tools Needed To Create An OS? by Tbasicme: 11:38pm On Aug 11
Try this first so you can understand how date works
Create a button and put this codes inside


Dim offset = New Date(1, 1, 1)
Dim dateOne = DateTimePicker1.Value
Dim dateTwo = DateTimePicker2.Value
Dim diff As TimeSpan = dateTwo - dateOne
Dim years = (offset + diff).Year - 1
Dim months = (dateTwo.Month - dateOne.Month) + 12 * (dateTwo.Year - dateOne.Year)
Dim days = diff.Days
TxtYear.Text = years.ToString
TxtMonth.Text = months.ToString
TxtDays.Text = days.ToString

Etogist:


Please I need your help. I'm writing a pharmacy software with VB. Net and MySQL as the back-end. I need a code that can query the database and alert the user the product that will expire in 30days time or less than 30days, like 29days, 28days... 1day. Those about to expired items will be displayed in a datagrid. Thanks, and please I'll need your phone number. You can text it to 09076129813.
Re: What Are The Tools Needed To Create An OS? by Tbasicme: 11:42pm On Aug 11
First in working with dates you have to understand that date is a data type. And for you to manipulate it you have to convert it to a string and back to date.
Or u can use direct cast. If you show me some part of ur code I might be able to help u
Mean while try this and edit where necessary

Private Sub NotifyAccount()
Dim start As Date = dr.ToString
Dim ts As TimeSpan
Dim days As Integer
Dim cmd As SqlCommand
Dim sql As String
Dim reader As SqlDataReader
ts = start.Subtract(Now)
days = ts.Days
If days > 0 Then
MsgBox("drug is expired"wink
Else
MsgBox("drug not expired"wink
EndIf
EndSub

quote author=Etogist post=81007251]

Please I need your help. I'm writing a pharmacy software with VB. Net and MySQL as the back-end. I need a code that can query the database and alert the user the product that will expire in 30days time or less than 30days, like 29days, 28days... 1day. Those about to expired items will be displayed in a datagrid. Thanks, and please I'll need your phone number. You can text it to 09076129813.[/quote]

(1) (Reply)

Very Urgent! How Can I Do This / A Help In Autocad Rendering / Why do people c0mpare html and php?

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (0) (1) (2) (3) (4) (5) (6) (7) (8) (9)

Nairaland - Copyright © 2005 - 2019 Oluwaseun Osewa. All rights reserved. See How To Advertise. 76
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.