geos/OST OS/info.txt

36 lines
1.1 KiB
Plaintext
Raw Normal View History

2024-03-25 23:00:14 +01:00
https://www.cs.bham.ac.uk/~exr/lectures/opsys/10_11/lectures/os-dev.pdf
CURRENT PAGE: 46
Name:
Obsidian Starlight OS
Compile Assembly:
cd "\Users\05wse01\Desktop\OST OS"
C:\Users\05wse01\AppData\Local\bin\NASM\nasm.exe boot_sect.asm -f bin -o boot_sect.bin
NOTE: The boot_sect.bin date wont change in the process... To clear out some confusions
Create VirtualBox disk:
Open admin cmd
cd "\Program Files\Oracle\VirtualBox"
VBoxManage.exe convertfromraw "C:\Users\05wse01\Desktop\OST OS\target" "C:\Users\05wse01\Desktop\OST OS\output.vdi" --format VDI
NOTE: Target has to be larger than 1mb (check file size in explorer)
AND: The file has to be a multiply of 512
AND: You need to set the the file as an available virtual disk in the VirtualBox interface (how?.. IDK)
Qemu emulator:
cd "C:\Program Files\qemu"
qemu-system-x86_64w.exe "C:\Users\05wse01\Desktop\OST OS\boot_sect.bin"
Compile C:
gcc -ffreestanding -c basic.c -o basic.o
ld -o basic.bin -Ttext 0x0 --oformat binary basic.o
ndisasm -b 32 basic.bin > basic.dis
Clean out rows with:
0000 add [eax],al