Hey guys, just figured I'd let you know about my latest project. Since I'm sure people will ask this, no, there is no point to this project. I am doing it purely for fun and experience.

Anywho, I'm writing my own kernel (C/ASM). So far its still really really basic (keyboard input, PIC timer, error handling, and that's about it), but its coming along nicely. If anyone is interested, the source is being hosted here http://code.google.com/p/kllrix/ Makefile assumes GNU toolchain + NASM

Its pretty fun to work on, so if you know C and/or x86 ASM, feel free to mess around with the code Smile

To run it, I use VirtualBox (use the floppy.img after building to boot from)
Very cool, I look forward to taking a look through this.
w00t. My kernel is now a simple snake game.

I forgot to mention this before, but when you boot the floppy.img you'll get a grub prompt. To boot the kernel type:


Code:
kernel 200+30


Grub will say something about loading a multiboot elf. Then just type


Code:
boot


And it'll run Smile
Nice work man I'll have to reinstall VirtualBox and try it out. To bad VirtualBox doesn't support 64bit virtual machines. It isn't much use to me with out that feature.
Very cool indeed. I've toyed with the idea of writing a simple OS in this sort of form (just as a toy) before, too. Although, I'm sorely lacking in much of the knowledge which would help me there.

Of course, armed with a copy of your source and google, I expect I can learn quite a bit Smile.

Now I want to go somewhere where I can print for free, and print the entire Intel 64 and IA-32 Architectures Software Developer's Manuals.. or maybe just order a printed copy.
TheStorm wrote:
Nice work man I'll have to reinstall VirtualBox and try it out. To bad VirtualBox doesn't support 64bit virtual machines. It isn't much use to me with out that feature.


I think it does, you just have to have a CPU with hardware virtualization (just like you do for vmware). Also known as Intel VT-x or AMD-V, its in the advanced options for the created VM.

@Tari:
2 good resources and tutorials
http://wiki.osdev.org/Main_Page
http://osdever.net/bkerndev/Docs/intro.htm
Kllrnohj wrote:

Sweet! *dives in*
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement