gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > problem with devkitadvance linux version

#6729 - pbmtp - Mon Jun 02, 2003 10:27 am

ok here is my problem

i have a simple gba program compiled in Multiboot mode

i load it on gba using a hand made PC-GBA serial cable
on my flash card i use FrotzNet gba remote console

when the multiboot rom is compiled using devkitadvance r5beta3 (windows version) it works

when i compil it under linux using devkitadvance r4 it doesnt work

does anybody has had a similar problem in the past ?

thx a lot

#6848 - MojoJojo - Tue Jun 03, 2003 1:17 pm

How is it not working? Are you getting some compiler/linker errors, or does everything build fine but it just doesn't do anything on the GBA?

#6851 - pbmtp - Tue Jun 03, 2003 2:00 pm

no compiler/linker error

program load normally using the multiboot cable, the gba loader branch to 0x02000000 and black screen and nothing runs

#6858 - tepples - Tue Jun 03, 2003 6:21 pm

Isolate the problem: Is it the link cable, or is it the program you sent? Does the program work in VisualBoyAdvance?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#6894 - pbmtp - Wed Jun 04, 2003 10:23 am

ok i investigate more the problem

if i compile using devkit r5 on windows and look at the generated map file the rom is a valid multiboot rom (i.e. starting at 0x02000000 etc)

if i compile using devkit r4 on linux and look at the generated map file
the rom is located at 0x08000000 :/ (so its not a multiboot one but __gab_multiboot is defined at the beginnning of my main.c)
and the rom doest not work in VBoy Advance

:/

#6901 - Touchstone - Wed Jun 04, 2003 11:11 am

In all fairness you are comparing devkitadv <b>r4</b> for linux with devkitadv <b>r5 beta</b> for Windows. Can't that be the issue? What happens if you use devkitadv r4 for Windows?
_________________
You can't beat our meat