GBA.emu
GBA.emu emulates Nintendo Game Boy Advance. It reads 1 file, none of them required: it starts games without them.
About this profile
Technical notes
Android and Linux member of the EX Emulator series by Robert Broglia,
published as com.explusalpha.GbaEmu (GBA.emu/metadata/conf.mk:2,6,7) and
reached by ES-DE through its GBA-EMU find rule. VBA-M components are vendored
under GBA.emu/src/core (GBA.emu/metadata/conf.mk:8,
GBA.emu/src/main/AppMeta.cc:26) and driven by the app's own GBASys, video,
sound and IO layers. The build defines C_CORE, FINAL_VERSION, NO_PNG, NO_LINK
and NO_DEBUGGER (GBA.emu/CMakeLists.txt:14). Content is read from .gba and .mb
files, a .mb name sending the image to work RAM instead of the ROM area
(GBA.emu/metadata/conf.mk:5, GBA.emu/src/main/AppMeta.cc:31,
GBA.emu/, GBA.emu/).
The BIOS is the one file the user supplies and it carries no name of its own.
The picker takes any .bin or .rom and stores the chosen URI in biosPath
(GBA.emu/, GBA.emu/src/main/system.ccm:88,
GBA.emu/src/main/options.cc:50,79). loadContent reads the file whole and
throws unless it is exactly 16384 bytes (GBA.emu/),
the length CPUInit tests again before copying it and setting useBios
(GBA.emu/). Nothing else about the file is
examined: CPUIsGBABios, the extension test upstream passes to utilLoad, has no
caller here (GBA.emu/, upstream
src/core/gba/gba.cpp:5165-5176).
Without a file the app runs on the built-in myROM stub copied into the BIOS
area (GBA.emu/,3776-3778) and on the service call
implementations of gbaBios.cpp. useBios decides only whether an SWI enters
BIOS code or the HLE routine, and which register reset a boot performs
(GBA.emu/,4104-4112). Two settings gate the
read: the per-content Use BIOS tristate defaults to Auto, which follows the
global Default Use BIOS switch, itself off until the user turns it on
(GBA.emu/,165-174,
GBA.emu/).
The 473 entry override table is byte-identical to VBA-M's
src/libretro/gba-over.inc, and its bios column is dropped on arrival:
setGameSpecificSettings takes save type, save size, RTC and mirroring and
nothing more (GBA.emu/,
GBA.emu/), so BIOS use never follows from the game.
Per content the app writes and reads files named after the ROM: .sav backup
memory created full of 0xFF (GBA.emu/), .gqs states
(GBA.emu/), and a .clt cheat list it saves itself under
the cheats path (GBA.emu/,
GBA.emu/,2755). Under the patches path it
applies the first of .ips, .ups or .ppf that opens
(GBA.emu/). ui.png, gpOverlay.png and the shader
sources are drawn by the framework from the application bundle
(EmuFramework/,
EmuFramework/,
EmuFramework/).
VBA-M's own file entry points reach nothing in this build. CPULoadRom, the
battery, state, GSA snapshot and eeprom import functions and the EmulatedSystem
table sit inside #if 0 blocks (GBA.emu/,
1885-2134,4803-4869), CPUExportEepromFile and cheatsImportGSACodeFile keep no
caller (GBA.emu/,
GBA.emu/), and utilOpenFile, the call all of
them open files with, is implemented by no source in the build
(GBA.emu/, GBA.emu/). The
e-Reader reads no dotcode either, the tree carrying its header alone and the
three entry points being stubbed (GBA.emu/src/core/gba/internal/gbaEreader.h,
GBA.emu/).
1 file: 0 required, 1 optional. 1 has an HLE fallback. 1 more file comes with the app.
By kind: 1 BIOS and 1 game data.
In this collection: 1 in repo and 0 missing.
Optional
Section titled “Optional”gba_bios.bin optional in repo HLE fallback built-in fallback
Game Boy Advance BIOS
- System: Nintendo Game Boy Advance
- Picked by the user from any path, under any name ending in .bin or .rom. The only test is the length, and a file of another length aborts the load rather than falling back.
- Size: 16.0 KB (16,384 bytes)
- Collection copy:
bios/Nintendo/ Game Boy Advance/ GBA_bios.rom - Platforms:
gba_bios.bin: Batocera, KNULLI, Lakka, RetroArch, RetroBat, RetroPie, ROCKNIX.bios/gba_bios.bin: AmberELEC, EmuELEC, RetroDECK.gba/gba_bios.bin: Recalbox, RomM.GBA/boot.rom: MiSTer FPGA.GBA_bios.rom: BizHawk
Validation and source
- Validation: size
- Asked for by: this build
- Source:
GBA.emu/(read and size check) (this build),src/ main/ Main.cc:190-197 GBA.emu/(second check, copy, useBios) (this build),src/ core/ gba/ gba.cpp:3758-3778 GBA.emu/(picker and extension filter) (this build)src/ main/ EmuMenuViews.cc:485-510
Comes with the app
Section titled “Comes with the app”Motocross Challenge.7z comes with the app game data
Bundled homebrew game, listed under Bundled Content
- System: Nintendo Game Boy Advance
- Aliases:
MotocrossChallenge.7z - Opened from the application bundle by the name the build gives it, the Linux build dropping the space.
- Size: 648.6 KB, SHA1 d87747718c1a
Hashes and source
- SHA1:
d87747718c1aa06a9ddd8504b2581eb0034b754a - Asked for by: this build
- Source:
GBA.emu/(names) (this build),src/ main/ AppMeta.cc:32-33 EmuFramework/(this build),src/ gui/ BundledGamesView.cc:41 EmuFramework/(open and load) (this build)src/ gui/ BundledGamesView.cc:47
Next steps
Section titled “Next steps”- Get the files, for the setup in use
- Every system, and the files each one needs
- When a game does not start