How to develop your own operating system boot program? What happened when you turned on your computer? 1. The power is turned on; 2. BIOS starts; 3. The boot program begins to execute. Guide procedure: You have a normal binary (COM format); size is 512 bytes; the last two bytes must be 0AA555; it can be loaded into memory address 0x7c00. Tools: NASM - is a free assembly tool (there are three versions of DOS / Windows / Linux) Partcopy2.0 - DOS is free to disk copy data for disk copy data: 1.Just HANG ... This simple boot program Only hang: HANG: JMP HANG Times 512 - ($ - $$) - 2 DB 0 DW 0AA55H Connection This bootstrap: NASM -F BIN -O HANG.BIN HANG.ASM Now you need a formatted disk, Transfer sectage sectage partcopy hang.bin 0 200 -f0 "0" means that "200" means to be transferred from the top of the hang.bin file to the top 200 bytes to insert disk and re-re- Start the machine and test this boot program. 2. A Program on a Real mode is very simple, and a slightly complex program is described below.