Just Beginning

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.
User avatar
ertrules22
Posts: 24
Joined: Tue Jun 26, 2007 7:07 am

Just Beginning

Post by ertrules22 »

I am just starting on my OS, Silver OS, and I was wondering if anybody had any tips on where to start. I am on my way to learning Assembly and C++. I am planning on a long journey, so please give any advice on where to begin my OS!
Thanks,
ertrules22
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post by AJ »

Hi,

Try starting with the wiki (link above), and www.osdever.net - loads of good tutorials and information - oh and get the free intel manuals.

Cheers,
Adam
User avatar
ertrules22
Posts: 24
Joined: Tue Jun 26, 2007 7:07 am

thanks

Post by ertrules22 »

Thanks for the help! Should I just google the Intel manuals?
User avatar
mathematician
Member
Member
Posts: 437
Joined: Fri Dec 15, 2006 5:26 pm
Location: Church Stretton Uk

Re: thanks

Post by mathematician »

ertrules22 wrote:Thanks for the help! Should I just google the Intel manuals?
You can download them from Intel's website if you look hard enough. Try typing something like "IA-32 programming" into their search engine. Alternatively you can order printed manuals from the same website.
User avatar
ertrules22
Posts: 24
Joined: Tue Jun 26, 2007 7:07 am

Post by ertrules22 »

So, after the tutorials, where should I start as far as coding goes. Do you have any suggestions as far as tools and such?
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Post by piranha »

You need a compiler, an editor, a linker...etc.

You also should get a virtual machine program such as bochs, qemu, or VMware (I use vmware). Also if you have another computer then you can use that to test your OS (this is what I did). That is useful because sometimes the results on a virtual machine are different then on a real machine.

Good Luck!! :wink:
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
User avatar
t0xic
Member
Member
Posts: 216
Joined: Sat May 05, 2007 3:16 pm
Location: VA
Contact:

Post by t0xic »

If you want to test on a real machine either us dd or rawwrite. Here is the link to the Intel Manuals

Good luck on your journey,
--t0xic
User avatar
ertrules22
Posts: 24
Joined: Tue Jun 26, 2007 7:07 am

Post by ertrules22 »

Hey, thanks a million! I will let you know when I begin (after I complete my assembly and C++ studies :)> ) Hopefully I will finish (the OS v 1.0) by the time I am done with high school at least! any other help will be greatly appreciated and used!
User avatar
ertrules22
Posts: 24
Joined: Tue Jun 26, 2007 7:07 am

Post by ertrules22 »

I have another question. It might sound dumb, but, what exactly do you start an OS with? Like codewise. How do you start one out, so it starts up on boot, and runs on the computer? Also, when I develop my OS into a final, working stage, how can I, or other people, develop software for the OS? Please, once again, any help will be greatly appreciated, and I don't want to sound dumb, but I am new to this.
Thanks,
ertrules22
User avatar
ertrules22
Posts: 24
Joined: Tue Jun 26, 2007 7:07 am

Post by ertrules22 »

I've decided to base my OS on DOS, any further suggestions? I decided to start simple and learn the basics before advancing further
User avatar
ertrules22
Posts: 24
Joined: Tue Jun 26, 2007 7:07 am

Post by ertrules22 »

I've decided to base my OS on DOS, any further suggestions? I decided to start simple and learn the basics before advancing further
scratch the DOS. I want it to look like DOS, simple GUI, probably w/out mouse. But I want it to run better then DOS, and have multi-tasking and the such. So, now does anyone have suggestions on good bootloaders, or mem manager that I can use/edit/improve/all of the above.
Don't think that by building a great OS that you'll be rich. History has shown us that the best OS's never receive any commercial success, while the ones that have a lack of design and inspiration do. ~Quote from the osdev wiki site
Meshounah
Member
Member
Posts: 38
Joined: Sun Jun 24, 2007 6:48 pm

Post by Meshounah »

i wouls recommend poking through MikeOS at mikeos.sourceforge.net to see how things are done =)
chik'n
Meshounah
Member
Member
Posts: 38
Joined: Sun Jun 24, 2007 6:48 pm

Post by Meshounah »

i wouls recommend poking through MikeOS at mikeos.sourceforge.net to see how things are done =)
chik'n
User avatar
t0xic
Member
Member
Posts: 216
Joined: Sat May 05, 2007 3:16 pm
Location: VA
Contact:

Post by t0xic »

I would use GRUB as a bootloader or something like the bootloader attached:

--Michael
Attachments
fat12boot.asm
Fat12 Compliant Bootloader -- loads a kernel linked at 0x1000
(4.14 KiB) Downloaded 49 times
User avatar
ertrules22
Posts: 24
Joined: Tue Jun 26, 2007 7:07 am

Post by ertrules22 »

Maybe I am doing something wrong, but all of the boot managers or virtual emulators (qemu, etc.) will not work for me. Probably a user error, but could someone point me in the right direction?
Don't think that by building a great OS that you'll be rich. History has shown us that the best OS's never receive any commercial success, while the ones that have a lack of design and inspiration do. ~Quote from the osdev wiki site
Post Reply