Use Bochs in Ubuntu to simulate freedos learning 8086 assembly and debug debugging

Source: Internet
Author: User
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.