Wheat Operating System (WheatOS)
- 3 Devlogs
- 1 Total hours
An Operating System with based on x86 for computers
An Operating System with based on x86 for computers
I just made a shortcut today, so it will help me later in this project.
I have added a PowerShell file to build a Binary file (.bin) and other files (.img, .vdi) from my main Assembly file (.asm).
& "C:\Program Files\NASM\nasm.exe" -f bin boot.asm -o boot.bin
del disk.img -ErrorAction SilentlyContinue
del disk.vdi -ErrorAction SilentlyContinue
$disk= New-Object byte[] (1474560)
[IO.File]::WriteAllBytes("disk.img", $disk)
$boot= [IO.File]::ReadAllBytes("boot.bin")
$disk= [IO.File]::ReadAllBytes("disk.img")
[Array]::Copy($boot, 0, $disk, 0, 512)
[IO.File]::WriteAllBytes("disk.img", $disk)
& "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" convertfromraw disk.img disk.vdi --format VDI
I finally get my operating system on a virtual machine and make it output some words
I am researching assembly programming and how hardware and software work together.