help me! I want to make a new Mini-OS ,but I don't how to s

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
jaly

help me! I want to make a new Mini-OS ,but I don't how to s

Post by jaly »

:-[ help me! I want to make a new Mini-OS ,but I don't how to start ,would you tell me how to do with step by step ?
stonedzealot

Re:help me! I want to make a new Mini-OS ,but I don't how t

Post by stonedzealot »

Hahahaha. Try to write an operating system like any other but use assembly for everything and streamline everything for new hardware only. There you go.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:help me! I want to make a new Mini-OS ,but I don't how t

Post by Solar »

jaly, your first post at least was in the right thread - "How to ask questions". I strongly suggest you read that thread, then try the "QuickLinkx" thread (both locked so they stay on top of the thread list, i.e. easy to find).

Then come back, and we will be happy to answer your questions.
Every good solution is obvious once you've found it.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:help me! I want to make a new Mini-OS ,but I don't how t

Post by Pype.Clicker »

1. Would you mind using third-party bootloader at first ? (Yes:1.0,No:1.1)

1.0: Go for GRUB bootloader, check the FAQ for how-to-use-it and the multiboot standard, then go to 2
1.1: Read about real mode programming, INT13h, protected mode switching, BIOS boot process, etc. All these steps are detailed on Bona Fide tutorials as well as on the FAQ.

2. What host system do you have ?
(Win:2.0, Linux:3)
2.0: install cygwin to have a decent and free work environment. Make sure you know how GCC and LD work.

3. Pick up a PC emulator for the first tests and figure out how it works (Bochs and VMware are the most used)

4. Write a simple kernel, which should be able to report messages on screen, catch exceptions and display panic messages ...
(OSRC and bona fide together with the intel manual should provide the requested assistance)

5. augment your kernel with dynamic memory management (kernel's heap) -- try to find something that explains first fit/best fit allocation.

6. you're now ready to fill in what you wish, adding device drivers, debugging shells, user program support, module facility, etc. according to your preferences/priorities/mood/global world domination plans
Post Reply