Skip to content

havensjg/osdev-demos

Repository files navigation

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

About

Short, specific examples of OSDev concepts for x86

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy