translator

Senin, 16 April 2012

cara membuat sistem operasi sendiri

Ada ide untuk membuat sistem operasi sendiri tapi bingung mau mulai dari mana. Langsung googling dan ketemu disini. Di Indonesia bahasan ini masih jarang kayanya. Baru nemu yang bule punya (ckckck). Check this out now. Original resource from here

Make a Computer Operating System
An Operating System tells the computer what to do. Whether the ones you have found don’t measure up, or if you are a hobbyist wanting to have a creation to call your own, it can be a daunting to do this task and it may take years to get your own operating system to be of any use. Remastering an existing Linux distro can also be straight forward and easy. An operating system is a piece of software to manage and interact with the hardware effectively and provides a shell for other programs to run on.
steps
1
Decide what medium you want to load your OS on. It can be a CD, DVD, Thumb drive or a hard disk
  • 2
    Decide what you want your OS to do. Whether it is a fully capable OS with a GUI or something a bit more minimalistic, you’ll need to know what direction you are taking it before beginning.
  • 3
    Target what processor platform your operating system will support. If you are not sure, your best bet is to target the X86 (32 bit) processor platform as most computers use X86 platform processors.
  • 4
    Decide if you would rather do it all yourself from the ground up, or if there is an existing kernel you would like to build on top of. Linux from Scratch is a project for those that would like to build their own Linux distro.
  • 5
    Decide if you’re going to create your own bootloader or a pre-created one such as GRUB. While coding your own bootloader will give a lot of knowledge of the hardware and the BIOS, it may set you back on the programming of the actual kernel.
  • 6
    While it is possible to create an operating system in a language such as Pascal or BASIC you will be better off using C or Assembly. Assembly is absolutely necessary as some vital parts of an operating system require it. C++ contains keywords that needs another fully built OS to run. Don’t use it.
  • 7
    Start small. Begin with small things such as displaying text and interrupts before moving on to things such as memory management and multitasking.
  • 8
    Decide on your API. While this is a long way off it is a good idea to plan ahead. A good API to choose is POSIX, which is well documented. All Unixes have at least partial support for POSIX, so it would be trivial to port Unix programs to your OS.
  • 9
    Decide on your design. There are monolithic kernels and microkernels. Monolithic kernels implement all the services in the kernel, while microkernels have a small kernel combined with user daemons implementing services. In general, monolithic kernels are faster, but micro kernels have better fault isolation and reliability.
  • 10
    After all development is done, decide if you want to release the code as Open source, or proprietary
  • 11
    If you want an easy way. Consider Ubuntu remastersys, Fedora Revisor, Custom Nimble X, Puppy Remaster, PCLinuxOS mklivecd, SuSE Studio[1] and SuSE KIWI. However, the operating system you create belongs to the company who started the service first. Although you have rights to distribute it freely, change it and run it however you like (under the GPL).

  • 1 komentar:

    1. ngga' ngerti gan bahasa inggris,,, yg versi indo saja,,,, visit back my blog http://t-kj.blogspot.com

      BalasHapus