Life is endless, tossing more than _php tutorial

Source: Internet
Author: User

Life is endless, tossing and turning


As of today, I personally have been tossing four gadgets: singing a song (music player), LMOs (OS kernel of x86_64 system), LMOSEM (operating system core of ARM system), and newly-built computer books ("Deep Exploration embedded operating system: Design from scratch, Architecture and development) such as:


Grade four, the school opened an information class, that is the first time in my life to see the real computer, or the kind of small and thick CRT display, those computers in the school's only one paved floor brick classroom, it is the school's cleanest classroom. Because the school was only 12 computers, so we classmate had to 6, 7 people for a small group to share a computer, in class to take off shoes, soon will smell the foot of the room smelly, class teacher also do not say anything, is let us in a computer installed DOS play Super Mary, The game after 00 of the children may not remember, everyone operating the computer is careful, for fear of breaking it, and later know that the computer is not so easy to bad. Because of my physical reasons, slow movement, the opportunity to machine is always the students to seize, finally can only be alone in front of the window to see the distant mountains and trees, I admit that there is still a distant heart ...

Time is the most brutal, the blink of an eye has been to 2008, that year I was 20 years old, that is, that year I have their first computer, the night of Computer City master from the assembly machine to install the operating system to the last open to listen to a song "A Cut Mei", just used for almost 10 minutes, that skilled brisk technique, In my heart filled with admiration, when I think when I can become such a master. After dinner, I would like to open again to listen to the song, then feel the computer listening to music than the home of the tape machine more cool, the master stood behind me, I toss a half-day also did not successfully run the chin listening software, had to shake his head to help me finish, I incredibly even WinXP Start menu will not be used, At that time, my heart was so depressed that I couldn't feel more ashamed ... The result is 2008 June I reached the realm of the master, I disdain to say to myself, I want to become an installed personnel.

August 2008, I started my programming path, programming to learn a variety of programming languages, I learned the first programming language is VB. In fact, I was deceived by people, listening to others said that VB is a very good language, I learned, after learning to feel VB programming is to draw the control ... Set control Properties ... Write a small amount of code to respond to events ... Later found that the University of VB is the Chinese department of Meng Girls will learn the language, but also know that VB programming is so simple, because Microsoft helped us do a lot of things ... But to prove that you have learned VB, you have to use it to write a software, write what, I thought of myself very admire the chin, so I am ready to write a music player, began to be prepared until the 2009 38 began, with the bass Audio decoder library, It took about one months to finally complete a smarty pants music player, and uppity took a loud name-sing a song, sing a song is based on the. NET environment developed, set play, sound, powerful and extensible music player. Supports DirectSound, kernel audio streams ( Kernel streaming) audio stream output, support mp3;ape;wma;; FLAC;OGG;CDA;TTA;ACC+;AC3; MoD and more than 10 kinds of audio formats. Supports 10-band equalizer, multi-level Dolby Surround, fade-in sound. Sing a song and intelligent file judgment program, Super Decoding program, efficient dynamic memory allocation program, music file management program. such as:



Later I began to surf the internet, found a lot of sophisticated software with VB is impossible to achieve, then I suddenly realized that VB is so low, then I know the C language, then I feel this is a high-force lattice of language, and began to learn the same as the wind C, like a big student to see the first C tutorial is that "old Tan C" , after watching, in addition to write that the computer world is famous for the "Hello World" program, nothing else can do, do not do, then toss C + +, JAVA, the result is the same, or can only write a "Hello World" program, 10 times a day to ask yourself this is why, Why this, fortunately I have the internet, it let me find the algorithm and data structure, after the toss, finally can write some small function of the software, perhaps that is not at all functional, so that will continue to toss, sure enough, I found the operating system API, This is the first time that the word operating system appears in my mind, before that, I think the computer bought should be like this, it should support so many functions from the circuit, now want to think of how stupid before it would have this idea ...

What the operating system is, what it has done, in order to solve these problems I have seen no more than five operating system theory books. These books are not for people to develop the operating system, but let me understand that no matter how high grid application software is supported by the operating system, but also know that the operating system is also software its lower layer is the hardware, but generally operating system in my impression left a mysterious feeling, in fact, I am very interested in the mysterious things, In the face of this mystery, there are only two choices: either give up or go to the bottom, I choose the latter, because I can not give up, and finally I like the extreme madness of a decision: the operating system I want to write software.

I think I've become obsessed with it, and for the sake of it, I'm like a pervert. Existing operating systems: LINUX NT MACH FREEBSB SOLARIS MINIX L4, all books related to these comparisons, but this does not allow me to write the operating system, Because I do not understand the hardware platform system, so I looked at a variety of hardware layer related books, which in fact most come to Intel official PDF. Before this also learned the principle of microcomputer and assembly language.

Book to see more also gradually have their own ideas and opinions, I think Ah, since it is written operating system, why I can not put these ideas in code implementation, put on the real computer to verify, so that there is my LMOs embryonic. From the first line to boot code, again and again the code refactoring, time and again to face the deadlock and despair, but the heart is reluctant to give up, then the rest is continuous improvement, constant toss, the most finally become the LMOs now. After several years of independent development, 7 Beta versions have been released. Successively from the 32-bit single CPU architecture to 64-bit multi-CPU architecture, now LMOs is a multi-process, multi-threading, multi-CPU, support virtual memory x86_64 system of the full 64-bit operating system kernel, the code has more than 100,000 lines. I know that a whole new operating system needs to go a long way, and the end of the road is likely to be a failure. Because a person from scratch to develop the operating system independently This behavior is a bit crazy, a bit of divine essence disease. I simply named my operating system with LMOs (Liberty,madness,operating,system). I'm not a normal person anyway.

Due to the advent of arm, people produce a variety of small, low-power intelligent hardware, these smart hardware embedded in mobile phones, watches, refrigerators, air conditioners, televisions, washing machines and other common electronic products, make these commonly used electronic products function more powerful, more intelligent, and they can be connected to the network, user-friendly remote control, Thus greatly improved people's lives. So in the second half of 2013, I did not hold back my curiosity began to learn embedded systems, and wrote an embedded operating system--lmosem. Learning and implementing an embedded operating system is not difficult because of the previous skills and the simplicity of the arm system. Lmosem is based on the arm system, but Lmosem and LMOs are completely different operating systems, different architectures, different codes, in addition to reusing the relevant data structures in the LMOs driver model. At the same time Lmosem is more simple than LMOs, the kernel part is only more than 10,000 lines of code.

Because the Lmosem code is very small, very suitable for writing a book, sharing it is not very good, the code is written, and how difficult it is to write books, the heart of a cross, said write on writing, write writing to find writing a book is more difficult than writing code, but I am a reluctant to give up the person, so it is hard to write down This book is designed from scratch to write a working embedded operating system for the purpose, from a detailed introduction to the ARM platform architecture, to discuss the embedded operating system development environment and install the development tool chain, and then to the embedded operating system architecture design, and then from the embedded operating system to start with the first line of code, This paper discusses the HAL layer, memory management, interrupt management, drive model, process management, file system, System API and other important components of embedded operating system in detail, each component starts from design data structure, discusses its implementation details and its relationship with hardware platform and other components, finally presents a complete, The working embedded operating system gives the reader an insight into the nature of the operating system from a practitioner's perspective. The title is "Deep Exploration of embedded operating systems: zero-based design, architecture, and development" is now published in the shelves.

The latest version of LMOs joined the graphics driver and ACPI power management drivers as shown below I will continue to toss LMOs, Lmosem two operating systems, will make these two operating systems become more and more powerful, perhaps there will be more books, my purpose is endless life, tossing not only, so this is not the end, This is just the beginning ...

About my blog:

Http://blog.chinaunix.net/uid/28032128.html

http://www.it168.com/redian/lmos/
qq:609379965
Weibo: Http://weibo.com/LMOSKERNEL

About LMOs:


Videos from LMOs:

Http://www.iqiyi.com/w_19rs4e0k05.html#vfrm=2-3-0-1

About Lmosem:


About Deep Exploration embedded operating systems: zero-based design, architecture, and development

If you wish to support please click: http://product.china-pub.com/4879889, or share the spread of this blog is also the support of LMOs, thank you here!!






http://www.bkjia.com/PHPjc/1067482.html www.bkjia.com true http://www.bkjia.com/PHPjc/1067482.html techarticle life is endless, tossing not only to today, I personally have been tossing a four of gadgets: singing a song (music player), LMOs (x86_64 system OS kernel), Lmosem ( ...

  • 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.