Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 949 Bytes

README.md

File metadata and controls

45 lines (36 loc) · 949 Bytes

cocotiOS

A simple OS implementation for IA32

Prerequisites

  • QEMU simulator or bochs
  • I only know QEMU...
  • nasm compiler
  • dd tool

How to compile

$ cd boot
$ nasm -I ../include/ -o mbr.bin mbr.S
$ nasm -I ../include/ -o loader.bin loader.S
$ dd if=./mbr.bin of=../img/cocotiOS.img bs=512 count=1 conv=notrunc
$ dd if=./loader.bin of=../img/cocotiOS.img bs=512 count=1 seek=1 conv=notrunc
$ cd ../img/
$ qemu-system-x86_64 cocotiOS.img

Current results

Reference

  1. mikeos: write your own os
  2. wiki: int 10h
  3. x86 Assembly/Control Flow
  4. Writing a boot loader in Assembly and C