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.
com1
Member
Member
Posts: 105
Joined: Sat Apr 28, 2007 11:57 am
Location: TN

hey

Post by com1 »

You might start reading on OS Theory, and understanding how an OS works. After this, i recommend learning C and some Assembly. Learning basic Assembly will greatly help you and is necessary for creating an OS. You might check out http://www.osdever.net for tutorials and such. I hope this helps!
oh microsoft, microsoft, what souls you have dismayed
User avatar
t0xic
Member
Member
Posts: 216
Joined: Sat May 05, 2007 3:16 pm
Location: VA
Contact:

Post by t0xic »

What error message are bochs and qemu giving you? That might help if we knew the error :wink:

--Michael
User avatar
ertrules22
Posts: 24
Joined: Tue Jun 26, 2007 7:07 am

Post by ertrules22 »

Well, not so much just an error message, just need some help getting it up and running. I am trying to run the above mentioned MikeOS on my system with qemu, but I can't seem to figure it out, perhaps I just need to do some more research, any suggestions?
i wouls recommend poking through MikeOS at mikeos.sourceforge.net to see how things are done =)
You also should get a virtual machine program such as bochs, qemu, or VMware (I use vmware).
Oh, and I am trying to go as cheap as possible (as in FREE) so I can't use VMware, also, I don't have an actual machine that I would risk testing it on, but I can run a VM on my machine.
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
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 »

bochs is free, and possibly the best you can get for debugging purposes. Virtual PC is also free, and btw emulates a more appropriate set of hardware than vmware IMO.
Maybe I am doing something wrong, but all of the boot managers or virtual emulators (qemu, etc.) will not work for me.
What is the big problem that you can't download, install, and run e.g. Bochs? We need a more concrete description of the problem before we can do something meaningful without stabbing at the dark.
Last edited by Combuster on Wed Jun 27, 2007 8:04 am, edited 1 time in total.
"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
JAAman
Member
Member
Posts: 879
Joined: Wed Oct 27, 2004 11:00 pm
Location: WA

Post by JAAman »

ertrules22 wrote: Oh, and I am trying to go as cheap as possible (as in FREE) so I can't use VMware, also, I don't have an actual machine that I would risk testing it on, but I can run a VM on my machine.
VMware is free
VirtualPC is free
qemu is free

but bochs is best when your starting out as it provides better debuging/diagnostic tools (though once you have something to boot, i would use all of them and several physical PCs also, for maximum compatibility testing)
User avatar
ertrules22
Posts: 24
Joined: Tue Jun 26, 2007 7:07 am

Post by ertrules22 »

Okay, here's my problem. I wrote the MikeOS.iso file to a CD-R, and when I open bochs, which is the emulator that I have, what do I do to run MikeOS in bochs? Help is appreciated as always! thanks,
ertrules22
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
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 »

"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
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

If you are using it in an emulator, why on earth did you burn it onto a physical CD? Most emulators can use ISO images directly.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
ertrules22
Posts: 24
Joined: Tue Jun 26, 2007 7:07 am

Post by ertrules22 »

So I could try it on my laptop at home. (it is crap, so I just use it for testing stuff)
okay, here is my error message. I downloaded a dif os now, it is Do0rS, I followed the instructions, and here is what it says:
[/img]
Attachments
Here is bochs (first pic)  here is the background window that opens (pic two) and the error message I get PANIC (pic three
Here is bochs (first pic) here is the background window that opens (pic two) and the error message I get PANIC (pic three
pic1.JPG (57.82 KiB) Viewed 887 times
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
User avatar
ertrules22
Posts: 24
Joined: Tue Jun 26, 2007 7:07 am

Post by ertrules22 »

here is pic 2
Attachments
pic2.JPG
pic2.JPG (53.27 KiB) Viewed 886 times
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
User avatar
ertrules22
Posts: 24
Joined: Tue Jun 26, 2007 7:07 am

Post by ertrules22 »

and pic 3
Attachments
pic3.JPG
pic3.JPG (45.7 KiB) Viewed 885 times
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
User avatar
t0xic
Member
Member
Posts: 216
Joined: Sat May 05, 2007 3:16 pm
Location: VA
Contact:

Post by t0xic »

Well from picture two, it doesn't look like you have bochs configured at all. You have to add this line to your bochsrc.txt file:

Code: Select all

floppya: 1_44=phoenix-os-onyx.img, status=inserted
--Michael
User avatar
ertrules22
Posts: 24
Joined: Tue Jun 26, 2007 7:07 am

Post by ertrules22 »

yeah, I did that, but the line says

Code: Select all

floppya: 1_44=C:\temp\Do0rS-version\image\Do0rS.img, status=inserted
that is what the docs on doors said to do, but I will try it the other way I found too, and let you know later!
Thanks again,
ertruless22[/code]
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
User avatar
t0xic
Member
Member
Posts: 216
Joined: Sat May 05, 2007 3:16 pm
Location: VA
Contact:

Post by t0xic »

Do you have this line in your bochsrc.txt?

Code: Select all

boot: floppy
Also, I would suggest moving the floppy image into your bochs folder, as it prevents errors

Good luck

--Michael
User avatar
ertrules22
Posts: 24
Joined: Tue Jun 26, 2007 7:07 am

Post by ertrules22 »

I tried it again, the way you said, but it still didn't work. here is the link to the do0rs os documentation that I am reading, maybe the author is wrong? :( :?:
http://www.mif.vu.lt/~anba1548/DoOrS/#htr
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