Reputation: 58
I wrote a Program in Assembler language, saved as boot.asm
and then compiled as boot.bin
.
In all tutorials that I saw, the bin file was tested in Bochs on virtual floppy disk, but I can't create virtual floppy disk on Windows 8.1 64 bit. How can I test it on a CD?
Upvotes: 1
Views: 5490
Reputation: 18493
I would NOT try to test bootable images by really booting them on a real computer. Re-booting your PC will cost a lot of time and if there are bugs in the program (unintended writing to hard disk for example) you erase all data on the computer.
If I were you I would download a product like the VMware Player (it is free for non-commercial use) and test the boot file there. Just append as many bytes to the "boot.bin" file that the size is 1440*1024 bytes and use the file as disk image.
--- EDIT ---
As far as I understand you correctly your actual problem is that you do not have Bochs installed.
If this is true: Bochs is free for download, so why don't you just install it?
(I just suggested VMware player because I haven't used Bochs, yet. Maybe it was not a good idea.)
Reading the sentence "... but I can't create virtual floppy disk on Windows ..." I have the feeling that you are not fully aware what you are doing. This is why I suggest you to test your software using a virtual machine (like Bochs, VMware, Microsoft Virtual Machine, ...) and not to create a real bootable disk.
Using a virtual machine you do not risk damaging data on your computer - creating a bootable CD you do.
If you want to create a bootable CD: I don't know about Windows 8.1 but using the Windows 7 built-in CD-Rom burning mechanism you cannot create a bootable CD at all so you will require a third-party CD-burning software.
Upvotes: 1
Reputation: 28828
You'll need to create a bootable cd-rom. I would assume that most cd-rom and dvd-rom burner programs include this type of utility.
Upvotes: 0