I recently learned the assembly language, because I am using Ubuntu, and the examples in the book are all debugging in the dos environment, so I used Bochs to install freedos for debugging. CentOS6.0 source code compilation and installation of Bochshttp: // www.linuxidc.com/linux/2012-12/76952.htmopensuseinstall bochs2.6http://www.linuxidc.c
I recently learned the assembly language, because I am using Ubuntu, and the examples in the book are all debugging in the dos environment, so I used Bochs to install freedos for debugging.
CentOS 6.0 source code compilation and installation of Bochs http://www.linuxidc.com/Linux/2012-12/76952.htm
OpenSUSE install Bochs 2.6 http://www.linuxidc.com/Linux/2012-11/75156.htm
Building and tuning of Linux0.11 runtime environment -- Bochs http://www.linuxidc.com/Linux/2012-11/73902.htm
Ubuntu 12.04 install the Bochs http://www.linuxidc.com/Linux/2012-10/73251.htm with debugging
Problems encountered during Ubuntu Bochs installation and solutions http://www.linuxidc.com/Linux/2012-05/61422.htm
1. Install bochs
First download the latest version to Bochs: http://bochs.sourceforge.net/grrent.html
Download bochs-2.4.6.tar.gz. The installation process is similar to this:
$ Tar zxvf bochs-2.4.6.tar.gz
$ Cd bochs-2.4.6.
$./Configure -- enable-debugger -- enable-disasm
$ Make
$ Sudo make install
-- Enable-debugger: enable debugging.
2. Download freedos
Download the freedosimage at http://bochs.sourceforge.net/diskimages.html.
Decompress the package directly to the home directory and put all the files in it under home.
Enter the following command:
Bochs
Enter again
Then enter: c
Enter
3. Enter debug in freedos to start debugging. The command is basically the same as ms-dos.
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-05/102460.htm