Just little crap things like CD music playing, a text menu,
an image loading all as seperate programs. Problem is, I don't
know where to begin ... such as finding source code examples,
whether to use KOS or libdream, and what programming language
I should use. Can anyone help me out?
I want to try developing for Dreamcast ..
- Tyne
- Pimp DC Devver
- Posts: 1684
- https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
- Joined: Wed Oct 17, 2001 7:44 pm
- Location: Canada, Ontario
- Has thanked: 0
- Been thanked: 1 time
- Contact:
-
- DC Developer
- Posts: 2648
- Joined: Sun Mar 24, 2002 7:48 pm
- Has thanked: 0
- Been thanked: 0
- Contact:
well
I wrote a real simple c menu text one and asked the nice people here whats needed for it to work on the dc its in a topic helped me a bit
Problems i have i cant understand kos yet geting there
and seting up the dc tool chain should be more easyer i have been looking at dev C++ compiler by the look of it you should be able to use
it and tell it were the libs are ,it uses the free compiler the same one as in cygwin ...
you have to know c and learn kos I cant be really more helpfull since i cant get any think to compile for dc . once i did and did a dance round the house lol
http://www.dcemulation.org/phpBB/viewtopic.php?t=18980
Problems i have i cant understand kos yet geting there
and seting up the dc tool chain should be more easyer i have been looking at dev C++ compiler by the look of it you should be able to use
it and tell it were the libs are ,it uses the free compiler the same one as in cygwin ...
you have to know c and learn kos I cant be really more helpfull since i cant get any think to compile for dc . once i did and did a dance round the house lol
http://www.dcemulation.org/phpBB/viewtopic.php?t=18980
http://homebrew.dcemulation.com/dcgames/ *homebrew webbrowser games *
http://r2k2gate.topcities.com *dev site and my releases*
![Image](http://www.geocities.com/reapersthebest/SIGC64.jpg.txt)
Im' a Commodorian are you?
http://r2k2gate.topcities.com *dev site and my releases*
![Image](http://www.geocities.com/reapersthebest/SIGC64.jpg.txt)
Im' a Commodorian are you?
- BlueCrab
- The Crabby Overlord
- Posts: 5666
- Joined: Mon May 27, 2002 11:31 am
- Location: Sailing the Skies of Arcadia
- Has thanked: 9 times
- Been thanked: 69 times
- Contact:
First of all, Go with KOS, it has plenty of source-code examples to get you going, and it's actually updated (libdream is not anymore).
To start developing for DC with KOS, do the following:
First learn C or C++ (C's easier).
I'd recomend getting a version of the GNU toolchain for Windows (Either cygwin or MinGW/MSYS. If you want to use c++ many people have trouble making the cross-compilers, so if you plan on compiling your cross-compilers from source, I'd go with MinGW/MSYS.
Then you would have to either make a cross-compiler (there are many scripts that will do a pretty good job of this, including mine), or find a place to download one (these are very large files (~100MB) so they take some time). These premade sets require cygwin.
Then I'd recomend getting a program designed for source editing. Dev-C++ and Crimson Editor are two good choices. (Be warned however, Dev-C++ is not designed for a cross-compiler setup. Wheras with Crimson Editor, it doesn't have the compiler builtin, so you can use whatever you'd like.)
If I've confused you in any way, I'd be happy to explain anything better, just ask, and either I or one of the other members of these forums will be glad to help out.
To start developing for DC with KOS, do the following:
First learn C or C++ (C's easier).
I'd recomend getting a version of the GNU toolchain for Windows (Either cygwin or MinGW/MSYS. If you want to use c++ many people have trouble making the cross-compilers, so if you plan on compiling your cross-compilers from source, I'd go with MinGW/MSYS.
Then you would have to either make a cross-compiler (there are many scripts that will do a pretty good job of this, including mine), or find a place to download one (these are very large files (~100MB) so they take some time). These premade sets require cygwin.
Then I'd recomend getting a program designed for source editing. Dev-C++ and Crimson Editor are two good choices. (Be warned however, Dev-C++ is not designed for a cross-compiler setup. Wheras with Crimson Editor, it doesn't have the compiler builtin, so you can use whatever you'd like.)
If I've confused you in any way, I'd be happy to explain anything better, just ask, and either I or one of the other members of these forums will be glad to help out.
"First learn C or C++ (C's easier)."
That is not a comment to be taken lightly, mein Freund.
I have been CONSTANTLY frustrated by the fact that you can't just jump in and start coding. I was OVERJOYED when I got my PC to act like a simple addition/subtraction calculator! What's worse, that's with over 2 months experience with C. In addition, I haven't even tried the evil that is cross-compiling.
Please, don't take this as a discouragement towards trying to program for the Dreamcast. The Dreamcast IS the reason why I am teaching myself how to code, and while I have ruined a monitor by ripping it from the computer in a righteous fury and tossing it like salad fixin's, I'm still actively trying to learn C. I'm just realizing how much experience is needed to make even a rudimentary 3D game, and I'm now impressed by simple versions of pong and tetris.
I wish you luck, man.
Now let me get back to making THE game that will single-handedly revitalize the dreamcast system.![Razz :P](./images/smilies/icon_razz.gif)
-mr. jones
That is not a comment to be taken lightly, mein Freund.
I have been CONSTANTLY frustrated by the fact that you can't just jump in and start coding. I was OVERJOYED when I got my PC to act like a simple addition/subtraction calculator! What's worse, that's with over 2 months experience with C. In addition, I haven't even tried the evil that is cross-compiling.
Please, don't take this as a discouragement towards trying to program for the Dreamcast. The Dreamcast IS the reason why I am teaching myself how to code, and while I have ruined a monitor by ripping it from the computer in a righteous fury and tossing it like salad fixin's, I'm still actively trying to learn C. I'm just realizing how much experience is needed to make even a rudimentary 3D game, and I'm now impressed by simple versions of pong and tetris.
I wish you luck, man.
Now let me get back to making THE game that will single-handedly revitalize the dreamcast system.
![Razz :P](./images/smilies/icon_razz.gif)
-mr. jones
-
- DC Developer
- Posts: 9951
- Joined: Sun Dec 30, 2001 9:02 am
- Has thanked: 0
- Been thanked: 1 time
I think you've done some modding for Quake, yes? I'm sure you released something, and it definitely had some QC in it. Anyway, C is similar to QuakeC (hence the name QuakeC). Some of the basic syntax is slightly different, but most of it it nearly identical. Assuming you already know some programming, learning enough C to do something useful shouldn't take two months.
As for learning to code, I personally would try some stuff from http://gametutorials.com/. They have some useful begginner-level C/C++ stuff that might be useful, along with some reasonably advanced stuff too.
Adding to what BlueCrab said, study the examples that come with KOS. They do a lot of the stuff that you mentioned, and a whole lot more.
As for learning to code, I personally would try some stuff from http://gametutorials.com/. They have some useful begginner-level C/C++ stuff that might be useful, along with some reasonably advanced stuff too.
Adding to what BlueCrab said, study the examples that come with KOS. They do a lot of the stuff that you mentioned, and a whole lot more.
-
- DC Developer
- Posts: 2648
- Joined: Sun Mar 24, 2002 7:48 pm
- Has thanked: 0
- Been thanked: 0
- Contact:
i agree
Yes the kos examples are good to learn off ive set up the, whole thing cross compiler , all the tools and now have kos 1.18 built .... it was a 5 day task for me .. its very fustrating the faqs and tuts are for people that know it , if you follow most of them you end up at a dead end here and there ...... i had to figer it out in, the places the faq does not tell you and moves to the next step .. to say any of the faqs are complete is wrong, there a help but will not get a working system will they did not for me......
yes im very happy i got it all working well ,cygwin ,kos and my dctoolchain builds elfs that work on the dreamcast..... thats a start any way .. sdl port by bero is confusing me the readme , he says pboom will compile for dc with his port of sdl for dc with OUT code changes ....
so only the imputs need changing if thats not just the best news in the dc scene i dont know what is theres hundreds of apps games and emulators that have sdl ports ........... im very exited about this
my c skills dont match most people here i openly addmit if i make a simple game like tetris i use a programing refrence guild and faq sheets to remember commands .....
any ways dont read heeps of books just get straight into it and use dev c++ and try doing it for the pc and then have a go at porting your simple game to dc .....
thats what im trying to do any way its got me this far ....
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
yes im very happy i got it all working well ,cygwin ,kos and my dctoolchain builds elfs that work on the dreamcast..... thats a start any way .. sdl port by bero is confusing me the readme , he says pboom will compile for dc with his port of sdl for dc with OUT code changes ....
so only the imputs need changing if thats not just the best news in the dc scene i dont know what is theres hundreds of apps games and emulators that have sdl ports ........... im very exited about this
my c skills dont match most people here i openly addmit if i make a simple game like tetris i use a programing refrence guild and faq sheets to remember commands .....
any ways dont read heeps of books just get straight into it and use dev c++ and try doing it for the pc and then have a go at porting your simple game to dc .....
thats what im trying to do any way its got me this far ....
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
http://homebrew.dcemulation.com/dcgames/ *homebrew webbrowser games *
http://r2k2gate.topcities.com *dev site and my releases*
![Image](http://www.geocities.com/reapersthebest/SIGC64.jpg.txt)
Im' a Commodorian are you?
http://r2k2gate.topcities.com *dev site and my releases*
![Image](http://www.geocities.com/reapersthebest/SIGC64.jpg.txt)
Im' a Commodorian are you?
- Captain Skyhawk
- DCEmu Respected
- Posts: 812
- Joined: Fri Nov 09, 2001 6:48 am
- Location: The Netherlands
- Has thanked: 0
- Been thanked: 0
- Contact: