A very basic bootsector example for x86 (NASM)
Install Requirements (debian based)
sudo apt-get update
sudo apt-get install nasm qemuGet Repository
git clone https://github.com/rainerzufalldererste/bootsector.git
cd bootsectorAssemble & Run
nasm bootsector.asm -o bootsector.bin
qemu-system-x86_64 -drive format=raw,file=bootsector.bin --nographic --curses
To close the VM press Ctrl+A then X.