How To Make An Operating System


In this episode, gigafide shows you how to create our own operating system using the Assembly programming language. Project Files: www.tinkernut.com Learn Assembly: en.wikipedia.org www.drpaulcarter.com www.xs4all.nl joelgompert.com Operating System Credit/Reference: mikeos.berlios.de Virtual Box www.virtualbox.org Disk Images www.allbootdisks.com NASM: nasm.sourceforge.net

Tags: ,
Filed under: Operating System

Comments

  1. Docko412 Says:

    why no usb? OS? D’;

  2. isreasontaboo Says:

    Those who think this is tough haven’t gone through the GDT/LDT/IDT + paging + PAE part yet. Not to sound superior or anything, but although I was? familiarised with non-X86 assembly for a long time it took me quite some time to figure out these peculiarities of the Intel architecture. It was a relief once I did. :-)

  3. wacossusca34 Says:

    This is why they have developed languages that are easier for users to organize, create, and understand. Assembly is understood at a level too low for people to be programming in now.

    Here’d my question. WHY IN THE WORLD WOULD YOU WRITE AN OS IN JAVA??? Java runs in an interpreter, it cannot be compiled to a binary that is understood? like assembly.

  4. rebugProg Says:

    @pie977 Nowadays they’re mostly x86-64, which is commonly referred to as x64. The x64 architecture is designed for backwards compatibility with x86, making it more of an extension of x86 than a separate architecture. That way, processors that support x64 processors will also? support x86 instructions natively (giving support for 32-bit applications).

  5. curlyfries0511 Says:

    FATAL: NO BOOTABLEMEDIUM FOUND! SYSTEM HALTED?

  6. pie977 Says:

    @rebugProg Ah, makes sense. Thanks for the response. On a related note, does this mean that modern processors are somehow a hybrid of the x86 and x64 instruction set? I’m under this assumption since they’re both able to run the 32-bit and 64-bit versions depending? on what’s installed.

  7. rebugProg Says:

    @pie977 yes and no.
    It does depend on the processor, but more specifically on the instruction set architecture, or how? code is written, compiled and fed to the processor. Most devices you touch use either x86 (most Intel processors, Windows 7 and below) or ARM (tablets, embedded devices, etc). Assembly written for x86 will only work on x86 and assembly written for ARM will only work on ARM.
    (all iirc, I do more scripting than ASM programming)

  8. pie977 Says:

    I’m an assembly noob so correct me if I’m wrong. Doesn’t the assembly language depend on the processor being used? Thus, the assembly would only work for the specific processor? that you’re working on and not on others meaning you can’t really use it on any other machine.

  9. Radnyxerr Says:

    @xMandalorex Java isn’t an operating system… the “billion devices” just use the Java Virtual Machine (JVM) for it’s? software.

  10. TheOrangePiggy Says:

    @xMandalorex bbqsauceonmy is correct. You should see Java as a computer program running on top of an operating system, which in turn interprets so called “byte code”. This code cannot be run directly on a processor, unlike a programming language such as C. Java can only be used as a layer on top of an? operating system written in a more low level language. Android for example only allows the user to control the Java section of the OS. Hope this helps! And take it easy with your language please =)

  11. mustafabandu3487 Says:

    i dont want to play games? idiot i want to operate my system

  12. bbqsauceonmycock Says:

    @xMandalorex? No operating system on the entire Earth is written in Java.

    You mean Android right? It’s written in C.

  13. LLOORREENNN2 Says:

    What? just happened?

  14. xMandalorex Says:

    @bbqsauceonmycock?

    seeing as over a billion devices use a java based OS

    … so yea good luck to them huh ? you fucking idiot

Leave a Reply