1 Star 1 Fork 0

winter-loo/Bootloader

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
README.txt 1.00 KB
一键复制 编辑 原始数据 按行查看 历史
winter-loo 提交于 2015-04-14 22:01 . initial commit
Tool we used:
NASM(download @ nasm.us)
VFD(virtual floopy drive, download @ vfd.sourceforge.net)
Bochs(download @ bochs.sourceforge.net)
Reference
https://www.youtube.com/watch?v=5ktTFuFBqzU
http://en.wikipedia.org/wiki/BIOS_interrupt_call#Interrupt_table
http://www.nasm.us/xdoc/2.11.08/html/nasmdoc3.html#section-3.4.3
Workflow
coding in asm --> compile it --> make a bootable --> run it
Guide
After you writing out the *.asm files, you need an assembler to compile it to a binary file.
Open Command Prompt, cd to this directory. Type following command
nasm -f bin <asm file name> -o <output file name with extension>
For example,
nasm -f bin Boot2.asm -o Boot.bin
if you need a .img file, type as follows
nasm -f bin Boot2.asm -o Boot.img
To makt it bootable, you need a tool mkbt.exe (included in this directory).
Then typing in command line,
mkbt Boot.bin a:
Note: before the above command, you need to format the floopy drive `a:`
Now, start the file **bochs.bxrc**
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Assembly
1
https://gitee.com/winter-loo/Bootloader.git
git@gitee.com:winter-loo/Bootloader.git
winter-loo
Bootloader
Bootloader
master

搜索帮助