64bit-os-tutorial
64bit-os-tutorial copied to clipboard
Automatically set the sector size to be read by the bootsector
I noticed that in build.sh
there exists
echo "ALERT: Adjust boot sector to load $sectors sectors"
I think this can be automated. We can set a variable in boot.asm
to modify, and then write the calculated size into it using build.sh
.