-
Operating System
I was wondering about creating my own operating system????
You guys are prolly like "this kids way out of his legue" and stuff eh. I don't exactly mean what u prolly think I mean. I want to have a program that looks pretty much dos based run when the computer starts up. There is nuthing else on the Hard drive. This program only handles a few basic commands. The best example I can think of is sumthing like a atm machine. When it starts up theres the program. I chose to say operating system casue I couldn't think of anything else to call it. I have all the code fiqured out exept for the fact I want the computer to think it is the operating system and execute it on the start-up. This I have absolutly no idea how to do. Could any of you point me in the right direction. I am sure there are a few of you who have created complex operating systems. Well thanks for taking the time to read my post.
:confused: :confused: :confused: :confused: :confused: :confused:
-
you'd have to go in and change the boot sector stuff wouldn't you? There was a topic on this like a few months ago by like a 11 year old wanting to make a GUI OS.
-
Some of the guys at flashdaddee have a few OS design projects (Ken, Hillbillee, Compuboy)......
But its not for the faint hearted.....a good working ability with ASM seems to be important.....Take a look at Compuboy's site ......He has done some pretty impressive stuff (bootstrap, floppy controller, video manipulation funcs.....)....
-
Don't forget the new gun, rayhenduk(sp?). S/he seems to know a LOT.
-
I suggest doing a search on Boot Loaders as that is what you will need. I'm assuming you mean you just insert a floppy disk with your code and boot loader and it writes some stuff to the screen. This is a lot harder than you may imagine. Start with a boot loader and see if you still are interested.
-
There are a lot of open-source OS'es, which are very small. Most of them fit on a disk.
Like:
- LeeOS
- ShawnOS
I don't know about your backgrounds. But I would advice to read something about OS'es and study some examples. Like the OS'es I've mentioned. Also read about the assembly language which applies to your machine.
-
do u guys know where I should search on this board or on the net. Any reasource sites u recommend preferably with tutorials.
-
The site that were recommended were great. You just have to see for yourself ;)
-
OK
That is quite a bit harder then I imagined to create a simple OS.
What about using DOS and haveing your program run at start up.
That would achieve the effect I am looking for.
-
>What about using DOS and haveing your program run at start up.
An easy way would be to let it handle by autoexec.bat, by adding your program to the list of actions.
-
I think you have to...
I think you have to learn ASM. Some things(like the boot sector) can't be done in C/C++, so you have to do it in ASM. You have to create a kernel, also. There are other things, though, that you can do in C and put it together with ASM. A good place to find some links on ASM OS Dev. is http://www.osdev.org.
-
Reading this guys post, Shiro's answer seems to me to be more like what the poster is looking for. The poster however, it would appear, needs a little direction on the difference between a TBUI / GUI and an OS.
-
ok
yes what is the difference
-
TBUI and GUI are just interfaces. OS is Operating System, wich means that it would have to handle everything from the hard drive to the monitor.
-
OS?
If you really are looking to write a simple OS, you should try reading the Walkthrough available in the download section of my website. It's not too difficult if you really put your mind to it.
If you're just looking to have some code started when you boot, though, you should probably just use a simple DOS system disk with an autoexec.bat file which will run your program. Be careful, though, your program would have to be compiled as a raw binary 16-Bit COM file. EXE files don't work in real DOS. You can get ld (DJGPP linker) to do this with the --oformat binary option.
Hope this helps.