Nytro Posted August 11, 2012 Report Posted August 11, 2012 [h=1]How to write a simple operating system[/h][h=3]© 2011 Mike Saunders and MikeOS Developers[/h] This document shows you how to write and build your first operating system in x86 assembly language. It explains what you need, the fundamentals of the PC boot process and assembly language, and how to take it further. The resulting OS will be very small (fitting into a bootloader) and have very few features, but it's a starting point for you to explore further. After you have read the guide, see the MikeOS project for a bigger x86 assembly language OS that you can explore to expand your skills.[h=2]Requirements[/h] Prior programming experience is essential. If you've done some coding in a high-level language like PHP or Java, that's good, but ideally you'll have some knowledge of a lower-level language like C, especially on the subject of memory and pointers. For this guide we're using Linux. OS development is certainly possible on Windows, but it's so much easier on Linux as you can get a complete development toolchain in a few mouse-clicks/commands. Linux is also really good for making floppy disk and CD-ROM images - you don't need to install loads of fiddly programs. Installing Linux is very easy thesedays; grab Ubuntu and install it in VMware or VirtualBox if you don't want to dual-boot. When you're in Ubuntu, get all the tools you need to follow this guide by entering this in a terminal window:sudo apt-get install build-essential qemu nasm This gets you the development toolchain (compiler etc.), QEMU PC emulator and the NASM assembler, which converts assembly language into raw machine code executable files.Tutorial:http://mikeos.berlios.de/write-your-own-os.html Quote
parazitul29 Posted August 11, 2012 Report Posted August 11, 2012 foarte bun tutorialul mai ales partea despre cum functioneaza un bootloader si parca facuse cineva de pe rst ceva de genul "os-ului" prezentat in tutorial Quote
acidFreak Posted August 13, 2012 Report Posted August 13, 2012 E interesant ca e in assembly. Nu prea ma pricep dar ma intreb cat de diferit ar fi daca l-as scrie pentru procesoare ARM. Quote