代码拉取完成,页面将自动刷新
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**
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。