So a couple days ago, I ventured into the uncharted territory of OS development. As a kind of a "Hello, World" program, I created this bootloader in assembly:
;*********************************************
; Boot1.asm
; - A Simple Bootloader
;
; Operating Systems Development Tutorial
;*********************************************
org 0x7c00 ; We are loaded by BIOS at 0x7C00
bits 16 ; We are still in 16 bit Real Mode
Start:
cli ; Clear all Interrupts
hlt ; halt the system
times 510 - ($-$$) db 0
dw 0xAA55
Then, I used NASM to compile the assembly file into a .bin file. Next, I used PowerISO to convert this binary file into an ISO file. Finally, I attached the ISO file into Microsoft Virtual PC 2007. When it did not work initially, I checked the BIOS and made sure that CD/DVD was first on the boot priority list. When I tried lauching the system after that, it gave me the following error:
"reboot and select proper boot device "
After searching on the internet, I found that this means that the ISO is not bootable. When I researched more on how to fix this, I could not find much, other than that an ISO has to be configured properly in order to be bootable. How would I go about doing that, and if its not possible, what other alternatives do I have?
I am running a Windows 7 Home Premium Edition 64-bit.