new to OS DEV.....

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.
hockey97
Posts: 3
Joined: Thu Feb 07, 2008 3:08 pm

new to OS DEV.....

Post by hockey97 »

Hi I am new here and also somewhat new to OS making. I never made a OS but would love to try to. I know c++ and some ASM but I never really made an OS I made a few programs in c++ and done some examples or small coding ect in python before.

I really would like to get into OS dev. I am right now planning to make a small computer with up to date hardware. I have made circuits before and took eletronics class in highschool which was a college class. Next sem in college I am going to take a class called semi-conductor class .

I really need some guide on what to learn first and mainly a step to step way I can slowly build up to an expert in os. I mean like little experiments that can I code somthing starting small and then start adding on and on too until I get a full working pc built by myself the hardware and software.

Is their also any free software that can emulate a os rather than when making your own os having to reboot your computer to see it the os works or not.

any tips or suggestions website that I can start looking at to help me gain more knowledge on making an OS.

Thanks for your time.
User avatar
suthers
Member
Member
Posts: 672
Joined: Tue Feb 20, 2007 3:00 pm
Location: London UK
Contact:

Post by suthers »

Hey,
welcome to OSdev (though i'm not that old myself)
For tutorials i think:
http://www.osdever.net/tutorials.php?cat=0&sort=1
is a good place (thats were i learn't most of my stuff though i am still far from considering myself an expert, ...).
there is also the wiki:
http://www.osdev.org/wiki/Main_Page
(Yes I know that's kind of funny comming from me...)
as for an emulator theres boschs, that you can download here:
http://www.osdever.net/downloads/emulat ... 32-bin.zip
Otherwise good luck
Jules
User avatar
lukem95
Member
Member
Posts: 536
Joined: Fri Aug 03, 2007 6:03 am
Location: Cambridge, UK

Post by lukem95 »

you need to code really well before attempting an OS. so i'd do some more C/C++ and definatly some more ASM first.

also, im sure many of your questions are answered in the wiki or on google, but hey, im in a good mood:

Qemu, bochs and MS virtual PC are all free emulators

osdev.org (here) has a great wiki, osdever.net has lots of good tutorials, jamesmolloy.co.uk has a great tutorial section... there are many others, but basically... order the intel manuals, their excellent.

erm.. that should get you started
~ Lukem95 [ Cake ]
Release: 0.08b
Image
hockey97
Posts: 3
Joined: Thu Feb 07, 2008 3:08 pm

Post by hockey97 »

thanks for the info. If I downloaded boschs and use that to emulate my scripts of my begginning OS and let's say some huge errors occur, would it fry my computer or do any damage?? Or is this safe like windows xp would be able to see the errors and if could damage any hardware it would shut it down. Since I will be using an emulator.
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 »

Is their also any free software that can emulate a os rather than when making your own os having to reboot your computer to see it the os works or not.
There is VMware, Bochs, Virtual PC, QEMU, Virtual Box.
You can just Google that......and yeah......Hint: Don't ask things that can be answered by searching on Google.

-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Post by 01000101 »

first off, you should READ either the Intel Software Developer's Manual, or the AMD Architecture Programmer's Manual depending on what your CPU is.

Intel = http://www.intel.com/design/processor/m ... 253668.pdf
AMD = http://www.amd.com/us-en/assets/content ... /24593.pdf

Also, you will want to check out the tutorials found at the Wiki here, and also, check out OSDever.net's tutorials.

You will DEFINATELY want to brush up on some assembly language skills, I had next to none when I first started, and I found out very quickly that ASM is a language worth learning extensively.
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Post by pcmattman »

See that sticky at the top of the OS Development forum?

Highly suggested reading ;).
User avatar
bluecode
Member
Member
Posts: 202
Joined: Wed Nov 17, 2004 12:00 am
Location: Germany
Contact:

Post by bluecode »

suthers wrote:as for an emulator theres boschs, that you can download here:
http://www.osdever.net/downloads/emulat ... 32-bin.zip
Please don't post links to a bochs version from 2003. 2.3.6 is currently the newest, you can get it directly on the bochs homepage.
jal
Member
Member
Posts: 1385
Joined: Wed Oct 31, 2007 9:09 am

Post by jal »

hockey97 wrote:If I downloaded boschs and use that to emulate my scripts of my begginning OS and let's say some huge errors occur, would it fry my computer or do any damage??
Bochs is an emulator. It emulates a PC. So nothing gets fried. Besides, it's really difficult to fry hardware with software, although I guess it's possible.


JAL
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post by AJ »

The main way you can fry hardware with software is by writing to memory mapped IO areas or ports which control hardware functions. I believe frying a CRT isn't all that hard.

Cheers,
Adam
jal
Member
Member
Posts: 1385
Joined: Wed Oct 31, 2007 9:09 am

Post by jal »

AJ wrote:I believe frying a CRT isn't all that hard.
I'm not really sure. In the old days, yes, especially with fixed sync monitors, you could fry those easily. But new CRTs (or TFTs) have quite some logic aboard to reject bogus timing signals, and will just display an error message.


JAL
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

But new CRTs (or TFTs)
CRTs and TFTs are somewhat different... :roll:
jal
Member
Member
Posts: 1385
Joined: Wed Oct 31, 2007 9:09 am

Post by jal »

JamesM wrote:CRTs and TFTs are somewhat different...
Yes, but both have protection against misuse, nowadays.


JAL
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post by Combuster »

I've been doing VGA programming for about 7 years now, and I never managed to break a monitor in all that time :wink:
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
mathematician
Member
Member
Posts: 437
Joined: Fri Dec 15, 2006 5:26 pm
Location: Church Stretton Uk

Post by mathematician »

AJ wrote:The main way you can fry hardware with software is by writing to memory mapped IO areas or ports which control hardware functions. I believe frying a CRT isn't all that hard.

Cheers,
Adam
Unless I am mistaken, it takes access to i/o ports to damage a monitor.
Post Reply