Skip to main content
gamedev.net
🔒 Locked

Dreamcast development is possible! (now with pictures)

Started by PnP Bios 27 replies 4.8k views
Original Post
PnP Bios
PnP Bios
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]
DigitalChaos
DigitalChaos
weren't you "leaving"? [rolleyes]

and that's cool you got dreamcast development working. i'm definitely interested on how to get started.
try_catch_this
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?
PnP Bios
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

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.

PnP Bios
PnP Bios
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.
Alpha_ProgDes
Alpha_ProgDes
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]

Beginner in Game Development?  Read here. And read here.  
PnP Bios
PnP Bios
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?
Alpha_ProgDes
Alpha_ProgDes
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.
Beginner in Game Development?  Read here. And read here.  
PnP Bios
PnP Bios



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;}
Uthman
Uthman
thats awesome!!
"a low level aho master like you couldn't kill me even if I let you"
Nemesis2k2
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:
PnP Bios
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.
Ainokea
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:


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.
PnP Bios
PnP Bios
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.
Alpha_ProgDes
Alpha_ProgDes
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.
Beginner in Game Development?  Read here. And read here.  
PnP Bios
PnP Bios
Last I heard though... the STL for dreamcast was FUBAR, have they changed that recently?
Ainokea
Ainokea
What emulator are you using?
______________With the flesh of a cow.
Alpha_ProgDes
Alpha_ProgDes
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.
Beginner in Game Development?  Read here. And read here.  

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.