Balint Kovacs
5c2ab6958c
I found a new type of flash chip on a bootleg cart
2021-03-31 17:01:32 +02:00
Balint Kovacs
7af76b91bb
Detect save size by the last byte of JEDEC id, if possible
...
This is my second attempt to resolve #553
Props to @wwylele for pointing out that the last byte of the JEDEC ID is
just the exponent of the size (base 2)
2021-03-31 17:01:31 +02:00
Balint Kovacs
dfb2dff352
Some groundwork for CARD2 save support
2021-03-18 00:28:44 +01:00
Gabriel Marcano
d010f2858b
Remove trailing white space
...
- Removed trailing whitespace from all source code files (.c, .h. and
.s) and the README.md
2020-08-26 23:01:58 +02:00
luigoalma
d27cfc71e1
Indentation fixes
...
Indentation fixes everywhere
(mostly anyway under arm9/source/)
And some other tab to spaces
2020-03-28 07:05:42 -03:00
Bálint Kovács
2e463c6b84
Change timeout on CardSPIWaitWriteEnd ( #557 )
...
Allows long waits for erase on things like Art Academy, but fails faster
elsewhere. In particular initialization fails almost instantly.
2019-10-26 09:12:18 -03:00
Balint Kovacs
2f24f37e7b
Temporarily disable IR carts
...
And massively simplify chip detection
2019-10-11 16:24:08 +02:00
Balint Kovacs
c51d8a7191
Fix Art Academy save writing
...
Apparently, at least in my copy, the flash chip has a chance to fail a
PP command, and just never complete it. So we just try again.
2019-10-11 16:24:08 +02:00
Balint Kovacs
aea79aa634
Cut back on card definitions
...
Saves 400 - 440 bytes of .data
2019-10-11 16:24:08 +02:00
Balint Kovacs
bef427dfdb
Code formatting for card_spi.c
2019-10-11 16:24:08 +02:00
Balint Kovacs
84d5f800a9
Get rid of card_eeprom.c, move spi.c to card_spi.c
...
It was bugging me that there was two spi.c's
2019-10-11 16:24:08 +02:00