datkin / learn-os

Very simple experimentation with Operation System implementation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Started with "Writing a Simple Operating System", by Nick Blundell [1].

To build bochs on a Macbook Air:

  ./configure --disable-cdrom --without-macos --without-carbon --with-x11 \
    --with-term --enable-debugger --enable-disasm --disable-debugger-gui

Or on more recent versions:

  ./configure \
    --disable-cdrom \
    --without-macos \
    --without-carbon \
    --with-x11 \
    --with-term \
    --enable-debugger \
    --enable-disasm \
    C{,XX,PP}FLAGS=-I/opt/X11/include \
    LDFLAGS="-L/opt/X11/lib -lX11"

However, the build is segfaulting for me, at the moment.

To build boot_sect.asm:

  nasm boot_sect.asm -f bin -o boot_sect.bin

[1] www.cs.bham.ac.uk/~exr/lectures/opsys/10_11/lectures/os-dev.pdf

About

Very simple experimentation with Operation System implementation.


Languages

Language:Assembly 100.0%