Workers must be good, and must first make a tool. I have recently wanted to learn the writing of computer launches, I have found a few good articles online and put the environment.
The required tools are as follows (Windows environment):
Any text editor for generating .s file.
Download NASM (Win32) assembler from the Internet or other assembler to compile into a bin file.
Download Winhex from the Internet must be registered and used to generate an IMG file.
Download Winiso from the Internet to generate bootable ISO files.
Download Daemon from the Internet for installation of virtual drives, load the ISO file.
Download VMware from the Internet for execution launches.
First write the bootable program, generally the assembler, saved as .s file. Assume that it is test.s.
Then compile into a bin file with NASM. NASM default compilation file is a bin file. NASM Test.s generates a TEST file.
Then open WinHex, create a file with a .IMG type, open this IMG type file.
Open the generated Test file, copy all file contents to the IMG type file, saved to boot.img.
Use Winiso to create a CD, select CD to start, will prompt to select a boot file, select Boot.Img, save to Test.iso.
Open the daemon virtual drive to load the Test.iso CD.
Open VMware, create a new virtual operating system, type is other, select from the virtual optical drive to start, start.
Article reference
http://www.jorking.com/blogview.asp?logid=26&cateID=3