Welcome to the FPC 4 GBA Initiative Site


Mission Statment:

        This site was created for the sole purpose of pushing towards a means of getting a workable version of Free Pascal that supports compiling for the GameBoy Advance platform and as a collaboration point of the information and work that has already been collected and put together. The files listed below are all meant to be free for use and are currerntly here in a work-in-progress format. All works have been authorized for such use and released of any restrictions that prevent us from getting a workable version of the Free Pascal compiler (aka FPC). Contributions are always welcomed and those that take part in the initiative also ask that if you do make any progress towards a compilable copy that you would be kind enough to share your finding with us so that we can post it here.
With Great Thanks,
Jason McMillen


Last Site Update: December 26th, 2006


News / Updates


FPC 4 GBA Project SiteFrancesco's knick-knacks Site (RSS Feed)
  • December 26th, 2006: Only weeks ago Francesco Lombardi has submitted changes to the Free Pascal compiler to add a target for the Nintendo DS platform based on his work on the GameBoy Advance platform. Just yesterday Francesco and I (Jason McMillen) have released a small Christmas demo that acts as a demonstration of what can be done so far with the new binaries now offered at his website. The only other previous examples show simple patterns and blank screens. In this tiny WIP demo we have put together shows background music, detailed background graphics, stylius input and simple sprites. The FPC 4 NDS project is really taking off fast!
  • October 3rd, 2006: Added News updates from Francesco's Site via RSS Feed. Also, added a link to the brand new, official 'FPC 4 GBA Game Programming Tutorial', your own extensive reference guide to writting your own software on the GBA platform.
  • June 1st, 2006: Free Pascal 2.1.x now officially has GameBoy Advance support included! Francesco has released a binary package of the GBA targeted port of FPC 2.1. This release was rewritten from scratch to be more compatible with the Free Pascal source. Future versions of Free Pascal will now permanently support the GBA target and Francesco himself has been added to the Free Pascal Team as the official GBA port developer. The 1st binary package is now available on the FreePascal.org site and Francesco's personal site. There is now a push for testing and improving of the standard RTL and units as well as a possible Nintendo DS branch target. ARM THUMB for ARM7 (and ARM9 for NDS) still needed for full GBA target hardware support.
  • 2011.02.24 - FPC 4 WII
    I have spent a bunch of hours of my free time adding to free pascal compiler a brand-new target: the Nintendo Wii. The compiler works and spits out .dol executables; the RTL, is an adaption from the NDS one, but works too. Yesterday I have committed the libogc to the fpc SVN repository and some examples that show how things work. This week-end I'll post on the fpc wiki some more infos to show how to build all stuff.
  • 2010.11.13 - Free Pascal Compiler 2.4.2 released
    ...and, of course, fpc4nds/fpc4gba has been released too. Now it is compatible wit devkitARM r32 and libnds 1.4.8, so please update your dkA packages.What's new? Among other things, many compiler bugfixes, Delphi 2006 like for..in support, support for sealed and abstract class modifiers. Oh! And a brend-new libndsfpc chm reference file too!Get it from
    http://www.freepascal.org/down/arm/nds.varand
    http://www.freepascal.org/down/arm/gba.var
  • XML error: not well-formed (invalid token) at line 27