Problem with AR and sdload.
Problem with AR and sdload.
Hello there
I've a little problem using swiss over sdload :
every Time i try to start a game (iso) ( if i start swiss over the sdload menu) ;
the game doesn't and there comes the Error message "ERROR: OK"
thanks for halping and soory for my english
wolfilein
I've a little problem using swiss over sdload :
every Time i try to start a game (iso) ( if i start swiss over the sdload menu) ;
the game doesn't and there comes the Error message "ERROR: OK"
thanks for halping and soory for my english
wolfilein
Re: Problem with AR and sdload.
Solution found :
After loading the swiss dol; you must open the lid and close it again.
but one more question:
is there any chance to get the swiss dol converted to bin, so can use it as a SDLOADER.BIN instead of Sdload?
wolfilein
After loading the swiss dol; you must open the lid and close it again.
but one more question:
is there any chance to get the swiss dol converted to bin, so can use it as a SDLOADER.BIN instead of Sdload?
wolfilein
Re: Problem with AR and sdload.
Not without further modification, sorry.
When I remember correctly there are some specifications that the SDLOADER.BIN must met.
----
I found it
but Swiss is uncompressed over 2 mb and this will increase with further development.
The best solution would be to code a small loader program (to replace the sdloader.bin and fit the above requirements),
that will then load Swiss from the sdcard. Maybe a modified version of the reloading stub, that is in the works.
When I remember correctly there are some specifications that the SDLOADER.BIN must met.
----
I found it
So, Swiss must be recompiled to a base of 0x81700000, which is not a big deal,costis' sdlod readme wrote: The menu program that is loaded after you open and close the cover on the Action Replay
(SDLOADER) is just a simple file on the SD card. It's the file that you copied to the
root directory of the card while following the installation text called SDLOADER.BIN.
This file is a simple GameCube executable binary which is loaded and copied to RAM
location 0x81700000 (the high 1MB of RAM on the GC's 24MB of main RAM.) You can easily
replace SDLOADER.BIN with your own creation to have it boot at start-up instead of
the default menu if you choose to do so. Just set your compiler to compile for a
target text base section of 0x81700000 (-Ttext 0x81700000) and then use objcopy to
convert the output ELF file from the linker to a binary:
powerpc-elf-objcopy -O binary sdloader.elf SDLOADER.BIN (for example...)
The only precaution you have to take is that your binary file is 1MB or less in size,
as otherwise it will overflow through the top of the GC's RAM!
but Swiss is uncompressed over 2 mb and this will increase with further development.
The best solution would be to code a small loader program (to replace the sdloader.bin and fit the above requirements),
that will then load Swiss from the sdcard. Maybe a modified version of the reloading stub, that is in the works.
Re: Problem with AR and sdload.
mhh,
I don't think that I'm good enough to code an GC programm , because i never used c before
can anyone help me?
I don't think that I'm good enough to code an GC programm , because i never used c before
can anyone help me?
Re: Problem with AR and sdload.
so after 1 day read and using the source-code of swiss
i build an programm what automaticly boot the boot.dol from the sdgecko in slot a;
but if i compile it with Ttext and after that use objectcopy
i get an .bin that is > 2GB big
edit:
I'm now now why i have this problem , i must use the logc libary for compiling but with -Ttext i only get :
while linking sdautoload.elf
i build an programm what automaticly boot the boot.dol from the sdgecko in slot a;
but if i compile it with Ttext and after that use objectcopy
i get an .bin that is > 2GB big
edit:
I'm now now why i have this problem , i must use the logc libary for compiling but with -Ttext i only get :
Code: Select all
c:/devkitPro/libogc/lib/cube\libogc.a(system.o): In function `__lowmem_init':
/Users/davem/projects/devkitpro/libogc/libogc/system.c:468: undefined reference
to `__gxregs'
/Users/davem/projects/devkitpro/libogc/libogc/system.c:468: undefined reference
to `__gxregs'
/Users/davem/projects/devkitpro/libogc/libogc/system.c:470: undefined reference
to `__Arena1Lo'
/Users/davem/projects/devkitpro/libogc/libogc/system.c:470: undefined reference
Last edited by wolfilein on Fri Aug 05, 2011 1:52 am, edited 1 time in total.
Re: Problem with AR and sdload.
pics or it didnt happen
Well, without the source code I am not able to help you with this. You may attach it here or send me a link via pm, if you want.
Well, without the source code I am not able to help you with this. You may attach it here or send me a link via pm, if you want.
Re: Problem with AR and sdload.
i attached the source
the bigest part is copied from swiss (boot dol)
thanks for your help
the bigest part is copied from swiss (boot dol)
thanks for your help
- Attachments
-
- source.zip
- (7.24 KiB) Downloaded 350 times
Re: Problem with AR and sdload.
Your program can't work
You mixed up sd cards and memory cards...
You mixed up sd cards and memory cards...
Re: Problem with AR and sdload.
this programm already works only the prints are wrong because an non supportet device in the memcardslot return errorcode -2
ive tested the compiled dol with sdload and swiss both worked.
the only problem is with Ttext compile if i try this i get the error
or an destroyed dol and elf (when compile without libogc):(
ive tested the compiled dol with sdload and swiss both worked.
the only problem is with Ttext compile if i try this i get the error
or an destroyed dol and elf (when compile without libogc):(
Re: Problem with AR and sdload.
i've tried verry often and never get a working result
can anyone help me to compile my programm with a text based section of 0x18700000 ?
the programm is wokring if i load ist over sdload
can anyone help me to compile my programm with a text based section of 0x18700000 ?
the programm is wokring if i load ist over sdload