Haribote OS

32 bit Operating System based on the book "30 日でできる! OS 自作入門"

Development Environment

  • OS
    • Mac OS X 10.15.7 19H2
  • Homebrew 2.7.1
  • Editor
    • Visual Studio Code 1.52.1
  • Binary Editor

Requirements

Requirements to develop Haribote OS on Mac OS X

Setup

Installation of Requirements

  • Install Assembler
brew install nasm
nasm --version
# NASM version 2.15.05 compiled on Aug 29 2020
  • Install Emulator
brew install qemu
qemu-system-i386 --version
# QEMU emulator version 5.1.0
# Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers
  • Install Mtools
brew install mtools
mtools --version
# mtools (GNU mtools) 4.0.26
# configured with the following options: disable-xdf disable-vold disable-new-vold disable-debug enable-raw-term
  • Install Compiler
brew tap nativeos/i386-elf-toolchain
brew install i386-elf-binutils i386-elf-gcc
i386-elf-gcc --version
# i386-elf-gcc (GCC) 9.2.0
# Copyright (C) 2019 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions.  There is NO
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Test

TODO