X01. OS. 10: Input and Output

Source: Internet
Author: User

SlaveX01.lab. DownloadDownload the source code, enter the project directory, make and then bochs, you can see the following interface:

Just a few words. OK! Press f2 to switch to the second terminal. The interface is as follows:

Of course, you can switch the third terminal by pressing F3, but it is basically the same as the second one, so it will not waste space.

Input and Output, involving the keyboard and display. The keyboard is mainly used to operate the 8048 encoder and the 8042 controller. The monitor is the registers that operate the VGA system. In all aspects, it is a process of gradual improvement and accumulation. Yu Yuan explained in detail that when I switched tty, ALT + F1 was used, but my VM did not respond, so I had to change it to F1.

A simple distinction is made between tasks and user processes.

Add the system to call write to implement the printing function. However, when A, B, and C processes run, tty feels a little out of control, which is normal.

It took a day and finally it was OK.

X01. OS. 10: Input and Output

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.