|
-
Oct 19th, 2008, 11:19 AM
#1
Thread Starter
Frenzied Member
Create an Operating System
Hello, first of all i think i posted in the wrong section, i am not sure..
Second i am just curious, i know at my skill level i can't accomplish the task, how would you go about creating an OS for e.g. Windows & Mac?
What language is it written in? How do you write it? Where do you write it? Since i would find it strange to create an OS from a program on Windows etc..lol
Would i have the recreate DOS?.. how would it work?
-
Oct 19th, 2008, 01:27 PM
#2
Re: Create an Operating System
I think General Developer would be more apt - thread moved.
You can use various languages, but not ones which require other things to be pre-installed and/or running (so not VB, or a .Net language that uses the framework, all of which require Windows and several other things!)
That is just one part of the process, you also need to deal with boot loaders etc, which is how the hardware gets your system started when the PC boots.
Whether or not you re-create would be up to you, you could re-create Windows instead (which has worked without DOS since Windows 95 I think).
-
Oct 19th, 2008, 05:22 PM
#3
Re: Create an Operating System
Not in VB. Maybe in C or C++ some Assembly
Sometimes the Programmer
Sometimes the DBA
Mazz1
-
Oct 19th, 2008, 07:31 PM
#4
Re: Create an Operating System
The boot loader would require Assembly as it has to fit in a specific number of bytes. You would then need to port over the standard C and C++ libraries over to the new OS. You also need to write a kernel which would most likely be in C or C++.
It's quite challenging. I thought about attempting a very simple one myself but I really don't feel like learning assembly. It would be fun but you'd need at least assembly and C.
-
Oct 20th, 2008, 06:29 PM
#5
Thread Starter
Frenzied Member
Re: Create an Operating System
Thankyou for the replies, i was just really curious, maybe after i am done learning and after i master C / C++ and Assembly then i can try to attempt creating an OS.
Well actually does Mac use the C / C++ libraries etc..? i though C / C++ was Windows. So what would of mac done then? created it from scratch?
-
Oct 20th, 2008, 06:33 PM
#6
Re: Create an Operating System
C and C++ are not for any specific system. Windows dlls are written in it. Link and Unix are witten in the same. I think MAc OS is also.
Sometimes the Programmer
Sometimes the DBA
Mazz1
-
Oct 20th, 2008, 06:35 PM
#7
Thread Starter
Frenzied Member
Re: Create an Operating System
 Originally Posted by GaryMazzone
C and C++ are not for any specific system. Windows dlls are written in it. Link and Unix are witten in the same. I think MAc OS is also.
Thanks, i will actually look into it more, since i don't fully understand how it works.
-
Oct 20th, 2008, 09:11 PM
#8
Re: Create an Operating System
 Originally Posted by noahssite
... i don't fully understand how it works.
Very few do so you are not alone.
I know for a fact that Windows 3.1 (released in 1992) was written by team of about 12 very educated in computer csience and math people.
I imagine that current versions of Windows/Mac required team of at least 100 architects/developers.
-
Oct 20th, 2008, 09:46 PM
#9
Re: Create an Operating System
If you are interested there are some postings on PlanetSourceCode where people have played with creating their own "languages". Here are a couple of links that may be useful for research.... I knew of about 4 that existed on PSC, but they have been removed and I found a couple of them elsewhere on the net.
Viking Compiler: now exists only Delphi section of PSC, was also in VB
http://www.planet-source-code.com/vb...=1120&lngWId=7
Visia Compiler: was on PSC but removed -- made some money with it
http://basic.mindteq.com/Details/VisiaCompiler.html
Libry Compiler: was on PSC but can be found on A1VB
http://www.a1vbcode.com/app-3497.asp
-
Oct 21st, 2008, 10:37 AM
#10
Thread Starter
Frenzied Member
Re: Create an Operating System
Well i was originally and still am curious about creating a new language, it could be for Windows i guess, like not Java, VB, etc... but my own. I am guessing the compiler would have to be written in C / Assembly.
Thanks for the links anyway i will check them out.
-
Oct 21st, 2008, 11:31 AM
#11
Re: Create an Operating System
If you check out the Projects forum you will find others attempts at creating a scripting language which could also provide some insight of what you will be up against. Its a very tremendous task and would require more then one person developing it (in order to complete it within some decent time frame).
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Oct 21st, 2008, 12:25 PM
#12
Re: Create an Operating System
 Originally Posted by si_the_geek
...
Whether or not you re-create would be up to you, you could re-create Windows instead (which has worked without DOS since Windows 95 I think).
Just to clarify, they used real mode DOS till Windows 98. Till then DOS was the main operating system and Windows was loaded on top of DOS from where it took over.
Pradeep
-
Oct 22nd, 2008, 09:09 AM
#13
Re: Create an Operating System
 Originally Posted by Pradeep1210
Just to clarify, they used real mode DOS till Windows 98. Till then DOS was the main operating system and Windows was loaded on top of DOS from where it took over.
Pradeep 
Erm, no. DOS was used up to Windows ME. Windows 98 and 98SE were still DOS based.
-
Oct 22nd, 2008, 12:25 PM
#14
Re: Create an Operating System
 Originally Posted by kasracer
Erm, no. DOS was used up to Windows ME. Windows 98 and 98SE were still DOS based.
Not entirely. Windows 98 was the first MS OS that could run without DOS being installed since they'd replaced most of the dos programs with equivalent windows programs, however they still shipped Win98 with DOS so the end users would have 100% backward compatibility and in case their system was old enough that it couldn't recognize the windows boot loader.
Windows ME has the ability to run in DOS real-time mode, but everything there is a crappy DOS-emulator because of the win98 enhanced shell running on a poorly configured NT kernel. MS scrapped the winME approach when they started working on winXP. They also fixed up the dos emulator for XP, which handles 99% of the DOS programs in existence.
-
Oct 22nd, 2008, 04:01 PM
#15
Thread Starter
Frenzied Member
Re: Create an Operating System
Can anyone supply good links to start leaning Assembly? e.g. Tutorials etc...
-
Oct 22nd, 2008, 05:43 PM
#16
Re: Create an Operating System
 Originally Posted by noahssite
Can anyone supply good links to start leaning Assembly? e.g. Tutorials etc...
Maybe take a peek at this forum's Assembly section?
http://www.vbforums.com/announcement.php?f=17&a=4
-
Oct 22nd, 2008, 08:26 PM
#17
Re: Create an Operating System
 Originally Posted by JuggaloBrotha
Not entirely.
Crap, you're right... I hate you
-
Oct 23rd, 2008, 12:57 PM
#18
Re: Create an Operating System
from 1975 - 1986 i worked on two large mainframe os's. one was totally written in assembler, the other(unix's older brother) was written in PL/1 mostly. just maintaining and diagnosing problems was awe inspiring.
i also had the privilege of working on a new os for a communications front end processor.
a new os is not for the faint of heart.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|