Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.01 KB

readme.md

File metadata and controls

33 lines (22 loc) · 1.01 KB

OSDev demos

A collection of specific examples for x86 platform hardware or OS development concepts that I've written or adapted.

All examples are licensed under the MIT license, see LICENSE for details.

Requirements:

  • i686-elf GCC/G++ and binutils (build/install instructions from OSDev Wiki)
    • The CMake file toolchain-i686-elf.cmake will expect to find this toolchain in ~/opt/cross/bin
  • grub-mkrescue (with PC/BIOS binaries)
  • CMake
  • (for testing) qemu or other virtual machine
    • To install qemu on Debian-based systems, run apt install qemu-system-x86

Building any demo:

mkdir build
cd build
cmake ..
make livecd

The resulting live CD image will be in build/myos.iso

There is also a bash script that runs the above instructions for each demo and places the iso files into a directory named iso-files, with each iso file named after the subdirectory it came from.

Testing any demo:

Using qemu:

qemu-system-i386 -cdrom build/myos.iso