Objective
Before starting this series of articles, I would like to say, for the antique-grade 8086 compilation in the end, there is no need to learn. Here I say I want to start from 8086, rather than from the Win32 compilation or WIN64 assembly to start learning directly.
The more advanced the development technology is, the deeper it will be for the underlying package. I learned the purpose of assembly language, not to use it to develop application software, because that is the field of high-level language expertise. Learning to assemble is to understand the underlying technology of the operating system.
Assembly language same strain, from the basic beginning, can understand the essence, clarify the context.
From the memory management point of view, real mode and protection mode have been complementary, even the most modern operating system is not out of real mode. Learning 8086 compilations is the best way to understand real patterns.
For these reasons, my assembly tour starts from 8086. By convention, the first article, all from the development environment to start, this series is no exception, but I divided into two articles, the first article briefly introduces the installation of DOS 7.1 in the virtual machine, the next article describes how to integrate development tools into the virtual machine.
Installing MS-DOS 7.1 under a virtual machine
First prepare the disc image, you can search Google or Baidu "[ms-dos.7.10 Complete installation CD ISO]." DOS71CD. ISO "and then download it.
Virtual machine I am using Oracle VM VirtualBox. When open, select New, 1.
Figure 1
Type select "Other", version select DOS, enter your favorite name, 2.
Figure 2
The next step is to allocate memory, using the default value, 3.
Figure 3
Next create the virtual hard disk, 4.
Figure 4
Select the virtual hard disk type, 5.
Figure 5
Choose the size of the hard disk allocation type, recommended to choose a fixed size, after all, hard disk space is not scarce resources, 6.
Figure 6
Select the file location for the virtual disk, 7.
Figure 7
After creating the virtual disk, go back to the main screen and click the "Settings" button, 8.
Figure 8
In the Settings screen, select Storage Item, 9.
Figure 9
Set the disc properties, select the first channel, and then mount the image file for the installation disk. Then start the virtual machine.
After the virtual machine is booted from the CD, interface 10.
Figure 10
Enter the number "1" to start the installation.
Immediately thereafter, all the way next.
Figure 11
Figure 12
Figure 13
Figure 14
Since the new disk is not formatted, it will prompt for formatting, choose Format, 15.
Figure 15
After formatting, a restart is required. 16.
Figure 16
After clicking Restart, press F12 to enter the Boot menu selection page, 17.
Figure 17
Select Start from CD-ROM, continue the installation, repeat the previous steps until you rewrite the MBR page, 18.
Figure 18
Then another burst of next,continue, to ask whether to install the AddOne interface, 19.
Figure 19
Here, I just want to install a slightly pure DOS system, select No. Figure 20, selecting "Enable both UMB and EMS" allows us to learn more about real-mode memory allocations later.
Figure 20
Figure 21, whether to load the driver, here I choose Yes.
Figure 21
Next is the installation of the successful interface, excited. 21st.
Figure 21
Before starting the DOS system, unmount the disc image, or you will have to adjust the boot menu. 22.
Figure 22
Reboot to enter the DOS system.
Figure 23
In the next article, you will learn how to install 8086 assembly development tools into a virtual machine.
[Compilation _80x80] 8086 assembly language 1-Virtual machine installation MS-DOS 7.1