XenoGC Full Source Code

Latest site specific news
User avatar
Link83
Posts: 9
Joined: Mon Feb 28, 2011 3:46 pm

Re: XenoGC Full Source Code

Post by Link83 » Fri Mar 11, 2011 6:26 pm

Sounds fair enough to me, but perhaps you were not the only person emailing Costis about GCLib?
zdebel
Posts: 1
Joined: Sat Mar 12, 2011 7:46 pm

Re: XenoGC Full Source Code

Post by zdebel » Sat Mar 12, 2011 7:47 pm

Keep in mind guys that the uc that's used in xeno gc is atmega8, it has 8KB of flash memory, so it won't be possible to put sdload/swiss in it (it's too big).
User avatar
ct_the_1
Posts: 98
Joined: Wed Feb 02, 2011 1:07 am
Location: germany

Re: XenoGC Full Source Code

Post by ct_the_1 » Sat Mar 12, 2011 7:55 pm

zdebel wrote:Keep in mind guys that the uc that's used in xeno gc is atmega8, it has 8KB of flash memory, so it won't be possible to put sdload/swiss in it (it's too big).
Psst, it is possible to use a loader program, that will run from memory card, by pressing the right buttons. ;-)
And you can remove the unneeded thing from the source of course (credits / shell).
ct_the_1 (currently very busy and rarely online)

Image
yamaharacer
Posts: 448
Joined: Mon Apr 05, 2010 4:11 pm
Location: Germany

Re: XenoGC Full Source Code

Post by yamaharacer » Sat Mar 12, 2011 10:51 pm

ct_the_1 wrote:
zdebel wrote:Keep in mind guys that the uc that's used in xeno gc is atmega8, it has 8KB of flash memory, so it won't be possible to put sdload/swiss in it (it's too big).
Psst, it is possible to use a loader program, that will run from memory card, by pressing the right buttons. ;-)
And you can remove the unneeded thing from the source of course (credits / shell).

hi, would it be possible that you prepare a tutorial how we can edit the code to load dol files from the memory card like you said? or would you just post a edited hex file or anything?
Hells Guardian
Posts: 235
Joined: Sat Feb 12, 2011 9:17 pm

Re: XenoGC Full Source Code

Post by Hells Guardian » Sun Mar 13, 2011 1:36 am

You need a way to compile it before it'll be any use.
yamaharacer
Posts: 448
Joined: Mon Apr 05, 2010 4:11 pm
Location: Germany

Re: XenoGC Full Source Code

Post by yamaharacer » Sun Mar 13, 2011 7:50 am

i have visual studio 2010 that would be a problem.
Hells Guardian
Posts: 235
Joined: Sat Feb 12, 2011 9:17 pm

Re: XenoGC Full Source Code

Post by Hells Guardian » Sun Mar 13, 2011 12:43 pm

I highly doubt that visual studio alone will do or we would have seen some mods of the code already.
yamaharacer
Posts: 448
Joined: Mon Apr 05, 2010 4:11 pm
Location: Germany

Re: XenoGC Full Source Code

Post by yamaharacer » Sun Mar 13, 2011 2:14 pm

Hells Guardian wrote:I highly doubt that visual studio alone will do or we would have seen some mods of the code already.

I dont think there are so much people out there who waste their time in gamecube developing. just the hardcore gamecube fans in this community work on on it. so it needs time for that few people who try to do this.

and I dont think that it would need more than visual studio 10 because its also just only a C code. nothing unnormal.
User avatar
Dragoon
Posts: 323
Joined: Thu Jan 27, 2011 1:01 pm

Re: XenoGC Full Source Code

Post by Dragoon » Mon Mar 14, 2011 5:02 pm

yamaharacer wrote:
Hells Guardian wrote:I highly doubt that visual studio alone will do or we would have seen some mods of the code already.

I dont think there are so much people out there who waste their time in gamecube developing. just the hardcore gamecube fans in this community work on on it. so it needs time for that few people who try to do this.

and I dont think that it would need more than visual studio 10 because its also just only a C code. nothing unnormal.
I doubt it will create a ELF/bin/DOL file, unless you can port this to ProDG for GC (vs 6) along with the official GCN SDK.
Image
Hells Guardian
Posts: 235
Joined: Sat Feb 12, 2011 9:17 pm

Re: XenoGC Full Source Code

Post by Hells Guardian » Mon Mar 14, 2011 5:29 pm

Well it's not neccesarily a dol we are looking to build. If I'm not mistaken this chip code needs some unknown GCLib that No one seems to have.
yamaharacer
Posts: 448
Joined: Mon Apr 05, 2010 4:11 pm
Location: Germany

Re: XenoGC Full Source Code

Post by yamaharacer » Mon Mar 14, 2011 7:27 pm

Dragoon wrote:
yamaharacer wrote:
Hells Guardian wrote:I highly doubt that visual studio alone will do or we would have seen some mods of the code already.

I dont think there are so much people out there who waste their time in gamecube developing. just the hardcore gamecube fans in this community work on on it. so it needs time for that few people who try to do this.

and I dont think that it would need more than visual studio 10 because its also just only a C code. nothing unnormal.
I doubt it will create a ELF/bin/DOL file, unless you can port this to ProDG for GC (vs 6) along with the official GCN SDK.

why do we need a dol file? we need a hex file which will be flashed on an atmega 8l µC and the program on the chip loads a dol file from an memory card.
User avatar
Dragoon
Posts: 323
Joined: Thu Jan 27, 2011 1:01 pm

Re: XenoGC Full Source Code

Post by Dragoon » Tue Mar 15, 2011 6:04 am

Oh crap, I totaly forget the format is iHex :p
I tried to do this with Visual C++ 6.0 sp6, but I couldn't get it to work :s I guess we need to use GNU C++/ Cygwin.
Image
User avatar
KirovAir
Posts: 214
Joined: Sat Jan 22, 2011 12:13 pm
Location: Netherlands

Re: XenoGC Full Source Code

Post by KirovAir » Tue Mar 15, 2011 7:57 am

Dragoon wrote:Oh crap, I totaly forget the format is iHex :p
I tried to do this with Visual C++ 6.0 sp6, but I couldn't get it to work :s I guess we need to use GNU C++/ Cygwin.
Doesn't really matter as long as the libs are nowhere to find. :p
"The only thing more dangerous than a hardware guru with a code patch is a programmer with a soldering iron."
Hells Guardian
Posts: 235
Joined: Sat Feb 12, 2011 9:17 pm

Re: XenoGC Full Source Code

Post by Hells Guardian » Tue Mar 15, 2011 12:20 pm

That's exactly what I said.
User avatar
Dragoon
Posts: 323
Joined: Thu Jan 27, 2011 1:01 pm

Re: XenoGC Full Source Code

Post by Dragoon » Tue Mar 15, 2011 6:47 pm

Trying to get AVRDude somewhere, but I cant seem to find it, maybe I'll be able to hunt this Gclib down.
Image
epoch
Posts: 54
Joined: Thu Apr 01, 2010 2:23 pm

Re: XenoGC Full Source Code

Post by epoch » Fri Mar 18, 2011 12:02 am

Dragoon wrote:Trying to get AVRDude somewhere, but I cant seem to find it, maybe I'll be able to hunt this Gclib down.
http://www.bsdhome.com/avrdude/

this one?

and it's available in a ton of other places as well...
User avatar
Dragoon
Posts: 323
Joined: Thu Jan 27, 2011 1:01 pm

Re: XenoGC Full Source Code

Post by Dragoon » Fri Mar 18, 2011 5:15 pm

No that's the one I downloaded before but it's just a few files, I guess it's the source of that device.
Image
User avatar
Dragoon
Posts: 323
Joined: Thu Jan 27, 2011 1:01 pm

Re: XenoGC Full Source Code

Post by Dragoon » Wed Mar 23, 2011 6:26 pm

Shouldn't this be compiled for a atmega32 or higher? because the output files are bigger then 8kb...
Image
User avatar
andzlay
Posts: 447
Joined: Thu Jul 08, 2010 12:53 am
Location: Germany

Re: XenoGC Full Source Code

Post by andzlay » Thu Mar 24, 2011 8:22 am

There are some hex files included and some bin files. hex files are 23kb and bin files 8kb! So maybe you got to flash the bin files? i'm not really into that topic so I don't know ;O
User avatar
Dragoon
Posts: 323
Joined: Thu Jan 27, 2011 1:01 pm

Re: XenoGC Full Source Code

Post by Dragoon » Thu Mar 24, 2011 3:07 pm

no you have to make .hex files out of it since a avr chip needs to be flashed with an apropiatre avr file (in this case the one generated by winAVR)
Image
user82
Posts: 3
Joined: Tue Apr 19, 2011 10:30 am

Re: XenoGC Full Source Code

Post by user82 » Tue Apr 19, 2011 10:33 am

So if i am right i just need to burn the .hex file to my Atmega8?

but i got two questions, does anyone have schematics or a wiring diagram(or do i need to look at photos)

and second, does anyone know the fuse settings used? i assume standard fuses(8mhz internal, no watchdog, no brownout etc)


ps: hi @all
User avatar
Dragoon
Posts: 323
Joined: Thu Jan 27, 2011 1:01 pm

Re: XenoGC Full Source Code

Post by Dragoon » Tue Apr 19, 2011 12:50 pm

I think I have some in my documents, I'll take a look and attatch them if I can find em ;)
Image
user82
Posts: 3
Joined: Tue Apr 19, 2011 10:30 am

Re: XenoGC Full Source Code

Post by user82 » Tue Apr 19, 2011 1:18 pm

Dragoon wrote:I think I have some in my documents, I'll take a look and attatch them if I can find em ;)

i could identify some pins from the photo and the code, but there are one or two connections that must be on the back side of the PCB

so would be really cool, thanks in advance!
disaster3ad
Posts: 8
Joined: Tue Sep 21, 2010 6:21 am
Location: RUS

Re: XenoGC Full Source Code

Post by disaster3ad » Fri Apr 22, 2011 2:10 pm

user82 wrote:So if i am right i just need to burn the .hex file to my Atmega8?

and second, does anyone know the fuse settings used? i assume standard fuses(8mhz internal, no watchdog, no brownout etc)

ps: hi @all
The fuses is:

lfuse = 0xC4
hfuse = 0xD9



Image

resistor Vcc to RESET - about 10k

Also it can be programmed on GC. Just connect a blank Atmega8 chip to the gamecube disksdrive board
as it was xeno, connect reset of mega8 to GND, then start FlashXeno.dol on gamecube.
user82
Posts: 3
Joined: Tue Apr 19, 2011 10:30 am

Re: XenoGC Full Source Code

Post by user82 » Fri Apr 22, 2011 9:58 pm

ok great information! thanks a lot

one more question came up..is it true that it runs at 3.3V? if so id have to use an atmega8L instead of an atmega8(vcc 4.5-5.5V)
Post Reply