/bootloader

Bootloader experiments

Primary LanguageAssembly

Bootloader

This repository holds some bootloader exercises/experiments based on 0xAX. It is written in GNU assembly (AT&T syntax).

How to build

$ as boot.s -o boot.o
$ ld --oformat binary -T linker.ld boot.o -o boot 

How to run

Using qemu:

$ qemu-system-i386 boot

How to debug

Normally build but run using bochs:

$ bochs