Skip to content

infernodedante/hellobios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hellobios

# instala dependências
sudo apt install clang lld qemu-system-x86 -y

# gera o hello.o
clang -c --target=x86_64-elf -nostdlib -nodefaultlibs -Oz -m16 hello.asm -o hello.o

# gera o hello.bin
ld.lld --oformat binary -T hello.ld -o hello.bin hello.o && hexdump -C hello.bin

# roda a porra toda
qemu-system-x86_64 -hda hello.bin

créditos

baseado no código encontrado em hikalium/hello_world_with_bios

About

Hello BIOS em Assembly para x86

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published