Page 3 of 7

Re: Dreamcast Development

Posted: Wed Feb 24, 2010 5:45 pm
by Lord Pingas
MrDeathNote wrote:
Lord Pingas wrote:Do you need Unix based command lines like Cygwin to develop on other consoles as well as the Dreamcast?
It's the same with the psp, i've just recently started developing for it (by recently i mean a few days ago). So far ive done a hello world and rendered a sprite, but i have plans for the psp in the near future.....
Oh cool.

What do you use to develop for it?

Re: Dreamcast Development

Posted: Wed Feb 24, 2010 5:51 pm
by Trask
If you use the HAM environment for GBA development, you can avoid the hassles of make files. At my school, we used the HAM compiler(not the HAM Lib, we did things using ASM/C) and it made life simpler for us compiler babies. :D

Re: Dreamcast Development

Posted: Wed Feb 24, 2010 7:10 pm
by Lord Pingas
Ok, I downloaded DC Dev ISO R4 but when I opened the file all there was in there was a cdi file.

What did I do wrong?

Re: Dreamcast Development

Posted: Wed Feb 24, 2010 7:10 pm
by Falco Girgis
So like either burn it or mount it.

Re: Dreamcast Development

Posted: Wed Feb 24, 2010 7:24 pm
by Lord Pingas
So I burn or mount it then I can install it?

Re: Dreamcast Development

Posted: Wed Feb 24, 2010 8:09 pm
by Trask
Lord Pingas wrote:So I burn or mount it then I can install it?
Yes, I just went through the install. .CDI images are image files that I've seen for DC games. You can mount the image using DiscJuggler, Daemon Tools(my personal pick) or Alcohol 120%

Re: Dreamcast Development

Posted: Wed Feb 24, 2010 8:17 pm
by Lord Pingas
Trask wrote:
Lord Pingas wrote:So I burn or mount it then I can install it?
Yes, I just went through the install. .CDI images are image files that I've seen for DC games. You can mount the image using DiscJuggler, Daemon Tools(my personal pick) or Alcohol 120%
Cool. I just installed it now. :)

How do I compile one of the example programs?

Re: Dreamcast Development

Posted: Wed Feb 24, 2010 8:30 pm
by Falco Girgis
Very nice.

To compile an example program, open up the cygwin terminal, change directories to one of the KOS examples folder and just type "make."

Re: Dreamcast Development

Posted: Wed Feb 24, 2010 8:35 pm
by Lord Pingas
GyroVorbis wrote:Very nice.

To compile an example program, open up the cygwin terminal, change directories to one of the KOS examples folder and just type "make."
Where?

Sorry for the obvious questions but where do I change directories and how?

Re: Dreamcast Development

Posted: Wed Feb 24, 2010 8:40 pm
by Falco Girgis
Is your cygwin terminal open?

Type "ls" for a list of files/directories in your current directory. Then type "cd <name>" for changing directories. "cd .." to go up a directory.

Re: Dreamcast Development

Posted: Wed Feb 24, 2010 10:01 pm
by Lord Pingas
Ok, so far, so bad. :oops:

I wrote eveything in the Cygwin terminal.

I wrote "cd C:/kos/kos/examples/dreamcast/hello make" but nothing happens...

I also wrote "cd C:/kos/kos/examples/dreamcast/hello" and I wrote "make" afterwards but it says that there is no such command called "make".

Re: Dreamcast Development

Posted: Wed Feb 24, 2010 10:50 pm
by XianForce
Lord Pingas wrote:Ok, so far, so bad. :oops:

I wrote eveything in the Cygwin terminal.

I wrote "cd C:/kos/kos/examples/dreamcast/hello make" but nothing happens...

I also wrote "cd C:/kos/kos/examples/dreamcast/hello" and I wrote "make" afterwards but it says that there is no such command called "make".
Check your environment variables, make sure you have a path set to the bin directory of cygwin (I'm not sure if it's the bin directory... but for other things, it's usually the bin)

Re: Dreamcast Development

Posted: Wed Feb 24, 2010 10:58 pm
by Lord Pingas
XianForce wrote:
Lord Pingas wrote:Ok, so far, so bad. :oops:

I wrote eveything in the Cygwin terminal.

I wrote "cd C:/kos/kos/examples/dreamcast/hello make" but nothing happens...

I also wrote "cd C:/kos/kos/examples/dreamcast/hello" and I wrote "make" afterwards but it says that there is no such command called "make".
Check your environment variables, make sure you have a path set to the bin directory of cygwin (I'm not sure if it's the bin directory... but for other things, it's usually the bin)
I wish I understand anything about bin files and the rest. I'm used to having the IDE do it all for me.

To compile the file, can somebody please explain what the bin, Makefile and the rest are used for?

Re: Dreamcast Development

Posted: Thu Feb 25, 2010 2:37 am
by ultimatedragoon69
wow those tools area awsome. thanks for links.

Re: Dreamcast Development

Posted: Thu Feb 25, 2010 4:33 am
by MrDeathNote
Lord Pingas wrote:
XianForce wrote:
Lord Pingas wrote:Ok, so far, so bad. :oops:

I wrote eveything in the Cygwin terminal.

I wrote "cd C:/kos/kos/examples/dreamcast/hello make" but nothing happens...

I also wrote "cd C:/kos/kos/examples/dreamcast/hello" and I wrote "make" afterwards but it says that there is no such command called "make".
Check your environment variables, make sure you have a path set to the bin directory of cygwin (I'm not sure if it's the bin directory... but for other things, it's usually the bin)
I wish I understand anything about bin files and the rest. I'm used to having the IDE do it all for me.

To compile the file, can somebody please explain what the bin, Makefile and the rest are used for?
A bin file can be anything really thats encoded in binary, a makefile specifies how to derive the target program from each of it's dependencies. Basically it tells the computer which files you want to build and defines their dependencies.

Just one more thing in the cygwin terminal you didn't actually type the quotation marks did you? I mean you typed make and not "make", right. Just gotta ask these things because it's an easy mistake to make and for any1 just starting they wouldn't know the difference.