compiling for dreamcast.
-
- https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
- Has thanked: 0
- Been thanked: 0
compiling for dreamcast.
ok. i am in need of a little help. i got a few things i would like to comile for the dreamcast. first of all, i need to know how to set up a compiler in windows xp for dreamcast. second i need to know where i can find some documents to set the controls for teh dreamcast. like what buttons on the controller/keyboard do what. any help will be appriciated. and if someone could post some info on KOS and what it is exactly, it would be nice. thanks in advance.
- toastman
- Iron Fist of Justice
- Posts: 4933
- Joined: Sat Nov 10, 2001 3:08 am
- Location: New Orleans
- Has thanked: 0
- Been thanked: 0
- Contact:
For setting up your development environment in Windows XP, do a Google search for "Cygwin Windows XP". That's all the help I can give there, as I do my work on a Linux box.
The controls are pretty simple but it is really a specific subset of your next question, so I'll hold on this.
KOS is an OS/lib/HAL (Hardware Abstraction Layer) for the Dreamcast. It provides you with everything an OS usually does (on a programming level) and then some more. Threading, memory allocation, file system, images, sound, controls, 3D and 2D graphics are all handled through KOS. It's the main tool of like 90% of the development community.
The controller/keyboard code is a part of KOS. Just initialize a controller and poll the state when you need to check it.
The exact functions escape me right now (namely because I have a controller class that handles it all for me, plus a little more.) But the examples are riddled with controller usage, so it's not too hard to find something that will get you started.
The controls are pretty simple but it is really a specific subset of your next question, so I'll hold on this.
KOS is an OS/lib/HAL (Hardware Abstraction Layer) for the Dreamcast. It provides you with everything an OS usually does (on a programming level) and then some more. Threading, memory allocation, file system, images, sound, controls, 3D and 2D graphics are all handled through KOS. It's the main tool of like 90% of the development community.
The controller/keyboard code is a part of KOS. Just initialize a controller and poll the state when you need to check it.
The exact functions escape me right now (namely because I have a controller class that handles it all for me, plus a little more.) But the examples are riddled with controller usage, so it's not too hard to find something that will get you started.
No signature.
- toastman
- Iron Fist of Justice
- Posts: 4933
- Joined: Sat Nov 10, 2001 3:08 am
- Location: New Orleans
- Has thanked: 0
- Been thanked: 0
- Contact:
The controller code is a part of the core KOS lib. When you inlcude KOS, you include this.
KOS is for the DC. It doesn't run as a you think an OS does. (What you actually run in an OS is called a shell, it provides a user interface to the OS. For example Windows' shell is explorer, this can be changed. There is a KOS shell (KOSH), but there is no real use for it.)
Stuff KOS includes (imparital list, as it is off the top of my head):
Controller Support
Keyboard Support
VMU Support
CD-ROM support
CDDA support
A version of OpenGL known as KGL
png, jpeg, and pcx image file support
Ogg/Vorbis support
MP3 support (GPL lib)
PVR support
WAV file support
S3M support
I can't think of anything else that is real major at this point. And some of this isn't included in the main library, but can be added as you wish.
KOS is for the DC. It doesn't run as a you think an OS does. (What you actually run in an OS is called a shell, it provides a user interface to the OS. For example Windows' shell is explorer, this can be changed. There is a KOS shell (KOSH), but there is no real use for it.)
Stuff KOS includes (imparital list, as it is off the top of my head):
Controller Support
Keyboard Support
VMU Support
CD-ROM support
CDDA support
A version of OpenGL known as KGL
png, jpeg, and pcx image file support
Ogg/Vorbis support
MP3 support (GPL lib)
PVR support
WAV file support
S3M support
I can't think of anything else that is real major at this point. And some of this isn't included in the main library, but can be added as you wish.
No signature.
- BlueCrab
- The Crabby Overlord
- Posts: 5665
- Joined: Mon May 27, 2002 11:31 am
- Location: Sailing the Skies of Arcadia
- Has thanked: 9 times
- Been thanked: 69 times
- Contact:
Personally, even a partial installation of cygwin is huge. If you are going to go with cygwin, make sure you have GCC, bash, fileutils, diffutils, cvs, and any other required stuff installed. (it will select the required stuff as needed).
Personally, I'd go with MinGW and MSYS for your environment (on windows, instead of Cygwin). Its a bit more difficult to get going, but it is about quarter to half the size (on your hard drive which is great for me, I only have 10GB, and Cygwin took up 2GB, MinGW 500MB). I can give you easy to follow instructions for either of the two environments, but I'm more experienced with MinGW.
Personally, I'd go with MinGW and MSYS for your environment (on windows, instead of Cygwin). Its a bit more difficult to get going, but it is about quarter to half the size (on your hard drive which is great for me, I only have 10GB, and Cygwin took up 2GB, MinGW 500MB). I can give you easy to follow instructions for either of the two environments, but I'm more experienced with MinGW.
ok, well i am on aim, e1x5x is my screen name, can you go online now?BlueCrab wrote:Personally, even a partial installation of cygwin is huge. If you are going to go with cygwin, make sure you have GCC, bash, fileutils, diffutils, cvs, and any other required stuff installed. (it will select the required stuff as needed).
Personally, I'd go with MinGW and MSYS for your environment (on windows, instead of Cygwin). Its a bit more difficult to get going, but it is about quarter to half the size (on your hard drive which is great for me, I only have 10GB, and Cygwin took up 2GB, MinGW 500MB). I can give you easy to follow instructions for either of the two environments, but I'm more experienced with MinGW.
-
- DC Developer
- Posts: 2648
- Joined: Sun Mar 24, 2002 7:48 pm
- Has thanked: 0
- Been thanked: 0
- Contact:
I posted a faq once for some one what you should do is use the search on this forum and keywords like cygwin or kos and toolchain
you find some good info i use this forum like that all the time
or view all the posts of the devver's and most times theres helpfull posts
i did not use the faqs or guild that were about when i tryed they left me with one tool chain that could not do c++ and the other was not really upto date ether
use the prebuilt tool chains if you get stuck there was one whole set posted at CV teenie guild or some think i dont go there much but its tested and works look in the dev forum over there as well
you find some good info i use this forum like that all the time
or view all the posts of the devver's and most times theres helpfull posts
i did not use the faqs or guild that were about when i tryed they left me with one tool chain that could not do c++ and the other was not really upto date ether
use the prebuilt tool chains if you get stuck there was one whole set posted at CV teenie guild or some think i dont go there much but its tested and works look in the dev forum over there as well
http://homebrew.dcemulation.com/dcgames/ *homebrew webbrowser games *
http://r2k2gate.topcities.com *dev site and my releases*
Im' a Commodorian are you?
http://r2k2gate.topcities.com *dev site and my releases*
Im' a Commodorian are you?
-
- Mental DCEmu
- Posts: 415
- Joined: Thu Oct 10, 2002 7:18 pm
- Has thanked: 0
- Been thanked: 0
- Contact:
Instructions.....
OK!
I have dial - up and Dev-C++(which has MinGW).
I have a Dreamcast and plenty of CDRs.
Now what do I do?
Is there some site that can tell how I can develop on the DC with what I have?
Do I need more?
Please help!!!
(i know this question has been asked a billion times.... and i searched the forums.... but it seems like one person it can be done with Dev-C, another says it can't, then another says you need MinGW/MSYS (no Dev-C), then someone else says download the monstrous Cygwin..... i'm confused )
I have dial - up and Dev-C++(which has MinGW).
I have a Dreamcast and plenty of CDRs.
Now what do I do?
Is there some site that can tell how I can develop on the DC with what I have?
Do I need more?
Please help!!!
(i know this question has been asked a billion times.... and i searched the forums.... but it seems like one person it can be done with Dev-C, another says it can't, then another says you need MinGW/MSYS (no Dev-C), then someone else says download the monstrous Cygwin..... i'm confused )
-
- Mental DCEmu
- Posts: 415
- Joined: Thu Oct 10, 2002 7:18 pm
- Has thanked: 0
- Been thanked: 0
- Contact:
i have Dev-C ++ 4.0 and MSYS....
I just downloaded MSYS and you're right it is much smaller.
i was trying to run the install and it asked where the MingW compiler was. since i didn't know exactly i stopped midway.
so my question is there a tutorial/site that you (BlueCrab) or anyone else can give/show me that can allow me to install the two correctly and begin programming?
i would appreciate this a lot thanks
p.s. where it says: tell where MingW compiler is located in the form: c:/foo/bar; since DevC++ has the MW compiler already install with it do I just put c:/devc ? or something else?
i was trying to run the install and it asked where the MingW compiler was. since i didn't know exactly i stopped midway.
so my question is there a tutorial/site that you (BlueCrab) or anyone else can give/show me that can allow me to install the two correctly and begin programming?
i would appreciate this a lot thanks
p.s. where it says: tell where MingW compiler is located in the form: c:/foo/bar; since DevC++ has the MW compiler already install with it do I just put c:/devc ? or something else?