https://github.com/menci/bootloader
操作系统课作业:MBR 引导加载器
https://github.com/menci/bootloader
Last synced: about 1 year ago
JSON representation
操作系统课作业:MBR 引导加载器
- Host: GitHub
- URL: https://github.com/menci/bootloader
- Owner: Menci
- Created: 2020-09-28T16:16:50.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-28T16:28:17.000Z (almost 6 years ago)
- Last Synced: 2025-04-18T15:17:34.992Z (over 1 year ago)
- Language: Assembly
- Homepage:
- Size: 8.79 KB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
文件列表:
-------
bootloader.s:引导器源代码(本次作业主要内容)
C.ld:用于链接 os 目录下 C 程序的 ld script
os/*.c:被加载的程序(保护模式)
gdb/*.xml:用于 gdb 调试的文件(https://stackoverflow.com/a/61981253)
Makefile 说明:
-------------
make 编译并使用 qemu-system-i386 运行编译好的 build/disk.img
make clean 删除所有生成的文件
修改 CODE_STARTING_SECTOR 可以测试将需要加载的程序放置到不同的扇区号中(记得 make clean)