Dreamcast development is possible! (now with pictures)
Started by PnP Bios, May 13 2005 06:16 PM
28 replies to this topic
#1 Banned - Reputation: 490
Posted 13 May 2005 - 06:16 PM
If anybody cares, I got my own first project up an running for my dreamcast. It is not as hard as it looks. It brings back memories of the first pixel or first triangle. It feels good to defy all odds, and push your self to do something awsome. I'll post pics tomorow. It's late over here.
If anybody wants info on how to get started, let me know! The hardest part is aquiring the development cable. I have the tools on my college webshare.
[Edited by - PnP Bios on May 14, 2005 10:19:47 AM]
HxRender | Cornerstone SDL TutorialsCurrently picking on: Hedos, Programmer One
Sponsor:
#3 Members - Reputation: 373
Posted 13 May 2005 - 06:26 PM
It would be nice to post direct links to the code.
like http://www.somedomain.com/pnpbios/dcdev.exe
or what ever file format it is.
The coders cable still costs 25 us dollars + shipping? Are they still being made?
like http://www.somedomain.com/pnpbios/dcdev.exe
or what ever file format it is.
The coders cable still costs 25 us dollars + shipping? Are they still being made?
#4 Banned - Reputation: 490
Posted 13 May 2005 - 06:34 PM
Quote:
Original post by try_catch_this
It would be nice to post direct links to the code.
like http://www.somedomain.com/pnpbios/dcdev.exe
or what ever file format it is.
The coders cable still costs 25 us dollars + shipping? Are they still being made?
ah... of course
Dreamcast Devkit Version 1.1
Dreamcast Devkit 1.2 Patch
Unfortunately, the code templates are kinda borked, so I will stick a tutorial up on how to fix them, for now, just follow the steps shown Here
Yep, $25 over at lik-sang. They make them as requested. The only sucky part is that the vitals are only plastic wrapped, not housed in solid plastic. But they ship them well packaged.
HxRender | Cornerstone SDL TutorialsCurrently picking on: Hedos, Programmer One
#5 Banned - Reputation: 490
Posted 13 May 2005 - 06:35 PM
Quote:
Original post by DigitalChaos
weren't you "leaving"? [rolleyes]
and that's cool you got dreamcast development working. i'm definitely interested on how to get started.
Funny you should mention that... see my sig.
HxRender | Cornerstone SDL TutorialsCurrently picking on: Hedos, Programmer One
#6 Crossbones+ - Reputation: 3304
Posted 13 May 2005 - 06:48 PM
Quote:
Original post by PnP Bios Quote:
Original post by try_catch_this
It would be nice to post direct links to the code.
like http://www.somedomain.com/pnpbios/dcdev.exe
or what ever file format it is.
The coders cable still costs 25 us dollars + shipping? Are they still being made?
ah... of course
Dreamcast Devkit Version 1.1
Dreamcast Devkit 1.2 Patch
Unfortunately, the code templates are kinda borked, so I will stick a tutorial up on how to fix them, for now, just follow the steps shown Here
lol, i'm glad my guide was somewhat helpful to you [smile]
#7 Banned - Reputation: 490
Posted 13 May 2005 - 06:50 PM
that was you? spill. you have aluded to prior knowledge before. now this is just eating me up. what are you capable of? you weren't involved with beats of rage, were you?
HxRender | Cornerstone SDL TutorialsCurrently picking on: Hedos, Programmer One
#8 Crossbones+ - Reputation: 3304
Posted 13 May 2005 - 06:55 PM
lol. yes, that was me, my guide. i tinker with it and got the emulator and Dev-C++ to work together while i was at work. as far as programming it's still kinda intimidating. the examples they have are so DOS looking. but i think that's people showing off their coding. unfortunately, i wasn't involved in the Beats of Rage mod.
i'll show you some proof in 5 minutes.
i'll show you some proof in 5 minutes.
#9 Banned - Reputation: 490
Posted 14 May 2005 - 04:12 AM


source code:
#include <kos.h>
#define _RGB(r, g, b) ((r << 12)|(g << 5)|(b << 0))
void drawPix(int x, int y, int color);
int main(int argc, char **argv) {
int x, y;
/* Bother us with output only if something died */
dbglog_set_level(DBG_DEAD);
/* Set the video mode */
vid_set_mode(DM_640x480, PM_RGB565);
for (y=0; y<480; y++)
for (x=0; x<640; x++) {
drawPix(x,y, _RGB( x%255, y %255, (x+y)%255));
}
/* Pause to see the results */
usleep(5*1000*1000);
return 0;
}
void drawPix(int x, int y, int color)
{
vram_s[y*640+x] = color;
return;
}
HxRender | Cornerstone SDL TutorialsCurrently picking on: Hedos, Programmer One
#12 Banned - Reputation: 490
Posted 14 May 2005 - 03:14 PM
Quote:
Original post by Nemesis2k2
Heh, nice going.....
But I bet you can't get a triangle on the screen, with different colours at each vertex, using smooth shading. :D See if you can get this on the screen:
Oh... tricky. That looks like one of NEHE's lessons.
I think I can with KGL.
HxRender | Cornerstone SDL TutorialsCurrently picking on: Hedos, Programmer One
#13 Members - Reputation: 431
Posted 14 May 2005 - 04:34 PM
Quote:
Original post by PnP Bios Quote:
Original post by Nemesis2k2
Heh, nice going.....
But I bet you can't get a triangle on the screen, with different colours at each vertex, using smooth shading. :D See if you can get this on the screen:
Oh... tricky. That looks like one of NEHE's lessons.
I think I can with KGL.
Is KGL a OpenGL implementation for the Dreamcast?
______________________________________________________________________________________With the flesh of a cow.
#14 Banned - Reputation: 490
Posted 14 May 2005 - 05:08 PM
Quote:
Original post by Ainokea Quote:
Original post by PnP Bios Quote:
Original post by Nemesis2k2
Heh, nice going.....
But I bet you can't get a triangle on the screen, with different colours at each vertex, using smooth shading. :D See if you can get this on the screen:
img removed
Oh... tricky. That looks like one of NEHE's lessons.
I think I can with KGL.
Is KGL a OpenGL implementation for the Dreamcast?
yup.
HxRender | Cornerstone SDL TutorialsCurrently picking on: Hedos, Programmer One
#15 Crossbones+ - Reputation: 3304
Posted 14 May 2005 - 05:17 PM
KGL is an incomplete implementation of OGL. from what i've heard not all the OGL functions can be implemented thru the PVR hardware. for 3D, try Iris3D. also you might want to dabble with the PVR API itself.
PnPBios try these links: they'll give you some things to do: [smile]
http://www.dcemulation.com/phpBB/viewtopic.php?t=37161&highlight=tutorial
http://www.dcemulation.com/phpBB/viewtopic.php?t=50503&highlight=tutorial
Sorry to lazy to link.
PnPBios try these links: they'll give you some things to do: [smile]
http://www.dcemulation.com/phpBB/viewtopic.php?t=37161&highlight=tutorial
http://www.dcemulation.com/phpBB/viewtopic.php?t=50503&highlight=tutorial
Sorry to lazy to link.
#16 Banned - Reputation: 490
Posted 14 May 2005 - 05:41 PM
Last I heard though... the STL for dreamcast was FUBAR, have they changed that recently?
HxRender | Cornerstone SDL TutorialsCurrently picking on: Hedos, Programmer One
#18 Banned - Reputation: 490
Posted 14 May 2005 - 06:00 PM
OK then, i have a project for tomorow.
HxRender | Cornerstone SDL TutorialsCurrently picking on: Hedos, Programmer One
#20 Crossbones+ - Reputation: 3304
Posted 14 May 2005 - 07:30 PM
Chankast is the only DC emulator. but PnP has a connection that goes from his computer to his DC. and at the same time his DC is connected to the TV. so whatever he programs and compiles on his computer gets sent to the DC, is run from the DC, and shown on his TV.
in short he's not using an emulator.
in short he's not using an emulator.







