XenoGC Full Source Code

Latest site specific news
albertocastillo2001
Posts: 57
Joined: Tue May 10, 2011 8:31 am

Re: XenoGC Full Source Code

Post by albertocastillo2001 » Mon Sep 19, 2011 12:01 pm

Hello

Thanks for your reply.

Anybody knows which bugs have been fixed between the 1.0 and the 2.0 version? Besides the Shell to load multigame discs
I've read somewhere years ago that somebugs were corrected but it didn't mention them

Thank you.
albertocastillo2001
Posts: 57
Joined: Tue May 10, 2011 8:31 am

Re: XenoGC Full Source Code

Post by albertocastillo2001 » Mon Sep 19, 2011 5:01 pm

The XenoGC installation I have done is a bit messy to risk adding two more solder points. I am not good at soldering (but I should learn, all this stuff is very interesting)

Maybe I could solder a cable to GND in an alternative point which is far, but I am not sure which. By the way, there are some holes on the drive board that seem to do connection once a cable is inserted on them. Has anybody tried?

Thank you.
User avatar
megalomaniac
Posts: 2480
Joined: Sun Aug 21, 2011 5:33 am
Location: Drunk in Texas
Contact:

Re: XenoGC Full Source Code

Post by megalomaniac » Tue Sep 20, 2011 3:04 am

the Xeno or Atmega8 (Xeno clone) can be upgraded/downgraded (or initial programming for Atmega) using the various xenoflash.dol's included in the source..
In order to put the microcontroller in program(write) mode, RESET pin (1) must have constant contact with GND during the write process.


The printed letters "XENO" are in contact with RESET therefore connecting any of those letters with GND will put the chip in program mode. The letters are quite big and make for easy soldering of a wire lead. Also GND can found anywhere on the GC, such as the metal cage around the optical drive which also makes for easy soldering.

These two leads should be connected to an on/off switch rather than a reset (push) switch.
ON = leads have contact
OFF = no contact



Three versions of the Xenoflash.dol exist.
xenoFlash.1.01.dol = v1.01
xenoFlash.1.04b.dol = v1.04b
xenoflash.dol = 1.05 (2.0)




When the dol starts it will indicate:
Set Flash switch to [ON] position now
then press A to begin flashing
After pressing A it will perform a flash erase and a flash write. When the process is completed, reboot and set switch to [OFF] . The software does not perform error checking to confirm if the switch is in the right position, nor will it indicate if the microcontroller is in programming mode.



I have successfully written all three versions using the xenoflasher.
here are a few pics:

Code: Select all

xenoFlash.1.01.dol
Image

Image

Code: Select all

xenoFlash.1.04b.dol
Image

Image

Code: Select all

xenoflash.dol
yes, the pic shows 1.04 beta but it loads 1.05
Image

Image
Attachments
flashpics.jpg.rar
(1.07 MiB) Downloaded 1266 times
emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
>>> BadAssConsoles.com <<<

Image Image Image
User avatar
megalomaniac
Posts: 2480
Joined: Sun Aug 21, 2011 5:33 am
Location: Drunk in Texas
Contact:

Re: XenoGC Full Source Code

Post by megalomaniac » Tue Sep 20, 2011 4:19 am

There are some hidden commands which are not displayed in the v1.05 flashloader....
so dont push random buttons...

Code: Select all

A = flash erase, flash write
X = read flash
Y = reset flashloader (reload app)
Z = flash erase
Start = Boot into GCOS (included in xenoflasher.dol)
emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
>>> BadAssConsoles.com <<<

Image Image Image
albertocastillo2001
Posts: 57
Joined: Tue May 10, 2011 8:31 am

Re: XenoGC Full Source Code

Post by albertocastillo2001 » Tue Sep 20, 2011 8:09 am

megalomaniac wrote:the Xeno or Atmega8 (Xeno clone) can be upgraded/downgraded (or initial programming for Atmega) using the various xenoflash.dol's included in the source..
In order to put the microcontroller in program(write) mode, RESET pin (1) must have constant contact with GND during the write process.


The printed letters "XENO" are in contact with RESET therefore connecting any of those letters with GND will put the chip in program mode. The letters are quite big and make for easy soldering of a wire lead. Also GND can found anywhere on the GC, such as the metal cage around the optical drive which also makes for easy soldering.
Those are great news indeed, the problem is that I don't have skills now, my skills are better than in 2006. But the mess is there, some pads have been lifted up and it will be harder to find alternative points. Soldering to the O letter of Xeno should be pretty easy.
You mean the metal cage with holes that attaches to the GameCube disc drive can be used as a ground connection as well?

Oh, and any list of fixes between the different XenoGC versions?

Thank you.
Last edited by albertocastillo2001 on Tue Sep 20, 2011 9:19 am, edited 1 time in total.
User avatar
liquitt
Posts: 1810
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland

Re: XenoGC Full Source Code

Post by liquitt » Tue Sep 20, 2011 8:27 am

nice stuff - never seen this before!
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
User avatar
emu_kidid
Site Admin
Posts: 4927
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

Re: XenoGC Full Source Code

Post by emu_kidid » Tue Sep 20, 2011 1:37 pm

do you know if there's any difference in the two multigame menus? maybe one has the mystical NTSC support (since 2.0 only seems to be in PAL)
Image
User avatar
megalomaniac
Posts: 2480
Joined: Sun Aug 21, 2011 5:33 am
Location: Drunk in Texas
Contact:

Re: XenoGC Full Source Code

Post by megalomaniac » Tue Sep 20, 2011 9:43 pm

Ive flashed my chip with everything i can find in the source....here are my findings


HEXFILES
../

Code: Select all

XenoAT.1.05.hex = PAL (XenoGC Shell v1.05)  --->>Multigame Shell
../Drivecode/Source/1.03a

Code: Select all

XenoAT = file does not appear to function
../XenoAT/Bin

Code: Select all

XenoAT.1.03a.v1.hex = NTSC (XenoGC v1.03a) --->> Classic Shell...see pic below
XenoAT.1.03a.v2.hex = file does not appear to function
XenoAT.1.03.v1.hex = file does not appear to function
XenoAT.hex = PAL (XenoGC Shell v1.05)  --->>Multigame Shell
XenoGC 1.01.V1.hex = file does not appear to function
XenoGC 1.01.V2.hex = NTSC (XenoGC v1.01) --->> Classic Shell...possibly original 1.01 release
XenoGC 1.04.hex = PAL (XenoGC Shell v0.98 beta)  --->>Multigame Shell



XenoFlashers
../

Code: Select all

xenoflash.1.05.dol = PAL
../XenoFlash/Bin/

Code: Select all

xenoFlash.1.01.dol = NTSC
xenoFlash.1.04b.dol = PAL
xenoflash.dol = PAL




md5sum

Code: Select all

hex
1381b07513bb22fd701245ad2457c23e  XenoAT.1.05.hex
727d860899916f067c1a496e739a29a7  Drivecode/Source/1.03a/XenoAT.hex
e572a5994c118680d406d254072cf19a  XenoAT/Bin/XenoAT.1.03a.v1.hex
f6ddb4faf6d0247ee460a351b15a8499  XenoAT/Bin/XenoAT.1.03a.v2.hex
f6ddb4faf6d0247ee460a351b15a8499  XenoAT/Bin/XenoAT.1.03.v1.hex
1381b07513bb22fd701245ad2457c23e  XenoAT/Bin/XenoAT.hex
08318c75b45eccc9eb3ad78fa0a25cf9  XenoAT/Bin/XenoGC 1.01.V1.hex
a6ba8066467ef568c2f8f36c0ec97b89  XenoAT/Bin/XenoGC 1.01.V2.hex
ea65af9e421a890fb980d564f3f88e9d  XenoAT/Bin/XenoGC 1.04.hex

xenoflasher
3abe3ea0d60333d998b8e9730881dd76  xenoflash.1.05.dol
656ee973233cbd19afdece8f7053315a  XenoFlash/Bin/xenoFlash.1.01.dol
92d0ae36375eb6beee6e5ac495eb3a25  XenoFlash/Bin/xenoFlash.1.04b.dol
3abe3ea0d60333d998b8e9730881dd76  XenoFlash/Bin/xenoflash.dol



1.03a.v1
Image
emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
>>> BadAssConsoles.com <<<

Image Image Image
dantheman2865
Posts: 34
Joined: Sun Sep 04, 2011 3:24 pm
Location: Flint, MI, USA
Contact:

Re: XenoGC Full Source Code

Post by dantheman2865 » Wed Sep 21, 2011 8:46 pm

megalomaniac, how did you flash the .hex files? The only two ways I can see right now are to compile them into a XenoFlasher or to desolder the board and use an Atmel programming tool. As far as I know, the Xeno doesn't have a software bootloader programmed for receiving bytes any other way. What's your secret? :)
User avatar
megalomaniac
Posts: 2480
Joined: Sun Aug 21, 2011 5:33 am
Location: Drunk in Texas
Contact:

Re: XenoGC Full Source Code

Post by megalomaniac » Wed Sep 21, 2011 10:04 pm

atmega has a bootloader
so by default, xeno also has a bootloader when the chip is set to program mode (RESET to GND)




in the source code release are 4 (2 are the same, so 3) versions of xenoflash.dol
the flash loader already contains the required hex file built into the dol.

1. use your normal dol loading method to start one of the 4 dols..
2. ensure the chip is physically in "program mode"
3. press A
4. remove chip from programming mode
5. reboot



note: only press the A button...do not press any other buttons
emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
>>> BadAssConsoles.com <<<

Image Image Image
dantheman2865
Posts: 34
Joined: Sun Sep 04, 2011 3:24 pm
Location: Flint, MI, USA
Contact:

Re: XenoGC Full Source Code

Post by dantheman2865 » Fri Sep 23, 2011 4:47 pm

Thanks mega, I am familiar with Atmel's Bootloader and fairly confident I understand how the XenoFlash program works. My question was directed to your testing of the Hex Files included in the source file.
megalomaniac wrote:Ive flashed my chip with everything i can find in the source....here are my findings


HEXFILES
../

Code: Select all

XenoAT.1.05.hex = PAL (XenoGC Shell v1.05)  --->>Multigame Shell
../Drivecode/Source/1.03a

Code: Select all

XenoAT = file does not appear to function
../XenoAT/Bin

Code: Select all

XenoAT.1.03a.v1.hex = NTSC (XenoGC v1.03a) --->> Classic Shell...see pic below
XenoAT.1.03a.v2.hex = file does not appear to function
XenoAT.1.03.v1.hex = file does not appear to function
XenoAT.hex = PAL (XenoGC Shell v1.05)  --->>Multigame Shell
XenoGC 1.01.V1.hex = file does not appear to function
XenoGC 1.01.V2.hex = NTSC (XenoGC v1.01) --->> Classic Shell...possibly original 1.01 release
XenoGC 1.04.hex = PAL (XenoGC Shell v0.98 beta)  --->>Multigame Shell
How did you flash these .hex files to the Xeno?
User avatar
megalomaniac
Posts: 2480
Joined: Sun Aug 21, 2011 5:33 am
Location: Drunk in Texas
Contact:

Re: XenoGC Full Source Code

Post by megalomaniac » Fri Sep 23, 2011 9:56 pm

Hex files were loaded/tested with a homemade serial programmer homemade xeno clone

I don't have an actual Xeno but technically, homemade makes no difference if done correctly.
With my homemade board it us easier for me to test, verify, and develop.
FYI:
An actual xeno will require a simple board mod to allow communication to both the GC and a serial/parallel programmer.
More info to come on these required modifications...
Last edited by megalomaniac on Fri Sep 23, 2011 10:09 pm, edited 1 time in total.
emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
>>> BadAssConsoles.com <<<

Image Image Image
User avatar
liquitt
Posts: 1810
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland

Re: XenoGC Full Source Code

Post by liquitt » Fri Sep 23, 2011 10:01 pm

Image
Attachments
like-where-thread-is-going.jpg
(39.27 KiB) Not downloaded yet
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
dantheman2865
Posts: 34
Joined: Sun Sep 04, 2011 3:24 pm
Location: Flint, MI, USA
Contact:

Re: XenoGC Full Source Code

Post by dantheman2865 » Tue Sep 27, 2011 1:53 pm

Has anyone begun porting the XenoFlash code to libogc? I would like to begin this task but don't want to replicate anyone's work. I've gotten the Hello World example app in libogc to compile and run, so I know I'm not far off from this goal! :lol:

emu_kidid, do you know if The Author would object to forking his code into a code management system for open source development? If so, under what license should we develop it?

Speaking of forking, I am considering forking this discussion thread into a more appropriate forum than "News". Maybe GC/Wii development?

All that to say my end goal is to be able to hold Start on boot and have my XenoGC boot a specific file name from the SDGecko.

Any feedback?
User avatar
liquitt
Posts: 1810
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland

Re: XenoGC Full Source Code

Post by liquitt » Tue Sep 27, 2011 4:02 pm

dantheman2865 wrote: Speaking of forking, I am considering forking this discussion thread into a more appropriate forum than "News". Maybe GC/Wii development?
sounds good to me, i'm on your side ;)
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
User avatar
emu_kidid
Site Admin
Posts: 4927
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

Re: XenoGC Full Source Code

Post by emu_kidid » Tue Sep 27, 2011 11:15 pm

dantheman2865, sounds good about forking the code - it's no longer in production these days anyway. Probably good to put all the code up into googlecode or something but label it as open sourced drive patches /etc..
Image
User avatar
liquitt
Posts: 1810
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland

Re: XenoGC Full Source Code

Post by liquitt » Wed Sep 28, 2011 5:21 am

to bring this out of the news thread, here's the googlecode project:
http://code.google.com/p/xenogcfork/

and the discussion about it:
http://www.gc-forever.com/forums/viewto ... f=20&t=716
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
lunar_lander
Posts: 1
Joined: Sat Jul 07, 2012 2:18 pm

Re: XenoGC Full Source Code

Post by lunar_lander » Sat Jul 07, 2012 2:25 pm

Hi guys,

Thank you for this big news !
I would share with you my design for the boards.
There are made with Sprint Layout (a nice software for designing PCB) and the files can surely be sent to manufacturing in their format (.lay).
If you found the software you can export gerber + drilling files and such from it.

So here they are:

ps: I've made a file for each of the three combinaison: DIP / DIP + ISP / QFP + ISP
And the simplest one (the DIP) is only a single face PCB.
And the QFP one has its resistors mades to be able to put some throughole reisitors or SMD one.
And all the componments & values are noted on the PCB, as well as th connection points on the motherboard !

I've uploaded a picture with the three design side by side if you want to see... ("modèles côte à côte.png")

Enjoy" (as well as I enjoy" this release ! ^^)
, Lunar_Lander
Attachments
modèles côte à côte.png
(95.61 KiB) Not downloaded yet
puce Xeno GC open source layouts.rar
(95.49 KiB) Downloaded 1478 times
User avatar
megalomaniac
Posts: 2480
Joined: Sun Aug 21, 2011 5:33 am
Location: Drunk in Texas
Contact:

Re: XenoGC Full Source Code

Post by megalomaniac » Tue Jul 10, 2012 1:19 am

Nice layout...Looks good
emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
>>> BadAssConsoles.com <<<

Image Image Image
User avatar
szczuru
Posts: 58
Joined: Sat Feb 01, 2014 9:17 pm
Location: Poland

Re: XenoGC Full Source Code

Post by szczuru » Mon Mar 10, 2014 12:53 pm

It is possible to swap XenoGC Shell built-in application with something else? (eg Swiss).
Image
Image
Image
User avatar
megalomaniac
Posts: 2480
Joined: Sun Aug 21, 2011 5:33 am
Location: Drunk in Texas
Contact:

Re: XenoGC Full Source Code

Post by megalomaniac » Mon Mar 10, 2014 4:29 pm

Swiss is way too big to fit in the flash..

...but think about this:
Xeno requires drive proper initialization before it can upload its drive code..
This means Xeno requires a DVD in the drive, so why not use a swiss DVD? You only need to burn 1 copy because once you load swiss from DVD then you can always load a newer version of swiss from SD
emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
>>> BadAssConsoles.com <<<

Image Image Image
novenary
Posts: 1755
Joined: Mon Dec 30, 2013 7:50 am

Re: XenoGC Full Source Code

Post by novenary » Mon Mar 10, 2014 5:16 pm

Yeah plus the boot.iso feature was made for that purpose I guess. At least it goes well with booting from DVD.
Edit : boot.dol, not .iso.
noobcube
Posts: 134
Joined: Sun Sep 11, 2011 12:19 pm

Re: XenoGC Full Source Code

Post by noobcube » Mon Feb 02, 2015 5:57 pm

Not sure where to post this question...

I have an NTSC Gamecube with a Xeno GC v2.0 with the PAL 1.05 shell. The shell is useless, so I'd like to flash it with an earlier firmware. Assuming the Xeno is put into reset/programming mode, can this be done booting with SDLoad (or Swiss) on DVD-R and flashing the firmware from the SD Media Launcher?

Thanks!
noobcube
Posts: 134
Joined: Sun Sep 11, 2011 12:19 pm

Re: XenoGC Full Source Code

Post by noobcube » Mon Feb 02, 2015 10:04 pm

Got 1.01 flashed using Swiss after half a dozen attempts. The first try looked like it worked perfectly but rendered the Xeno GC inoperative (no LEDs), so I went searching in vain for the serial programmer I built a few years ago. Thankfully I also have a Viper GC Extreme, so I was able to use that to boot Swiss and run the flasher.dol. After a few more tries with errors, it finally worked. Not sure why flashing was so problematic.
Slex989
Posts: 21
Joined: Sun Sep 03, 2017 9:04 pm

Re: XenoGC Full Source Code

Post by Slex989 » Mon Sep 04, 2017 10:28 pm

Can someone make a version of swiss that will load in place of the credits.dol or the shell.dol? I was reading earlier posts and it said it was possible. Itd be very helpful to launch swiss from the sd gecko using the xenogc or as a .dol in general. Any help would be appreciated :3
Post Reply