XenoGC Full Source Code
-
- Posts: 57
- Joined: Tue May 10, 2011 8:31 am
Re: XenoGC Full Source Code
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.
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.
-
- Posts: 57
- Joined: Tue May 10, 2011 8:31 am
Re: XenoGC Full Source Code
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.
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.
- megalomaniac
- Posts: 2480
- Joined: Sun Aug 21, 2011 5:33 am
- Location: Drunk in Texas
- Contact:
Re: XenoGC Full Source Code
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:
I have successfully written all three versions using the xenoflasher.
here are a few pics:






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:
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.Set Flash switch to [ON] position now
then press A to begin flashing
I have successfully written all three versions using the xenoflasher.
here are a few pics:
Code: Select all
xenoFlash.1.01.dol


Code: Select all
xenoFlash.1.04b.dol


Code: Select all
xenoflash.dol
yes, the pic shows 1.04 beta but it loads 1.05


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



- megalomaniac
- Posts: 2480
- Joined: Sun Aug 21, 2011 5:33 am
- Location: Drunk in Texas
- Contact:
Re: XenoGC Full Source Code
There are some hidden commands which are not displayed in the v1.05 flashloader....
so dont push random buttons...
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)
>>> BadAssConsoles.com <<<emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving



-
- Posts: 57
- Joined: Tue May 10, 2011 8:31 am
Re: XenoGC Full Source Code
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.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.
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.
Re: XenoGC Full Source Code
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
(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
Re: XenoGC Full Source Code
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)

- megalomaniac
- Posts: 2480
- Joined: Sun Aug 21, 2011 5:33 am
- Location: Drunk in Texas
- Contact:
Re: XenoGC Full Source Code
Ive flashed my chip with everything i can find in the source....here are my findings
HEXFILES
../
../Drivecode/Source/1.03a
../XenoAT/Bin
XenoFlashers
../
../XenoFlash/Bin/
md5sum
1.03a.v1

HEXFILES
../
Code: Select all
XenoAT.1.05.hex = PAL (XenoGC Shell v1.05) --->>Multigame Shell
Code: Select all
XenoAT = file does not appear to function
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
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

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



-
- Posts: 34
- Joined: Sun Sep 04, 2011 3:24 pm
- Location: Flint, MI, USA
- Contact:
Re: XenoGC Full Source Code
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? 

- megalomaniac
- Posts: 2480
- Joined: Sun Aug 21, 2011 5:33 am
- Location: Drunk in Texas
- Contact:
Re: XenoGC Full Source Code
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
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
>>> BadAssConsoles.com <<<emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving



-
- Posts: 34
- Joined: Sun Sep 04, 2011 3:24 pm
- Location: Flint, MI, USA
- Contact:
Re: XenoGC Full Source Code
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.
How did you flash these .hex files to the Xeno?megalomaniac wrote:Ive flashed my chip with everything i can find in the source....here are my findings
HEXFILES
../../Drivecode/Source/1.03aCode: Select all
XenoAT.1.05.hex = PAL (XenoGC Shell v1.05) --->>Multigame Shell
../XenoAT/BinCode: Select all
XenoAT = file does not appear to function
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
- megalomaniac
- Posts: 2480
- Joined: Sun Aug 21, 2011 5:33 am
- Location: Drunk in Texas
- Contact:
Re: XenoGC Full Source Code
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...
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.
>>> BadAssConsoles.com <<<emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving



Re: XenoGC Full Source Code
- 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
(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
-
- Posts: 34
- Joined: Sun Sep 04, 2011 3:24 pm
- Location: Flint, MI, USA
- Contact:
Re: XenoGC Full Source Code
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!
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?

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?
Re: XenoGC Full Source Code
sounds good to me, i'm on your sidedantheman2865 wrote: Speaking of forking, I am considering forking this discussion thread into a more appropriate forum than "News". Maybe GC/Wii development?

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
(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
Re: XenoGC Full Source Code
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..

Re: XenoGC Full Source Code
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
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
(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
-
- Posts: 1
- Joined: Sat Jul 07, 2012 2:18 pm
Re: XenoGC Full Source Code
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
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 2015 times
- megalomaniac
- Posts: 2480
- Joined: Sun Aug 21, 2011 5:33 am
- Location: Drunk in Texas
- Contact:
Re: XenoGC Full Source Code
Nice layout...Looks good
>>> BadAssConsoles.com <<<emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving



Re: XenoGC Full Source Code
It is possible to swap XenoGC Shell built-in application with something else? (eg Swiss).



- megalomaniac
- Posts: 2480
- Joined: Sun Aug 21, 2011 5:33 am
- Location: Drunk in Texas
- Contact:
Re: XenoGC Full Source Code
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
...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
>>> BadAssConsoles.com <<<emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving



Re: XenoGC Full Source Code
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.
Edit : boot.dol, not .iso.
Re: XenoGC Full Source Code
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!
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!
Re: XenoGC Full Source Code
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.