I learn and try to create one to play.
- Boots and displays "Hello, World!"
- 512-byte boot sector with correct signature
- Can be run in QEMU
make # Build the floppy image
make run # Run in QEMU (requires qemu-system-i386)./check_boot.sh # Check boot sector size and signatureThe boot sector has been improved with:
- More efficient assembly instructions
- Proper stack pointer setup
- HLT instruction in infinite loop
- Correct boot signature (0x55AA in little-endian)
狗子一边学一边做着玩的。
- 启动并显示"Hello, World!"
- 512字节引导扇区,签名正确
- 可在QEMU中运行
make # 构建软盘镜像
make run # 在QEMU中运行(需要qemu-system-i386)./check_boot.sh # 检查引导扇区大小和签名引导扇区已改进:
- 更高效的汇编指令
- 正确的堆栈指针设置
- 无限循环中的HLT指令
- 正确的引导签名(小端格式的0x55AA)