Skip to content

AishaTariq/CAO-OS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

CAO-OS

source code for 64-bit x86 operating system kernel

Sample Print Output

SEECS

Prerequisites

  • A text editor such as VS Code.
  • Docker for creating the build-environment.
  • Qemu for emulating the operating system.

Setup

Build an image for the build-environment:

  • docker build buildenv -t myos-buildenv

Build

Enter build environment:

  • Linux or MacOS: docker run --rm -it -v "$pwd":/root/env myos-buildenv
  • Windows (CMD): docker run --rm -it -v "%cd%":/root/env myos-buildenv
  • Windows (PowerShell): docker run --rm -it -v "${pwd}:/root/env" myos-buildenv

Build for x86 (other architectures may come in the future):

  • make build-x86_64

To leave the build environment, enter exit.

Emulate

Emulate the operating system using Qemu: (Don't forget to add qemu to your path!)

  • qemu-system-x86_64 -cdrom dist/x86_64/kernel.iso

Cleanup

Remove the build-evironment image:

  • docker rmi myos-buildenv -f

About

64-bit x86 operating system kernel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published