Dreamcast Development

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: Dreamcast Development

Post by Falco Girgis »

HOLY FUCKING SHIT, DUDE.

Okay, look. If make isn't working, something went seriously wrong during your install. When you were asked to install different packages, did you hit the + or whatever to install EVERYTHING? Go back, reinstall cygwin, and make goddamn sure that when asked which packages to install, you do them ALL.

Now listen. For changing directories and navigating you just need TWO COMMANDS.

ls - list everything in the directory
cd <name> change to a directory.

So if you're sitting in KOS, type "ls." Now look at the directories. If you want to go to one of them, type cd and JUST THE NAME OF THE DIRECTORY to get there. You don't need to use the entire path. Just play with these two, because you need some practice.
User avatar
MrDeathNote
ES Beta Backer
ES Beta Backer
Posts: 594
Joined: Sun Oct 11, 2009 9:57 am
Current Project: cocos2d-x project
Favorite Gaming Platforms: SNES, Sega Megadrive, XBox 360
Programming Language of Choice: C/++
Location: Belfast, Ireland
Contact:

Re: Dreamcast Development

Post by MrDeathNote »

GyroVorbis wrote:HOLY FUCKING SHIT, DUDE.

Okay, look. If make isn't working, something went seriously wrong during your install. When you were asked to install different packages, did you hit the + or whatever to install EVERYTHING? Go back, reinstall cygwin, and make goddamn sure that when asked which packages to install, you do them ALL.

Now listen. For changing directories and navigating you just need TWO COMMANDS.

ls - list everything in the directory
cd <name> change to a directory.

So if you're sitting in KOS, type "ls." Now look at the directories. If you want to go to one of them, type cd and JUST THE NAME OF THE DIRECTORY to get there. You don't need to use the entire path. Just play with these two, because you need some practice.
Yea i'm pertty sure he didn't add the automake package to the install, so it's a fair bet that he'd be missing a few other packages that he mite need aswell.
http://www.youtube.com/user/MrDeathNote1988

Image
Image

"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
User avatar
Lord Pingas
Chaos Rift Regular
Chaos Rift Regular
Posts: 178
Joined: Thu Dec 31, 2009 9:33 am
Favorite Gaming Platforms: NES, SNES, Nintendo 64, Dreamcast, Wii
Programming Language of Choice: C++
Location: Hiding In My Mum's Basement With My Pokemon Cards

Re: Dreamcast Development

Post by Lord Pingas »

Guys, I think it worked! :)

I downloaded the packages I thought I already installed and it worked! :mrgreen:

It created a hello.elf, hello.o, romdisk.img and romdisk.o!
Is that what is supposed to happen?

Thank all of you guys for all your help and I will be sure to update you guys as to when I got a working KOS program.
I'll also credit this thread for helping me out. ;)

EDIT: Wait the whole elf file is 900kb... Is that normal for a very small program?
Last edited by Lord Pingas on Thu Feb 25, 2010 12:09 pm, edited 1 time in total.
User avatar
MrDeathNote
ES Beta Backer
ES Beta Backer
Posts: 594
Joined: Sun Oct 11, 2009 9:57 am
Current Project: cocos2d-x project
Favorite Gaming Platforms: SNES, Sega Megadrive, XBox 360
Programming Language of Choice: C/++
Location: Belfast, Ireland
Contact:

Re: Dreamcast Development

Post by MrDeathNote »

Lord Pingas wrote:Guys, I think it worked! :)

I downloaded the packages I thought I already installed and it worked! :mrgreen:

It created a hello.elf, hello.o, romdisk.img and romdisk.o!
Is that what is supposed to happen?

Thank all of you guys for all your help and I will be sure to update you guys as to when I got a working KOS program.
I'll also credit this thread for helping me out. ;)
Yea thats exactly what should happen congrats :)
http://www.youtube.com/user/MrDeathNote1988

Image
Image

"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
User avatar
Lord Pingas
Chaos Rift Regular
Chaos Rift Regular
Posts: 178
Joined: Thu Dec 31, 2009 9:33 am
Favorite Gaming Platforms: NES, SNES, Nintendo 64, Dreamcast, Wii
Programming Language of Choice: C++
Location: Hiding In My Mum's Basement With My Pokemon Cards

Re: Dreamcast Development

Post by Lord Pingas »

The elf file is 900kb big, and the program is very small. Is that normal for such a small program?
User avatar
Lord Pingas
Chaos Rift Regular
Chaos Rift Regular
Posts: 178
Joined: Thu Dec 31, 2009 9:33 am
Favorite Gaming Platforms: NES, SNES, Nintendo 64, Dreamcast, Wii
Programming Language of Choice: C++
Location: Hiding In My Mum's Basement With My Pokemon Cards

Re: Dreamcast Development

Post by Lord Pingas »

MrDeathNote wrote:
Lord Pingas wrote:Guys, I think it worked! :)

I downloaded the packages I thought I already installed and it worked! :mrgreen:

It created a hello.elf, hello.o, romdisk.img and romdisk.o!
Is that what is supposed to happen?

Thank all of you guys for all your help and I will be sure to update you guys as to when I got a working KOS program.
I'll also credit this thread for helping me out. ;)
Yea thats exactly what should happen congrats :)
Thanks!

Couldn't have done it without you guys!
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: Dreamcast Development

Post by Falco Girgis »

Yep, you did it. Congratulations! Now either load the .elf in an emulator or send it to a Dreamcast.
Lord Pingas wrote:The elf file is 900kb big, and the program is very small. Is that normal for such a small program?
The program isn't very small. There might only be a few lines of code, but you're statically linking against the entire KallistiOS libraries along with other things such as libPNG, libVorbis, and anything else in your Makefile (like standard C++ libs). Damn straight it's going to be pretty big.
User avatar
Lord Pingas
Chaos Rift Regular
Chaos Rift Regular
Posts: 178
Joined: Thu Dec 31, 2009 9:33 am
Favorite Gaming Platforms: NES, SNES, Nintendo 64, Dreamcast, Wii
Programming Language of Choice: C++
Location: Hiding In My Mum's Basement With My Pokemon Cards

Re: Dreamcast Development

Post by Lord Pingas »

GyroVorbis wrote:Yep, you did it. Congratulations! Now either load the .elf in an emulator or send it to a Dreamcast.
Lord Pingas wrote:The elf file is 900kb big, and the program is very small. Is that normal for such a small program?
The program isn't very small. There might only be a few lines of code, but you're statically linking against the entire KallistiOS libraries along with other things such as libPNG, libVorbis, and anything else in your Makefile (like standard C++ libs). Damn straight it's going to be pretty big.
Thanks Falco!

Thanks to you I not only know how to dev for Dreamcast, but I also know a little more about the homebrew development and compiling programs manually.

I'm going to continue learning about the Dreamcast and I'll hopefully have a game worth showing off soon.

I've already made a Pickin' Sticks in SDL so my goal is to make a Pickin' Sticks for the Dreamcast.

Thanks again! :)
User avatar
Lord Pingas
Chaos Rift Regular
Chaos Rift Regular
Posts: 178
Joined: Thu Dec 31, 2009 9:33 am
Favorite Gaming Platforms: NES, SNES, Nintendo 64, Dreamcast, Wii
Programming Language of Choice: C++
Location: Hiding In My Mum's Basement With My Pokemon Cards

Re: Dreamcast Development

Post by Lord Pingas »

Ok, just one more question...

Where am I supposed to learn it?
User avatar
LeonBlade
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1314
Joined: Thu Jan 22, 2009 12:22 am
Current Project: Trying to make my first engine in C++ using OGL
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: Blossvale, NY

Re: Dreamcast Development

Post by LeonBlade »

Lord Pingas wrote:Ok, just one more question...

Where am I supposed to learn it?
Image
Last edited by LeonBlade on Thu Feb 25, 2010 6:12 pm, edited 1 time in total.
There's no place like ~/
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: Dreamcast Development

Post by Falco Girgis »

..............................Examples.
User avatar
AerisAndMe
ES Software Engineer
ES Software Engineer
Posts: 381
Joined: Tue Apr 07, 2009 9:29 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: PC, SNES, PS3
Programming Language of Choice: C/++
Location: Madison AL
Contact:

Re: Dreamcast Development

Post by AerisAndMe »

LOL!! :lol:
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: Dreamcast Development

Post by Falco Girgis »

I think I'm going to upload that sketch to the albums on the website. That was fucking funny.
User avatar
eatcomics
ES Beta Backer
ES Beta Backer
Posts: 2528
Joined: Sat Mar 08, 2008 7:52 pm
Location: Illinois

Re: Dreamcast Development

Post by eatcomics »

GyroVorbis wrote:I think I'm going to upload that sketch to the albums on the website. That was fucking funny.
tru dat
Image
User avatar
GroundUpEngine
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 835
Joined: Sun Nov 08, 2009 2:01 pm
Current Project: mixture
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: UK

Re: Dreamcast Development

Post by GroundUpEngine »

lmao! :lol:
Post Reply