我的系統是ubuntu8.04
因為要用到debug的功能,所以下載了最新的bochs源碼(2.3.7),編譯等:
$./configure --enable-debug --enable-disasm
$make
$sudo make install
成功。
改了一下配制文件,加載了我自己寫的一個軟盤image,運行bochs,開始模擬。但問題是哪裡輸入debug命令?怎麼沒有提示符之類的?又沒有那個選項,查了一下都是在解釋debug命令的意思,並不是我想要的。暈啊~~
問一個關于bochs的問題
- xxdaystar
- 帖子: 225
- 注册时间: 2006-07-28 14:58
- 来自: 廣州
- xxdaystar
- 帖子: 225
- 注册时间: 2006-07-28 14:58
- 来自: 廣州
Re: 問一個關于bochs的問題
是不是配制文件哪裡要改,但我發現不了相關的。man bochs 看看命令才那麼點:
-q With this option the start menu will be skipped after loading
the configuration file.
-f configfile
This option specifies the name of the configuration file.
-qf configfile
When you run bochs with this option, it will skip the start menu
and use the specified configuration file.
-n With this option bochs doesn't load a configuration file. In
that case the setup for the emulation must be done with bochsrc
options on the command line or in the start menu.
-h, --help
Print a summary of the command line options for bochs and exit.
-q With this option the start menu will be skipped after loading
the configuration file.
-f configfile
This option specifies the name of the configuration file.
-qf configfile
When you run bochs with this option, it will skip the start menu
and use the specified configuration file.
-n With this option bochs doesn't load a configuration file. In
that case the setup for the emulation must be done with bochsrc
options on the command line or in the start menu.
-h, --help
Print a summary of the command line options for bochs and exit.
- xxdaystar
- 帖子: 225
- 注册时间: 2006-07-28 14:58
- 来自: 廣州
Re: 問一個關于bochs的問題
win下有個叫bochsdbg的,我是相要那個功能的,不但是運行。
- xxdaystar
- 帖子: 225
- 注册时间: 2006-07-28 14:58
- 来自: 廣州
Re: 問一個關于bochs的問題
找到原因了。第一句應該是:xxdaystar 写了:我的系統是ubuntu8.04
因為要用到debug的功能,所以下載了最新的bochs源碼(2.3.7),編譯等:
$./configure --enable-debug --enable-disasm
$make
$sudo make install
成功。
改了一下配制文件,加載了我自己寫的一個軟盤image,運行bochs,開始模擬。但問題是哪裡輸入debug命令?怎麼沒有提示符之類的?又沒有那個選項,查了一下都是在解釋debug命令的意思,並不是我想要的。暈啊~~
$./configure --enable-debugger --enable-disasm –with-sdl
看來網上的教程靠不住啊
-
- 帖子: 167
- 注册时间: 2007-09-01 23:52
Re: 問一個關于bochs的問題
源里安装的bochs可执行文件会放在 /usr/bin/bochs
而你这样自己编译的bochs会放在 /usr/local/bin/bochs
显然 如果要调用那个你自己安装的bochs,应该显示的使用完全路径:
而你这样自己编译的bochs会放在 /usr/local/bin/bochs
显然 如果要调用那个你自己安装的bochs,应该显示的使用完全路径:
代码: 全选
/usr/local/bin/bochs
-
- 帖子: 39
- 注册时间: 2008-11-15 16:14
Re: 問一個關于bochs的問題
找到原因了。第一句應該是:
$./configure --enable-debugger --enable-disasm –with-sdl
看來網上的教程靠不住啊 [/quote]
这个不可以~~~!!通不过的~~~!!!晕!!!
$./configure --enable-debugger --enable-disasm –with-sdl
看來網上的教程靠不住啊 [/quote]
这个不可以~~~!!通不过的~~~!!!晕!!!