Page 1 of 4

Sun Studio?

Posted: Fri Jan 19, 2007 12:37 pm
by BlackHole2007
Hi,
Im New to the forum. I have recently became interested in OS development and need your help. I was just wandering what Sun Studio is and what It helps me do, does it create GUI's without the need for coding? Does it help me create the kernel? Also, if here are any programmes ON WINDOWS that will help me create an OS easily then can somebody post me the link?

Cheers,
BlackHole2007

Posted: Fri Jan 19, 2007 2:53 pm
by Alboin
I guess there's OSlib, although I don't know what it's current status is. To note, there's not much of a 'os-development-suit-all-in-one-toolkit' anywhere that I've heard of, and I don't really think one could be constructed as all operating system are different(kind of...). To develop an operating system, you just have to develop it. With an editor, compiler: the works.

Posted: Fri Jan 19, 2007 4:09 pm
by BlackHole2007
Thanks for that.

Do you know if I can just use notepad for my compiling, and then make a disk image with DivX. If I could that would be really handy because mum has banned me from downloading anything.

Cheers,
BlackHole2007

Posted: Fri Jan 19, 2007 4:26 pm
by Alboin
Difficulties here. Notepad will be sufficient (Albeit annoying to use.). Yet, I am unknown as to how DivX fits into this here.. Um.... DivX is a codec, no?

Code: Select all

Osdev + DivX = Alboin Confused
Oh! Wait...To write the binary(image) to a disk? Yes, I get it. And, no that won't work. Unless of course your os boots from a cdrom which is unlikely. :) You have to write the image to a floppy disk, or better yet, use an emulator.

Moreover, there is a very likely chance you'll have to download at least some software unless you have a C\whatever compiler on your machine able to compile to binary. (Or, that is, something that can be booted form a bootloader. (GRUB, etc.)

Posted: Fri Jan 19, 2007 4:47 pm
by BlackHole2007
Thank you so much for the help!!

I am planning to write my OS to a cd-r and I just thought on my DivX thing it says drag any file here to make a data disk, so I just presumed
"Disk Image". I will try to use notepad, read tutorials and hopefully make a cool 16 bit operating system! Also I have an old i386 pc in my garage, which I am planning to convert into an x82 one, Is there any chance of getting hold of the x82 chip or something?

Cheers,
BlackHole2007

Posted: Fri Jan 19, 2007 4:54 pm
by Alboin
If your writing a 16bit os, I would suggest you use flat out assembly. It's the most portable in that case. (Being as there are so few 16-bit c compilers.) Moreover, using assembly should get you familiar with the hardware more so than C would. (Although, some would disagree.)

PS: x82? Sorry, I've never heard of it....Z80, ARM, etc, but never an x82...Then again, I am not so familiar with vintage hardware, (That is vintage isn't it?)

Note: You will need FASM, NASM, or YASM. (Assemblers) As notepad cannot assemble........and readup on some x86 assembly. (If you don't already know it.)

Posted: Fri Jan 19, 2007 5:45 pm
by Brynet-Inc
x82? :lol:

It's seems apparent this person doesn't know what they are talking about.. I have doubts he/she even knows any programming languages.. or even has a compiler installed..

Do you know any programming languages BlackHole2007?

I don't think the "DivX" media player or codec will help you with anything. (Do you even have a kernel.. bootloader?)

Can you perhaps share some more insight on your current skill level.. ?

Posted: Fri Jan 19, 2007 8:08 pm
by Alboin
Brynet-Inc wrote:x82? :lol:

It's seems apparent this person doesn't know what they are talking about.. I have doubts he/she even knows any programming languages.. or even has a compiler installed..

Do you know any programming languages BlackHole2007?

I don't think the "DivX" media player or codec will help you with anything. (Do you even have a kernel.. bootloader?)

Can you perhaps share some more insight on your current skill level.. ?
Yes, err, knowing a programming language is kind of a requirement with osdev. :wink:
Yet, you can't blame him for at least asking about osdev. Be gentle...

Posted: Sat Jan 20, 2007 6:27 am
by Brynet-Inc
Alboin wrote:Be gentle...
Not a chance :wink:

Posted: Sat Jan 20, 2007 6:38 am
by inflater
wow, i never seen a DivX that can make a bootable CD-ROM with bootloader to load realmode or pmode OS... first thing you need is:

- a compiler, like FASM, NASM, or GAS
- favorite text editor (it doesnt matter, select one by suit your needs)
- a bootloader, either 16-bit or 32-bit. Or 64-bit? :D
16-bit is pretty outdated, but for beginner is 16-bit better than 32-bit.

do you, mate, know assembly, or C, or any programming language except Brainfuck,Cobol,Fortran,Comenius Logo,... ? you must know at least two programming languages (C and ASM) to make a OS, unless you are professional in ASM (i think you don't).

btw., you are banned from downloading anything? ... :roll: ...well Notepad, EDIT.COM, vim or any other editor can't compile a OS by clicking BUILD... you *must* download all what i said above plus, the manuals, like 80386 reference manual, and read the osdev faq.

P.S.: for developing a simple OS with basic I/O (console I/O or disk I/O) you must reserve a 1 or 2 years of learning, reading and studying...

inflater

Posted: Sat Jan 20, 2007 8:34 am
by Alboin
inflater wrote:btw., you are banned from downloading anything? ... :roll: ...well Notepad, EDIT.COM, vim or any other editor can't compile a OS by clicking BUILD
Actually, I have an old DOS superbook, and apparently, debug has a small assembler in it, so it might just be possible, although I don't know the specifics. (In the book it is used to assemble small DOS programs.)

Posted: Sat Jan 20, 2007 10:18 am
by Tyler
BlackHole2007 wrote:mum has banned me from downloading anything.
I hate to sound anything like Brynet... but comments like this kinda take all the excitement out of writing an operating system... anyone who accidently hits this link on a search is going to think everyone here is a 14 year old dawk whos mummy won't let them near the pc cause they might download something naughty...

Also unless i am mistaken.. the only use of the term x82 is when people are refering to the use of the 8042 keyboard controller... not very useful as a cpu :P

Posted: Sat Jan 20, 2007 10:34 am
by Brynet-Inc
Tyler wrote:I hate to sound anything like Brynet...
How rude :P..

But yes.. When the phrase "my mum won't let me" is used.. You tend to have doubts about this persons abilities.
Alboin wrote:
inflater wrote:btw., you are banned from downloading anything? ... :roll: ...well Notepad, EDIT.COM, vim or any other editor can't compile a OS by clicking BUILD
Actually, I have an old DOS superbook, and apparently, debug has a small assembler in it, so it might just be possible, although I don't know the specifics. (In the book it is used to assemble small DOS programs.)
Thats true apparently.. The "Windows" application "debug" can be used as an assembler for 16bit 8086/8088 Intel Assembly.

http://caustik.wordpress.com/2006/08/20/dos-debug-fun/

I myself like having as in /usr/bin :P and the GCC compiler tool chain handy on my BSD systems. (Although I'm starting to like Tendra - http://www.tendra.org/)

Posted: Sat Jan 20, 2007 10:44 am
by Alboin
Hmm. Thanks, for the link. I've never heard of Tendra before...Looks interesting.

Posted: Sat Jan 20, 2007 11:44 am
by BlackHole2007
No its not like mum wont let me download anything because she is afraid it might be "naughty" as you say, its because it could stuff up our brand new computer. I am a bit cross about how everyone is treating this topic. I'm just a kid who wishes to create his own operating system, that's all. And yes, I do know how to code in C at least.

And by the way, thanks very much Albion for sticking up for me!

Cheers,
BlackHole2007