设计操作系统并编写实用程序

设计操作系统并编写实用程序

问题描述:


甚至在开始考虑如何编写操作系统之前,我都有一个小的查询.可能是一个基本查询,就在这里.

在编写了一个非常小的程序之后,该程序仅打印"Hello World!".到屏幕
我需要编写自己的汇编器,然后开始设计自己的C编译器等吗?
我的查询是在创建HelloWorld.exe程序之后,我使用引导加载程序来处理执行HelloWorld.exe程序的执行,该程序显示"Hello World!".消息到屏幕上.

我想这是一个很小的操作系统.但是从这里开始,我如何编写其他实用程序,这些实用程序会为我创建的微小操作系统添加一些内容.

如何编写其他程序并将其嵌入HelloWorld.exe.我是否需要在另一台计算机上编写自己的汇编程序,编译器,然后将其放入HelloWorld.exe中,以便
我开始在HelloWorld.exe内核中编写自己的程序?????


这是写的方法吗??

请...请...请.需要您的建议或投入:)

Hi,
I have a small query even before starting to think on how to write an operating system. May be a basic query and here it is.

After writing a very small program which just prints only "Hello World!" to the screen
do I need to write my own Assembler and then start designing own C Compiler and so on ????

My query is after creating a HelloWorld.exe program, I use the bootloader to handle the execution of HelloWorld.exe program which prints "Hello World!" message to the screen.

Now this is a very tiny os i suppose. But from here on how do i write other utilities which add something to the tiny os which I have created.

How do i write other programs and embed them in HelloWorld.exe. Do I need to write my own Assembler, compiler on another machine and then put them in HelloWorld.exe so that
I start writing my own programs in HelloWorld.exe kernel ?????


Is this the way to write it????

Please...please...please. need your suggestions or inputs :)

关于操作系统设计和实现的课程很多.

有许多开源OS项目,例如minix,linux,cosmos等.它们也将帮助您了解基础知识.

从上述之一开始.
There are a multitude of courses on operating system design and implementations.

There are a number of open source OS projects like minix, linux, cosmos etc. also which will help you understand the basics.

Start with one of the above.