Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




Loading

Game Boy Advance (GBA) Port

Posted by dave m on February 10, 2008
Hi, I've just managed to get FreeRTOS 4.7.0 running on a Nintendo GBA-SP (also works on a DS). My demo just fires off two threads, one of which prints the tick count every second or so, while the other pokes data into the screen. I'll have to start adding code to handle various devices, but it doesn't look like it's that hard (so far!).

Anybody interested in the patches?

RE: Game Boy Advance (GBA) Port

Posted by Richard on February 10, 2008
That sounds fun. Excuse my ignorance, but what processor does the GBA use? Some form of ARM at a guess?

Regards.

RE: Game Boy Advance (GBA) Port

Posted by saiberion on February 10, 2008
Your guess is right.

As far as I know and found out the GBA itself has an ARM7TDMI core at about 16.8 MHz.
The nintendo DS has 2 cores. One ARM946E-S at 67 MHz and an ARM7TDMI at 33 MHz.

But I don't know the exact technical specifications.

RE: Game Boy Advance (GBA) Port

Posted by dave m on February 10, 2008
Yes, it's an ARM7TDMI. There's a ton of info about it, and I'm pretty sure I once saw the actual manufacturer / part number, but I can't find it now. It looks like there was once a very active homebrew community, but it seems to have moved on to the DS, or to have gotten old / married / busy and gone away. <a href="http://nocash.emubase.de/gbatek.htm">Here's</a> the best collection of info I've found in one web page.

There's a <a href="http://sourceforge.net/projects/vba/>good emulator, VisualBoyAdvance</a>, and you can still get programmable cartridges for real hardware. I'm planning to use FreeRTOS on an old GameBoy to control a floor radiant heat system -- I need to monitor several OneWire thermometers and control a relay to switch on pumps &amp; so forth.

I couldn't figure out how to upload stuff to the Files area, so I put my patches <a href="http://www.mersenne.com/downloads/FreeRTOS-GBA.tar.gz">here</a>. Includes a compiled copy of the demo program ("demo.gba") so you can try it on the emulator without setting up a toolchain. Note that the compilation process requires a final preparation step ("gbafix") where some magic numbers are poked into the binary header. You can get a copy of gbafix <a href="http://darkfader.net/gba/files/gbafix.zip">here</a>.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists