wiki:TBR/BSP/Gba

Gba

{{Infobox BSP |BSP_name = GBA, Game Boy Advance |Manufacturer = Nintendo |image = |caption = |Board_URL = http://en.wikipedia.org/wiki/Game_Boy_Advance |Architecture = ARM |CPU_model = ARM7TDMI |Monitor = none |Simulator = VisualBoyAdvance, NO$GBA |Aliases = |RAM = 32 kilobyte + 96 kilobyte VRAM (internal to the CPU), 256 kilobyte WRAM (outside the CPU). |NVMEM = Flash cartridges ranges from 64 Mbit up to 8 Gbit (Commercial carts range from 32 Mbit to 256 Mbit). |Serial = |NICs = none |Other = }}

This is start page of Game Boy Advance BSP

Features in GBA BSP:

Basic polled console device

  • LCD 60x26(3x5 font), very small fonts but still readable.
  • simple 'getch' keypad/contolpad input
  • simple 'one screen' output= Multiboot support in linkcmds =
  • can be used to load small (up to 2Mbit ~256Kbyte) programs directly to the GBA EWRAM memory.
  • Iwram support in linkcmds
  • data and bss sections can be located in IWRAM .

How to run Multi-boot programs

You need linker cable(serial/parallel/USB) that support Multi-boot (in this example: Win2000 and EZF-Advance USB-2-GBA Cable):

  • First You have to compile program with MULTIBOOT (MultiBootAndIwramExample?).
  • Connect USB2 cable.
  • Start EZFA_Client.
  • Press GBA Select+Start buttons and turn on GBA power.
  • Select in EZFA_Client 'Load a ROM less...' button.
  • Select program that You have been compiled with MULTIBOOT define.

And thats all, You program should start in GBA as soon as its loaded.

How to Flash programs

There is many different types of Flash Linkers. With EZF-Advance you:

  • First select progrmas that You want to program into flash-card. After that its like in multi-boot case
  • Connect USB2 cable.
  • Start EZFA_Client.
  • Press GBA Select+Start button and turn on GBA power.
  • And select in EZFA_Client 'Burn all...' button.

How to use Keypad

Character input is done with GBA buttons, up-down-left-right/A/B/R/L/Select/Start

  • Select-button accept selected character
  • Start-button read CR (Enter)
  • A-button select 'A' character
  • B-button select 'Z' character
  • R-button select '1' character
  • L-button select '9' character
  • up-button increment character ('A'->'B')
  • down-button decrement character ('B'-'A')
  • left-button change set of character ('!'->'A'->'a')
  • right-button change set of character ('a'->'A'->'!')

More information

More information about GBA BSP can be found in GameBoyAdvanceBsp page.

Test Reports

4.6.99.2: [[User:MarkkuPuro]] reports that it runs fine on the GBASP. Reboot dont work.

4.6.99.4: 2006-11-19 [[User:MarkkuPuro]] reports that it runs(most of the tests/samples) on the GBASP and VBA emulator. Reboot dont work.

Last modified on Dec 26, 2016 at 1:59:00 AM Last modified on Dec 26, 2016, 1:59:00 AM