Boot
计算机启动过程:bios -> grub -> kernel
bios
固件 ROM
https://github.com/coreboot/seabios
- /opt/homebrew/Cellar/qemu/9.1.0/share/qemu/bios-256k.bin
进入 bios, 参考 https://www.qemu.org/docs/master/system/qemu-manpage.html
qemu-system-x86_64 -boot menu=on,splash-time=5000
bootloader - grub
find / | grep “boot.img” /usr/lib/grub/i386-pc/pxeboot.img /usr/lib/grub/i386-pc/diskboot.img /usr/lib/grub/i386-pc/boot.img /usr/lib/grub/i386-pc/lnxboot.img /usr/lib/grub/i386-pc/cdboot.img
kernel
vga https://people.cs.umass.edu/~verts/cmpsci201/Mode_13_draft2.pdf
VGA programming lessons https://en.wikipedia.org/wiki/Mode_13h
https://asm.inightmare.org/index.php?tutorial=1&location=11
References
- https://github.com/dibingfa/flash-linux0.11-talk