Search found 7 matches

by bim
Tue Jun 25, 2019 2:46 pm
Forum: Suggestions and Feedback
Topic: Feedback for devkitpro wiki
Replies: 3
Views: 15678

Re: Feedback for devkitpro wiki

I just want to chime in and say that "Getting started" the Linux should be updated: When you install dkp-pacman for the first time you have to use "dkp-pacman -S yu <console>-dev". Apparently "-S <console>-dev" does nothing and "-Sl" does not list e.g. the &qu...
by bim
Thu Jan 24, 2019 11:42 am
Forum: GBA Development
Topic: Reducing libgbas IWRAM footprint
Replies: 2
Views: 9103

Re: Reducing libgbas IWRAM footprint

Your right. I've done just that. I removed libgba and also got rid of memory management using the GCC options: -Wl,--wrap=malloc,--wrap=free,--wrap=alloc,--wrap=calloc All allocations are redirected to my internal methods, which I need anyway. This gives me more control over allocations, but still s...
by bim
Sat Jan 12, 2019 2:26 pm
Forum: GBA Development
Topic: Reducing libgbas IWRAM footprint
Replies: 2
Views: 9103

Reducing libgbas IWRAM footprint

Looking at the .map file of my GBA .elf with amap I see several blocks of IWRAM being allocated by libgba. I attached an amap screenshot. Is there any way to reduce that? Heap management could rather be in EWRAM and why a mutex? I probably only need the headers and the interrupt stuff libgba offers....
by bim
Sat Jan 12, 2019 1:54 pm
Forum: Announcements
Topic: devkitARM release 50
Replies: 7
Views: 18343

Re: devkitARM release 50

So, uhm. I tried updating via the .pl and pacman, but it tells me for gba-dev r49-2 is the current version? What am I doing wrong?
by bim
Wed Feb 07, 2018 12:14 pm
Forum: GBA Development
Topic: Problem with code generated with cmake vs. make files
Replies: 1
Views: 4606

Problem with code generated with cmake vs. make files

I tried creating cmake files for my old GBA project to have a bit more convenience and flexibility. I have the problem though, that the code generated with the CMake files is not the same as with the regular Makefiles - The later works, but the CMake-generated .gba crashes in the emulator after a sh...
by bim
Wed Nov 08, 2017 9:46 am
Forum: devkitARM
Topic: Template compilation error w GCC 7.1.0 (ambiguous overload)
Replies: 3
Views: 10971

Re: Template compilation error w GCC 7.1.0 (ambiguous overlo

Not sure if my previous answer got lost, so:
Thanks for the answers. It was indeed the int vs. int32_t problem. My solution looks something like this atm. I wasn't sure about the compilers capabilities, so the different overloads...
by bim
Fri Nov 03, 2017 9:23 pm
Forum: devkitARM
Topic: Template compilation error w GCC 7.1.0 (ambiguous overload)
Replies: 3
Views: 10971

Template compilation error w GCC 7.1.0 (ambiguous overload)

I picked up an old GBA project I would like to finish now. I have a template fixed-point class (ideone example) with tests that compiles with GCC 5.4 (my PC) and 6.3 (IdeOne) and even 7.1 (wandbox), but not the 7.1 included in the current devkitArm. I've tried a couple of things now, but can not get...