Commit Graph

71 Commits

Author SHA1 Message Date
sanni
1d57169447 Add support for Demons of Asteborg (thx to skaman) 2023-01-04 15:35:13 +01:00
sanni
d977b14cf4 Fix MD Zero Wing (E) (thx to jaffa225)
More info: https://github.com/sanni/cartreader/issues/664
2022-12-20 10:31:35 +01:00
sanni
46dd333bd4 Fix NES mapper selection 2022-11-18 10:46:13 +01:00
Ancyker
e806b39658
Merge pull request #1 from sanni/master
Update with master
2022-11-12 14:15:19 -05:00
Remy Starshade
aee632642d Add Voltage Selection Module 2022-11-12 14:13:22 -05:00
scrap-a
ca23277b5a Fix Sonic & Knuckles 2022-11-13 03:05:19 +09:00
Vincent Pelletier
f07f6f9025 All: Replace print_Error(*, boolean) calls with print_{,Fatal}Error(*)
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-31 08:52:33 +00:00
sanni
a8a981e137 Auto format 2022-10-28 15:02:51 +02:00
Vincent Pelletier
10061beaf5 MD.ino: Move some globals to getCartInfo_MD locals.
Also, bypass sdBuffer when it was the directory copied to another buffer.
Also, factorise yet another pair of loops copying rom name.
This frees 59 bytes of global ram space.
2022-10-28 05:29:44 +00:00
Vincent Pelletier
a555f2117f All: Resolve all compiler and linker warnings
No functional change intended.
2022-10-28 05:29:20 +00:00
Vincent Pelletier
e7ef7fd4bd All: Make flashid an integer
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-28 05:29:20 +00:00
Vincent Pelletier
3fcd1a808d https://github.com/sanni/cartreader/issues/574#issuecomment-1286956251 2022-10-28 05:29:20 +00:00
sanni
57f2833322 Update MD.ino 2022-10-16 14:51:15 +02:00
sanni
4badfff458 Move to Arduino IDE 2.0.0 (different auto formatting, no code changes) 2022-10-13 09:49:03 +02:00
sanni
6659b84d9d Add support for Benesse Pocket Challenge W Module (thx to skaman) 2022-09-25 10:36:28 +02:00
sanni
96f984c1ac Add 32x database 2022-09-18 20:43:18 +02:00
sanni
4c8cfcbae6 Fix dumping Phantasy Star IV 2022-08-24 19:24:30 +02:00
sanni
f002e40aa6 Add back option to dump headerless NES ROM 2022-08-03 12:14:32 +02:00
sanni
0a4a4d0039 Add no-intro database to NES
This is just a beta release, stuff might be broken.
2022-07-07 00:15:13 +02:00
sanni
928d82be86 Update MD.ino 2022-06-23 11:01:38 +02:00
sanni
44d853e1bb Add CRC32 and filenames to SNES database 2022-06-21 13:29:19 +02:00
sanni
fe5264b8ba Add CRC32 and filenames to GBA database 2022-06-20 22:36:53 +02:00
sanni
196050257b Add filenames to N64 database 2022-06-17 23:57:29 +02:00
sanni
c9a9e5872e
Add progressbar to SMS 2022-06-16 17:57:00 +02:00
sanni
8b96d250bd Add MD database 2022-06-16 17:17:16 +02:00
sanni
fac6f8eab2 Copy latest log to dump dir 2022-06-16 15:15:43 +02:00
sanni
dfec64917d V7.2: LCD bugfix #2 2021-11-17 21:31:18 +01:00
sanni
21736a241a V7.2: LCD bugfix 2021-11-17 20:13:24 +01:00
sanni
5a3b311feb Fix Led and missing word wrap 2021-10-26 17:13:42 +02:00
sanni
a981bb0c3e Make clockgen calibration optional 2021-10-14 09:53:07 +02:00
scrap-a
f6a3eb65a8 fix typo and comment 2021-09-22 01:18:52 +09:00
scrap-a
96743c7a48 Add support for Sonic & Knuckles Lock-on games 2021-09-20 21:45:59 +09:00
sanni
5ee9997ea0 Fix Megadrive Zero Wing (J)
thx to tamanegi_taro
2020-12-10 12:04:25 +01:00
sanni
9eca87d975 V5.5: Reduce memory usage in Filebrowser 2020-10-28 18:44:13 +01:00
jiyunomegami
80c19a0bc4 fix verifySram_MD and writeSram_MD 2020-07-13 19:23:51 +09:00
jiyunomegami
83b53b47bd Correct comment about segaSram16bit 2 2020-07-12 21:14:58 +09:00
jiyunomegami
d07d80a4b7 pad the extra space like the retrode does when segaSram16bit is 2 2020-07-12 20:21:38 +09:00
jiyunomegami
f3b2fe8252 SRAM detection fix for Psy-o-blade, segaSram16bit setting in md.txt 2020-07-12 00:14:37 +09:00
jiyunomegami
e73ee4b171 modular compilation fixes 2020-07-11 20:39:12 +09:00
sanni
4eaac930ed Update README.md 2020-07-06 08:33:49 +02:00
jiyunomegami
29093b1bf3 add #ifdef enable_XXX check to each module 2020-07-05 00:07:14 +09:00
jiyunomegami
82ea59b942 add options.h 2020-07-04 22:37:02 +09:00
jiyunomegami
b0d8bf15ee add enable_XXX define for each module 2020-07-04 21:02:34 +09:00
jiyunomegami
169b853f1b saveType 5 for Dragon Slayer Eiyuu Densetsu 2020-07-04 02:01:03 +09:00
jiyunomegami
9a77da1e66 Only use the lower half of bramCheck.
Was reading 0x0104 and 0x0704 from a Japanese RAM cart,
when B2 /MRES and B27 /VRES were not connected.
2020-07-03 23:48:16 +09:00
jiyunomegami
c9938b177f print MD bramCheck and chksum using print_Msg_PaddedHexByte 2020-07-03 22:19:47 +09:00
sanni
b24f4c0b01 Upload Files
More info:
Also added Pocket SNES PCB by Niltonn
https://forum.arduino.cc/index.php?topic=158974.msg4381465#msg4381465
2019-11-27 10:02:50 +01:00
sanni
087585f8f6 Add cycle cart for MD multi game carts
Thanks to BASSIX
2019-10-31 08:43:10 +01:00
sanni
d4935ef326 Change var index to type int 2019-10-17 17:14:08 +02:00
sanni
ee730623fc Add Realtec Mapper to MD.ino thx to skaman 2019-09-29 12:33:02 +02:00