aboutsummaryrefslogtreecommitdiffhomepage
path: root/Cart_Reader/GBA.ino
AgeCommit message (Collapse)Author
2022-11-12Add Voltage Selection ModuleRemy Starshade
2022-10-31Fix reading/writing 4MB HiROMsanni
HiROM starts at bank 192 and has 64 banks so byte variable currBank overflows.
2022-10-31All: Replace print_Error(*, boolean) calls with print_{,Fatal}Error(*)Vincent Pelletier
Also, make print_FatalError(*) independent from print_Error(*). Also, factorise common parts of print_Error(*). Frees 2336 bytes of program space and 5 bytes of global ram space.
2022-10-29GBA.ino: Get rid of unused globalVincent Pelletier
2022-10-29GBA.ino: Get rid of calcChecksumStr as a globalVincent Pelletier
Frees 150 bytes of program space and 5 bytes of global ram space.
2022-10-28Auto formatsanni
2022-10-28All: Factorise title generation from cart.Vincent Pelletier
Fix out-of-bound access when first byte is not an ascii printable character. Reduces program space use by 480 bytes.
2022-10-28GBA.ino: Reduce gbaMenu size.Vincent Pelletier
Replace switch blocks which produce one output with const tables. Use functions instead of repeating code. Move common initial and final statements outside of blocks. Also, do not erase/flash second bank on dual-bank chips when the first one had failures. This saves about 520 bytes of code and increases ram use by 12 bytes.
2022-10-28All: Factorise code seeking a file back N linesVincent Pelletier
This saves 890 bytes of program space.
2022-10-28All: Use f.seekCur(x) instead of f.seekSet(f.curPosition() + x)Vincent Pelletier
Saves 450 bytes of program space.
2022-10-28All: Resolve all compiler and linker warningsVincent Pelletier
No functional change intended.
2022-10-28All: Make flashid an integerVincent Pelletier
flashid (almost) always contains the hexadecimal representation of two bytes, which then means it gets compares with strcmp, which in turn need another string argument. Instead, make it an integer, removing the need to call strcmp. Add a separate string representation for printing purposes (maybe this can be avoided by having the print function format it when needed ?). The only apparent case where flashid is not an hexadecimal representation of a pair of bytes is when N64 clears it to "CONF". Set flashid to zero this case. This saves about 500 bytes of program space and 200 bytes of ram.
2022-10-28https://github.com/sanni/cartreader/issues/574#issuecomment-1286956251Vincent Pelletier
2022-10-13Move to Arduino IDE 2.0.0 (different auto formatting, no code changes)sanni
2022-10-08V10.1 Move HW1/2/3 to same display lib as HW4/5sanni
... bugs are to be expected :D
2022-10-04Don't log manual mapper selection to file for NES/GBAsanni
2022-09-28Find Game Serial for Game BoyLesserkuma
2022-09-28Merge branch 'master'Lesserkuma
2022-09-27Fix Typosanni
2022-09-27Update GBA databasesanni
2022-09-25Merge branch 'master'Lesserkuma
2022-09-25UI improvements for GB, GBA, N64, SNESLesserkuma
2022-09-25Add support for Benesse Pocket Challenge W Module (thx to skaman)sanni
2022-09-24Update to displaying full ROM title on SNES, N64, GB, GBALesserkuma
2022-09-23Display full ROM title for GB and GBALesserkuma
2022-08-03Add back option to dump headerless NES ROMsanni
2022-07-24Add support for missing GBA flash save chips (Atmel AT29LV512, Macronix ↵Lesserkuma
MX29L512, Panasonic MN63F805MNP, SANYO LE26FV10N1TS)
2022-07-07Break out of GBA database loop once ID is foundsanni
thx to stewartspicer
2022-07-07Add no-intro database to NESsanni
This is just a beta release, stuff might be broken.
2022-06-23Add files via uplpadsanni
2022-06-21Add CRC32 and filenames to SNES databasesanni
2022-06-20Add progress bar to GBAsanni
2022-06-20Add CRC32 and filenames to GBA databasesanni
2022-06-16Copy latest log to dump dirsanni
2021-10-26Fix Led and missing word wrapsanni
2020-10-28V5.5: Reduce memory usage in Filebrowsersanni
2020-07-05add #ifdef enable_XXX check to each modulejiyunomegami
2019-12-21V4.4: Add ST M29W128GH GBA reprosanni
Thanks to xybots for testing
2019-12-20Update GBA.inosanni
2019-10-24Add support for Intel PC28F256M29Phil Eichinger
Tested with 2 repro carts
2019-09-27Set eeprom location for folder number to 0 againsanni
2019-08-28n64_speedup: roughly double n64 dumping performance by using the 1024 byte ↵Robert Neumann
file buffer and combining the checksum and dumping code; also some cleanup
2019-08-28strings_to_flash: conserve ~ 800 byte SRAM by putting menu strings in ↵Robert Neumann
progmem. Free bytes now: ~ 4000
2019-08-27arduino_reset: replace the assembler jmp 0 reset method with resetArduino() ↵Robert Neumann
that uses the watchdog timer to reset the device. This is the preferred method, as it initializes the device more correctly.
2019-02-18V2.8: Fix GBA Sram issuesanni
Thanks to Cyber_Akuma
2018-10-14Add files via uploadsanni
2018-05-05V1.0: Change versioning to the more common #.# formatsanni
2017-11-24V30F: Fix writing MX29LV160sanni
Reset pin needs to be connected to Reset of SNES slot.
2017-10-07V28I: Added an alternative ID for the Fujitsu MSP GBA Reprossanni
Fujitsu MSP55LV128 and Fujitsu MSP55LV128N are the same flashrom but they have different ID's ...
2017-09-18V28E: Added some untested flashrom types for GBA and N64sanni
I don't have them myself so I can't test but maybe others can. Flashrom Programmer: Macronix MX29LV320 and MX29LV640 (connected as 16bit flashrom in 8bit mode) GBA: Intel 4400L0ZDQ0 (Only using the first 32MB) N64: Fujitsu MSP55LV100S and Macronix MX29LV640 (Fujitsu might have a different sector size)