0

在此处输入图像描述在 Bochs 中测试我的引导加载程序时,我使用了以下配置文件

# ROM and VGA BIOS images ---------------------------------------------

romimage:    file=BIOS-bochs-latest, address=0xf0000 
vgaromimage: VGABIOS-lgpl-latest 

# boot from floppy using our disk image -------------------------------

floppya: 1_44=a:, status=inserted  # Boot from drive A

# logging and reporting -----------------------------------------------

log:         OSDev.log             # All errors and info logs will output to OSDev.log
error:       action=report 
info:        action=report

但是在执行它时,我收到错误“vgaromimage 指令格式错误”。有什么帮助吗??我已经保存了我的配置文件 Conf.bxrc?

在此处输入链接描述

4

1 回答 1

3

我发现我的问题的解决方案不是由于路径,而是由于配置文件中提到的地址,我已将地址 0xf0000 替换为 0xe0000 并且它可以工作,因为 Bochs BIOS 的大小是 128kb,而不是 64kb –

于 2015-04-21T11:07:17.017 回答