在真实硬件上测试引导程序 [英] Testing bootloader on real hardware

查看:99
本文介绍了在真实硬件上测试引导程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在汇编中创建了一个简单的"hello world"引导程序.
我编译它并获得一个bin文件.我想使用闪存驱动器对其进行测试.

是否可以在不使用任何其他软件而仅使用DOS命令的情况下,在闪存驱动器的第一个扇区上编写引导加载程序?
如果是的话,请告诉我.
[电子邮件已删除]

在此先感谢......:)

I have created a simple ''hello world'' bootloader in assembly.
I compiled it and get a bin file. I want to test it using flash-drive.

Is it possible to write bootloader on the first sector of flashdrive, without using any other software and just by using DOS commands?
If yes then please tell me.
[Email removed]

Thanks in advance...... :)

推荐答案

不要将其放在拇指驱动器上,只需将其加载到虚拟机中即可.这样,您可以更轻松地对其进行测试.
Instead of putting it on a thumb drive, just load it in a virtual machine. That way you can test it more easily.


这篇关于在真实硬件上测试引导程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆