Skip to content

Tutorial: getting started with OS development in assembly and C/C++ (GCC) on Windows

Notifications You must be signed in to change notification settings

FutureMillennium/OS-dev-Windows-start

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting started with OS development on Windows

You will need

The OS code itself

The code is copied verbatim from the OSdev.org Bare bones tutorial

Building and running the OS

  1. Make sure you've installed MinGW, QEMU, and have a i686-elf targeting GCC
  2. Edit vars.cmd to match where you've installed or extracted dependencies.
    • set the minGW variable to the MinGW bin directory: SET "minGW=C:\MinGW\bin"
    • set the gcc variable to the GCC bin directory: SET "gcc=C:\software\ghost-i686-elf-tools\bin"
    • set the qemu variable to the MinGW bin directory: SET "qemu=C:\Program Files\qemu"
  3. Run build.bat to build the OS and run it in QEMU
    • Run run.bat to just run the compiled code in QEMU

About

Tutorial: getting started with OS development in assembly and C/C++ (GCC) on Windows

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published