So lets start making our little operating system and as tradition first we will make a hello world operating system.So things you should known before making operating system like what tool you gonna use,language,most important actually understanding what you are dealing with.."concepts".
So what is Operating System???
So what is Operating System???
An operating system (OS) is a set of programs that manage computer hardware resources and provide common services for application software.
So actually we are going to build programs which will deals with hardware and make it work for us in an efficient way.Its about learning hardware language ,because to give instruction to someone we have do it in his/her language .We will create a communication channel through which different hardware will talk and produce output in a effective way.Well you might be getting confused but dont worry things will get crystal clear as we move ahead.So it takes a long study of different manual of hardware manufacturer to understand the basics language of a hardware like port no.,pin,interrupt no. etc.
But we will not go in detail here right now.well i 'll build os around intel x86 architecture as it is supported by most of the hardware and software community.
For hardware functions such as input and output and memory allocation, the operating system acts as an intermediary between application programs and the computer hardware, although the application code is usually executed directly by the hardware and will frequently call the OS or be interrupted by it. Operating systems are found on almost any device that contains a computer—from cellular phones and video game consoles to supercomputers and web servers.
So before starting i must warn you its not easy ...its not for beginners.Writing an operating system is a bit harder than writing a
conventional program, by its nature: you're actually writing
the code that works the machine and runs other people's code.
The lack of debuggers, libraries, and standard code makes it
the black art that it has become. You can't debug using
traditional methods because you're writing at a lower level
than the debugger itself (even the debugger calls the operating
system).
So tool that we gonna need to make our own os:
2:dd
Or to make it easy to say we gonna need a linux machine up and working with qemu or bochs installed on it.
Thats it.. now on next post i 'll be explaining how to make our very first hello world operating system....
So stay tuned...
0 comments:
Post a Comment