用于OS开发的工具 [英] Tools for OS development

查看:90
本文介绍了用于OS开发的工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows和/或Linux中创建操作系统需要什么?

我知道c / c ++和asm。



抱歉我的英语不好:)

解决方案





我自己工作操作系统,所以我希望我能为您提供一些有用的信息!为了编写内核,我使用在Linux上运行的gcc。我使用的汇编程序是NASM,也运行在Linux上。



(另外,我假设你为x86写这个?)



这两个站点是有关OS设计信息的非常有价值的地方:

http:// www。 osdever.net/ [ ^ ]

http://wiki.osdev.org/Main_Page [ ^ ]



另一个有趣的链接是:http://www.gnu.org/software/grub/manual/multiboot/html_node/Example-OS- code.html [ ^ ]



Multiboot标准是一种编写内核,然后使用Multib的简单方法oot bootloader(在我的例子中,GRUB)来引导内核。多引导内核将CPU设置为32位并启用A20线路(这允许访问最多4GB的RAM)。使用Multiboot引导加载程序也意味着您不必自己编写引导加载程序:)



当然:英特尔手册是一个很好的起点!


查看此网站 [ ^ ]:它是一个简单的开源操作系统,使用 C / C ++实现汇编程序 ...


我不确定为什么你会花费时间来开发一个操作系统,因为已经有这么多可用的,但不过,这些文章可能会帮助您入门:



开发您自己的C#或VB.NET操作系统 [ ^ ]

Buildi您自己的操作系统 [ ^ ]



BTW:Windows和Linux是操作系统,所以你不在Windows和/或Linux中操作系统 - 你要替换这两个操作系统...

What do I need to create an operating system in windows and/or linux?
I know c/c++ and little asm.

Sorry for my bad English :)

解决方案

Hi,

I am working on my own OS, so I hope I can provide you with some helpful information! For writing the kernel, I use gcc running on Linux. The assembler I use is NASM, also running on Linux.

(Also, I assume your writing this for x86?)

These two sites are very valuable places for info on OS design:
http://www.osdever.net/[^]
http://wiki.osdev.org/Main_Page[^]

Another interesting link is this: http://www.gnu.org/software/grub/manual/multiboot/html_node/Example-OS-code.html[^]

The Multiboot standard is a simple way of writing a kernel, and then using a Multiboot bootloader (In my case, GRUB) to boot the kernel. A Multiboot kernel sets the CPU to 32bit and enables the A20 line (this allows access to upto a maximum of 4GB of RAM). Using a Multiboot bootloader also means you don't have to mess around writing a bootloader yourself :)

And of course: The Intel Manuals are a good place to start!


Have a look to this site[^]: it's aminimalistic open-source operating system, realized using C/C++ and assembler...


I'm not sure why you would want to spend your time developing an operating system when there are so many available already, but nevertheless, these articles might help you get started:

Develop your own Operating System in C# or VB.NET[^]
Building your own operating system[^]

BTW: Windows and Linux ARE operating systems, so you don't do operating systems "in Windows and/or Linux" - you do a replacement for the two...


这篇关于用于OS开发的工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆