Search found 28 matches

by Chano
Fri Jul 19, 2019 3:01 pm
Forum: GBA Development
Topic: Build TONC library and examples
Replies: 5
Views: 15771

Re: Build TONC library and examples

It says that the selected attachment does not exist anymore.

I'll try to build each example with the template Makefile.
by Chano
Wed Jul 17, 2019 5:05 pm
Forum: devkitARM
Topic: GDB with Python scripting support
Replies: 3
Views: 10934

Re: GDB with Python scripting support

Ubuntu 16 and 18, but I can setup a virtual machine with another OS if that's necessary.
by Chano
Wed Jul 17, 2019 5:03 pm
Forum: GBA Development
Topic: Build TONC library and examples
Replies: 5
Views: 15771

Re: Build TONC library and examples

The libtonc bundled with devkitARM works as expected, but it comes without its examples (I think).

I just want to fiddle with Tonc's examples, but I can't build them from source.
by Chano
Wed Jul 17, 2019 6:41 am
Forum: devkitARM
Topic: GDB with Python scripting support
Replies: 3
Views: 10934

Re: GDB with Python scripting support

By the way, do you know of any good IDE / editor for debugging with devkitARM?
by Chano
Fri Jul 12, 2019 9:01 am
Forum: devkitARM
Topic: GDB with Python scripting support
Replies: 3
Views: 10934

GDB with Python scripting support

Hi, I'm trying to debug GBA code using Qt Creator and mGBA. When I start arm-none-eabi-gdb from Qt Creator, it says that the selected build of GDB does not support Python scripting, so it can't be used for debugging. Anyone knows how to build arm-none-eabi-gdb with with Python scripting support? Tha...
by Chano
Wed Jun 19, 2019 1:13 pm
Forum: GBA Development
Topic: Build TONC library and examples
Replies: 5
Views: 15771

Build TONC library and examples

Hi,

I cant' build TONC library and examples with the latest version of devkitARM.

When the root Makefile is built using make, it throws the following error:

Code: Select all

tte_main.c:(.text+0x240): undefined reference to `__ctype_ptr__'
Do you have any ideas?
Thanks.
by Chano
Mon May 27, 2019 9:28 am
Forum: GBA Development
Topic: Sprites per scanline limit?
Replies: 5
Views: 13300

Re: Sprites per scanline limit?

From GBATEK : Maximum Number of Sprites per Line The total available OBJ rendering cycles per line are 1210 (=304*4-6) If "H-Blank Interval Free" bit in DISPCNT register is 0 954 (=240*4-6) If "H-Blank Interval Free" bit in DISPCNT register is 1 The required rendering cycles are ...
by Chano
Thu Jan 29, 2015 6:50 am
Forum: GBA Development
Topic: Inline asm calls ignored in devkitARM r43
Replies: 10
Views: 21401

Re: Inline asm calls ignored in devkitARM r43

It works with -O3!

Thanks!
by Chano
Mon Jan 12, 2015 9:29 pm
Forum: GBA Development
Topic: Inline asm calls ignored in devkitARM r43
Replies: 10
Views: 21401

Re: Inline asm calls ignored in devkitARM r43

The issues I has having were related with more ignored inline asm calls.

It's weird, because some of them work fine and some not...
by Chano
Sun Jan 11, 2015 6:10 pm
Forum: GBA Development
Topic: Inline asm calls ignored in devkitARM r43
Replies: 10
Views: 21401

Re: Inline asm calls ignored in devkitARM r43

By the way, I have more instances where functions are not called if -O0 is not enabled.

It wouldn't be possible to roll back to a previous version of GCC of devkitARM?
Nothing of this happened with r42...