Self-made operating system-the simplest system helloWorld

Source: Internet
Author: User

Self-made operating system-the simplest system helloWorld

Follow the steps of the self-made operating system. First, you must use the binary editor to edit an. imgfile. After editing, you can run the file in either of the following ways:

1: You can burn this imgfile into a floppy file and restart the computer.
2: run with the qume virtual machine.

We use the second method. First, we need to obtain the. imgfile in the file, and in the "30-day self-made operating system CD \ OS \ projects \ 01_day \ helloos0 \
Helloos. img. We implement the following methods:

1: copy the tolset folder under the OS folder to a desired place.

2: Create the helloos0 directory in the tolset folder.

3: Place helloos. img in the "30-day self-made OS cd \ OS \ projects \ 01_day \ helloos0" on the CD ,! Cons_9x.bat ,! Copy cons_nt.bat to the self-created helloos0 directory.

4: Create a New run.batfile, that is, modify the run.txt of the hosts file to run. bat. The requirements in the book are as follows:

But there is a problem with this writing. It should be like this:

Another batch file install. bat is used to write the image file helloos. img to a floppy disk, which is no longer used here.
However, you need to note that the requirements in the book are as follows:

It should be written in this way to run successfully: <喎?http: www.bkjia.com kf ware vc " target="_blank" class="keylink"> VcD4KCjxwPjxpbWcgc3JjPQ = "http://www.2cto.com/uploadfile/Collfiles/20150509/201505090956205.jpg" alt = "here write picture description" title = "\">

5. Run

Double-click! Cons_nt.bat: run the batch processing file and enter the command "run". The following is the result of my operation:

If you encounter the following problems after entering the run command:

Although it can run successfully, but it will report some problems, these problems occur because "../z_tools/qemu/fdimage0.bin" needs to be written
".. \ Z_tools \ qemu \ fdimage0.bin.

Note: QEMU is a simulator that can simulate a PC. If you are interested, take a look.

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.