Hi (and some help?)

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
VolTeK
Member
Member
Posts: 815
Joined: Sat Nov 15, 2008 2:37 pm
Location: The Fire Nation

Re: Hi (and some help?)

Post by VolTeK »

You can be horrible at spelling, but a genius at math.

Logic corrected
kevinftw
Posts: 7
Joined: Fri Mar 11, 2011 4:04 pm

Re: Hi (and some help?)

Post by kevinftw »

Ok, can i have like direct links, because most of them are in packages and i have no idea wtf i need to DL, and also Cygwin is being dumb i think.
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Re: Hi (and some help?)

Post by neon »

Just download what it is that you think you need. You dont "need" any of the tools mentioned in this thread so it really all comes down to what you want.

Because you were going to use Cygwin, you are probably looking for the GCC package for Cygwin. Run Cygwins' setup.exe and select the GCC package to install.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
Tosi
Member
Member
Posts: 255
Joined: Tue Jun 15, 2010 9:27 am
Location: Flyover State, United States
Contact:

Re: Hi (and some help?)

Post by Tosi »

If you are not ready for OS dev yet, why are you asking on a forum for OS developers?
I would recommend asking for help on a general programming forum, or better yet, searching google and seeing if the answers to your questions already exist. More often than not they do.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Hi (and some help?)

Post by Solar »

General advice for Cygwin newbies:

Don't select any additional packages in the first round, merely let Cygwin install its default set.

Then run the setup again whenever you find something is missing.
Every good solution is obvious once you've found it.
kevinftw
Posts: 7
Joined: Fri Mar 11, 2011 4:04 pm

Re: Hi (and some help?)

Post by kevinftw »

mkay

yea ill try again, errything is fked lol
i think when it finally installed (it took forever) it was just like a DOS window and i was confused

what exactly does cygwin itself look like or does it not have a form its just the packages?
Last edited by kevinftw on Sat Mar 19, 2011 10:35 am, edited 1 time in total.
kevinftw
Posts: 7
Joined: Fri Mar 11, 2011 4:04 pm

Re: Hi (and some help?)

Post by kevinftw »

oh and also, i looked through some of the intro pages, and I am a newbie at programming. I'm learning C++ now.
so basically i know that i need a kernel, GUI, compiler/assembler/linker, and a few other things.
What language would be appropriate for the GUI?
I was thinking I would learn ASM, C++, and JAVA.
so i obviously need a compiler, assembler, and some JAVA tool.
For my C++, i use Dev C++ (Bloodshed)
so for the OS could i just download like Dev C++. Mingw, NASM/GRUB, and some JAVA tool (I found something called JCreator) ?

thankx
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Re: Hi (and some help?)

Post by neon »

so for the OS could i just download like Dev C++. Mingw, NASM/GRUB, and some JAVA tool (I found something called JCreator)
Why not? Use whatever that best works for your design goals. A warning on Java: There are no tutorials on using Java so you will be on your own. Its possible, but do not expect help. I dont recommend Dev-C++ as it is terribly outdated. Use MSVC or GCC instead.

The GUI is typically in C however can consist of multiple layers of software depending on design and complexity.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
User avatar
Jvac
Member
Member
Posts: 58
Joined: Fri Mar 11, 2011 9:51 pm
Location: Bronx, NY

Re: Hi (and some help?)

Post by Jvac »

I was thinking I would learn ASM, C++, and JAVA
Goodman I like your taste for Java see here and here then join a Java group like ASF.
Prepare your environment Eclipse and Netbeans

For ASM see here and for ASM Tools please read the wiki go to the bottom of the page.


Good luck I am a newbie also.
"The best way to prepare for programming is to write programs, and
to study great programs that other people have written." - Bill Gates


Think beyond Windows ReactOS®
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:

Re: Hi (and some help?)

Post by Combuster »

neon wrote:I dont recommend Dev-C++ [...] Use GCC instead.
Dev-C++ uses GCC by default :roll: - it's just an IDE, with some features VS is missing and it lacks some of VS's more annoying non-features. Similarly you can use MSVC without using the VS IDE (though you can't sanely install one without the other)
"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 ]
Darwin
Member
Member
Posts: 43
Joined: Sun Jan 16, 2011 6:58 pm
Location: United States

Re: Hi (and some help?)

Post by Darwin »

kevinftw wrote: i think when it finally installed (it took forever) it was just like a DOS window and i was confused
kevinftw wrote:oh and also, i looked through some of the intro pages, and I am a newbie at programming. I'm learning C++ now.
You need more experience before you even attempt low-level programming.
Last edited by Darwin on Mon Jun 25, 2012 1:28 am, edited 2 times in total.
User avatar
xfelix
Member
Member
Posts: 25
Joined: Fri Feb 18, 2011 5:40 pm

Re: Hi (and some help?)

Post by xfelix »

I've been coding for 6 years now, and have finely learned enough, to begin learning how to roll my own OS.
Writing an OS is more about learning how to work with hardware, and implementing various policies/theory. Not learning how to Program.
If you want to learn how to program, go get a book or something.
Let me just give you some tips...
+Choose 1 or 2 languages for now and learn them well (Say Java and/or C)
- From the Unix Philosophy "Do one Thing, and do it well"
+ Learn how to work in a unix type environment such as linux
+ Learn about radix representation of numbers
- 0x0A = 1010 = 10
+ Learn about the bare basics required in a system
- DRAM (Dynamic Random Access Memory)
- CPU (Central Processing Unit)
- I/O Bus
- Hard Disk
+ Learn About ADT (Abstract Data Types)
- Data Structures
- Semaphores/ Monitors

Even with all this mastered knowledge, you still need to learn assembly, and be patient enough to sit down and read
Intel's IA-32 manual. Learning is the fun part. :D
The More I See, The More I See There Is To See!
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Hi (and some help?)

Post by Solar »

kevinftw wrote:i think when it finally installed (it took forever) it was just like a DOS window and i was confused

what exactly does cygwin itself look like or does it not have a form its just the packages?
Cygwin is "a different DOS box", or rather "a DOS box on steroids".

What you get is basically a GNU/Unix command line environment for Windows.

Since the GNU/Unix command line environment is much superior to the Windows one, and because it allows people not using Windows to actually recreate your problems and help you with them, this is the recommended way to go.

(You aren't even limited to the command line. You could go and set up a X11 environment, which would allow you to use a xterm terminal as well as several GUI tools from the Unix world, but that's a bit more involved and thus not covered in the Wiki tutorials.)

Forget about using Java in kernel space, its not appropriate for that kind of work. If you ever get to the point where your OS-to-be supports Java in user space, you'd be the king of the hill here...
Every good solution is obvious once you've found it.
Post Reply