Home-made operating system-the simplest system Hello World

Source: Internet
Author: User

Following the steps of a home-made operating system, you first need to edit an. img file using the binary editor, which you can run in two ways after editing is complete:

1: You can burn the img file into a floppy disk file and restart the computer
2: Run with Qume virtual machine.

We take the second approach, first we need to get the. img file in its CD "30 days homemade OS CD \os\projects\01_day\helloos0\
Helloos.img "in. The way we achieve this is:

1: Copy the Tolset folder under the OS folder to one of the places where you want it

2: Create Helloos0 directory under the Tolset folder

3: Copy the Helloos.img,!cons_9x.bat,!cons_nt.bat from the CD's location "30 days homemade operating system CD \OS\PROJECTS\01_DAY\HELLOOS0" to your new Helloos0 directory

4: Create a new Run.bat file, that is, modify the text file Run.txt for Run.bat, the book is required to write:

But this is problematic, and it should be:

One of the other batch files is install.bat to write the image file helloos.img to the floppy disk, which is no longer used.
But one problem that needs to be pointed out is that the book asks:

You should need to write this to run successfully:

5: Run

Double-click the!cons_nt.bat batch file, and then enter the command run in it, it will run successfully, the following is the result of my run:

If you encounter the following issues after you enter the Run command:

Although it can be run successfully, but he will report some problems, these problems occur because of the ". /z_tools/qemu/fdimage0.bin "needs to be written
“.. \z_tools\qemu\fdimage0.bin "So it's OK.

Note: QEMU is an emulator that can emulate a PC and is interested to know about it.

Home-made operating system-the simplest system Hello World

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.