https://github.com/programost/yodaos
YodaOS - operating system with assembly x86_64 nasm
https://github.com/programost/yodaos
assembly assembly-x86 bootloader kernel operating-system os
Last synced: 7 months ago
JSON representation
YodaOS - operating system with assembly x86_64 nasm
- Host: GitHub
- URL: https://github.com/programost/yodaos
- Owner: programost
- Created: 2025-05-28T18:25:48.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-06-12T09:11:24.000Z (8 months ago)
- Last Synced: 2025-06-12T10:25:03.463Z (8 months ago)
- Topics: assembly, assembly-x86, bootloader, kernel, operating-system, os
- Language: Assembly
- Homepage: https://github.com/programost
- Size: 40 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Ru version:
компиляция файлов:
nasm -f bin boot.asm -o boot.bin
nasm -f bin kernel.asm -o kernel.asm
дальше создание загрузочного образа
можно через "cat"
cat boot.bin kernel.bin > os.img
или через "dd"
dd if=/dev/zero of=os.img bs=512 count=2880
dd if=boot.bin of=os.img conv=notrunc
dd if=kernel.bin of=os.img bs=512 seek=1 conv=notrunc
чтобы запустить систему нужна виртуалка qemu
qemu-system-x86_64 -hda os.img
или чтобы не терять время просто написать
make run
En version:
compile file:
nasm -f bin boot.asm -o boot.bin
nasm -f bin kernel.asm -o kernel.asm
create bootable image:
cat boot.bin kernel.bin > os.img
or
dd if=/dev/zero of=os.img
s=512 count=2880
dd if=boot.bin of=os.img conv=notrunc
dd if=kernel.bin of=os.img bs=512 seek=1 conv=notrunc
starting system on qemu:
qemu-system-x86_64 -hda os.img
or starting with make
make run
