Files
rebbarb/.gitignore
T
Roflin d8725392a5 gc_bba_test: fix inverted EXI error checks; builds clean
libogc's EXI functions return '1 on success, <=0 on error', but every call
site tested '== 0'.  A -1 error return therefore read as success, so a failed
EXI_Lock or EXI_Select would fall through and the subsequent transfer would
produce garbage reported as a misleading test failure rather than an EXI
error.  All six call sites now test <= 0.

Also retries EXI_Lock for ~100 ms: it fails outright rather than blocking when
another subsystem holds the channel, and Swiss or a libogc driver may hold it
briefly -- without the retry a transient collision surfaces as a test failure.

Builds clean with devkitPPC 16.1.0 / GCC 16, no warnings: 172 KB .dol.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-10-03 11:24:47 +02:00

42 lines
698 B
Plaintext

# Generated FPGA build artifacts (regenerate with: python -m exi_bba.synth)
build/
# Simulation waveforms (regenerate by running the testbenches)
*.vcd
# Python
__pycache__/
*.pyc
*.pyo
.venv/
venv/
# KiCad
fp-info-cache
*.bak
~*.lck
*-backups/
_autosave-*
.history/
hardware/re-bba-rb/gerbers
hardware/sp1_insert/gerbers
hardware/re-bba-rb/production
*-bom.csv
*-cpl.csv
*.rpt
# FT2232H EEPROM backup written by flash_ftdi_eeprom.py at runtime
hardware/re-bba-rb/eeprom-backup.bin
hardware/re-bba-rb/re-bba-rb-eeprom.bin
# Editor / OS cruft
.DS_Store
*.swp
.history/
build_w5100test/
# GameCube test app build products
gc_bba_test/build/
gc_bba_test/*.elf
gc_bba_test/*.dol
gc_bba_test/*.map