views:

154

answers:

1

I am trying to write a kernel purely in assembly language. How do i go 'bout the development environment and general setup that lets me control what i want it to do?

+5  A: 

osdev.org should have all you need.

This website provides information about the creation of operating systems and serves as a community for those people interested in OS creation

To clear it up a little more, apart from all the resources and information on the site, there are two assembly "starter tutorials":

  1. 32-bit Assembly Bare Bones
  2. Real Mode Assembly Bare Bones

From there its really up to you to explore the wiki more, it has everything one needs, in one basic form or another

Necrolis
I am well-versed in C, C++, etc, but need to write a kernel for core hardware interaction. I know this is not too high a goal. Please DarkDust, the answer is important to me. If anyone knows what i need to do, i'd appreciate it. Do not hold back details as i am trying to add to already-gotten info.
ManX
The osdev.org site seems to focus on C to write an OS (i hope i'm wrong). I am trying to write the kernel purely in ASM.
ManX
Yes dmckee, the answer to your questions is Yes.
ManX
Thanks Grizzly, I don't have a prticular ASM to program in but am trying to decide which course to go. What i need is to interact with hardware directly (primarily video) so that programs could (for example) draw graphics through my layer. This is only an example and i don't want to write a device driver since it would be subject to an existing OS. Basically, I want to interface directly with hardware (video, printer, speaker, etc) so that other programs could do so through my layer.
ManX
@ManX- two notes for using Stack Overflow: 1. You should answer a comment in the *same* comment section. Except that the question always appears at top (and accepted answer after than (unless they are self answers)) there is no guarantee on the order in which posts appear. 2. The `@displayname` convention activates a notification mechanism to insure that the person you are addressing sees that you have answered.
dmckee