Commit Graph

472 Commits

Author SHA1 Message Date
sanni
5f8e8e8d28 Fix LED not blinking in Serial Monitor 2022-02-08 14:12:40 +01:00
sanni
5cb6574868
Update FLASH.ino 2022-01-19 13:32:15 +01:00
sanni
0081ad7b2f flash ID bugfix 2022-01-19 13:15:59 +01:00
sanni
92e890f608 Quickfix 2022-01-13 17:28:55 +01:00
sanni
eabb658be8 Clear OLED screen buffer at power on and reset 2022-01-13 17:22:16 +01:00
sanni
6a830e651d Print first 40 bytes if flashrom is unknown 2022-01-13 17:07:58 +01:00
sanni
47812606aa Improve compatibility with FRAM mods 2021-12-29 11:55:27 +01:00
sanni
aa5708c79e Update README.md 2021-12-16 20:14:58 +01:00
majorpbx
78295be022 GameShark Dump Compatability Update
This has been confirmed to allow dumping v1.07, v1.09, v2.0-2.21, v3.2-3.3 with the below flash memory chips. Versions not listed may not work correctly or even be supported.

SST 29LE010
SST 28LF040
AMTEL AT29LV010A
SST 29EE010
2021-12-10 23:45:42 -05:00
scrap-a
635ad45b66 Fix for Fantasy Zone (J) (V1.0) 2021-12-09 01:21:01 +09:00
sanni
bda18a4a8b Fix text 2021-11-29 20:11:44 +01:00
sanni
45f46704c9 Fix status LED 2021-11-29 14:32:37 +01:00
sanni
cac5392a07 V7.3: more LCD bugfxes 2021-11-29 13:10:04 +01:00
sanni
8a40898544 Add S29GL064M to flash.ino
Thanks to BASSIX
2021-11-27 19:46:02 +01:00
sanni
800b990663 Update README.md 2021-11-20 12:36:31 +01:00
sanni
eef1c6e8cc Add check if Clockgen is working 2021-11-18 14:55:50 +01:00
sanni
ed3663a21f Fix Progressbar line break on LCD 2021-11-17 21:49:20 +01:00
sanni
7d49814fee Update Cart_Reader.ino 2021-11-17 21:33:50 +01: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
2d165f93a4 Update Cart_Reader.ino 2021-11-15 21:18:51 +01:00
sanni
aa0d9e496b Prepare for new hardware version 2021-11-15 12:34:18 +01:00
sanni
3779833004 Update options.h 2021-11-13 12:06:42 +01:00
CaitSith2
bbe6e3cceb Add Clock generator calibration option 2021-10-28 14:26:10 -07:00
sanni
3f4d8e9728 V7.1 2021-10-27 21:28:41 +02:00
sanni
aa3ea8fa8c Add second page to main menu for LCD 2021-10-27 20:59:57 +02:00
sanni
8cb11822d1 Reduce LCD contrast and LED brightness 2021-10-26 22:19:10 +02:00
sanni
147e8edeee Add 10 second button press for rotary encoder 2021-10-26 21:57:21 +02:00
sanni
4cc94fd846 Fix filebrowser for LCD 2021-10-26 19:26:59 +02:00
sanni
5a3b311feb Fix Led and missing word wrap 2021-10-26 17:13:42 +02:00
sanni
d64ce10391 Remove bitmaps 2021-10-26 12:38:29 +02:00
sanni
852cb8f047 Port ControllerTest to MKS MINI12864 2021-10-26 11:27:07 +02:00
sanni
dfe6624e76 Make selection dot bigger 2021-10-25 22:06:08 +02:00
sanni
197bd3fad9 bugfix 2021-10-25 18:03:16 +02:00
sanni
05deb817ac V7.0: Add basic support for MKS MINI12864 V3
https://www.aliexpress.com/item/1005003098864693.html
2021-10-24 00:41:18 +02:00
majorpbx
7a5d3f91cd Update README.md
Added RTClib link to the Readme.
2021-10-17 22:05:20 -04:00
sanni
a981bb0c3e Make clockgen calibration optional 2021-10-14 09:53:07 +02:00
sanni
0c42af0941 Make slow crc calculation default for N64 2021-10-13 21:45:15 +02:00
sanni
1d55ee1b21 Update Cart_Reader.ino 2021-10-02 08:47:57 +02:00
sanni
d5b1d87df4 Merge pull request #265 from majorpbx/patch-6
Update Cart_Reader.ino
2021-10-02 08:45:42 +02:00
sanni
19b81a44d2 Merge pull request #264 from majorpbx/patch-5
Update N64.ino
2021-10-02 08:45:33 +02:00
sanni
954e71089a Merge pull request #263 from majorpbx/patch-4
RTC.cpp
2021-10-02 08:45:20 +02:00
majorpbx
451daf1502 Update Cart_Reader.ino
Added support for SD Card Add-on to use RTC for Creation/Modification Date/Time stamps.
Added code to support RTC such as startup, automatically updating time based on date compiled, and allowing for any script to add a Date/Time stamp.
2021-10-02 01:29:37 -04:00
majorpbx
f1c6d29824 Update N64.ino
Added CRC 1 and 2 reading support for N64 ROMs.
Added RTC support for N64 ROM dumps.
2021-10-02 01:25:44 -04:00
majorpbx
63f54ffeb2 RTC.cpp
To complete RTC support for DS3231 only at this time.
2021-10-02 01:18:21 -04:00
majorpbx
c30047c5f6 RTC.h
To add support for RTC to all scripts for this project.
2021-10-02 01:16:58 -04:00
sanni
cc1668a2e3 Update list of contributors 2021-10-01 12:07:33 +02:00
majorpbx
2492f7f3ae Update options.h
Added definition for RTC_installed and left it default disabled. Enabling will not hurt anything but without an RTC it will be pointless.
2021-09-26 16:14:03 -04: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
b63fb0584b Update Cart_Reader.ino 2021-09-03 10:21:02 +02:00
PsyK0p4T
f4fc7fa6ce Update NGP.ino
New feature added, save flash chip report file to SD containing:
- software basic info (game, version...)
- chip IDs (maker, device code)
- memory sectors protection status (game and save data)
2021-08-26 00:52:28 +02:00
PsyK0p4T
edc238599f Update NGP.ino
Small improvments
2021-08-19 21:09:19 +02:00
PsyK0p4T
a6f3e8c90b Update NGP.ino 2021-08-19 17:38:16 +02:00
PsyK0p4T
8fb0a2b11a Update NGP.ino
- Manual rom size selection added before dumping when flash chip is unknown
- Code display rearranged
2021-08-18 01:00:07 +02:00
PsyK0p4T
3d642ba8a2 Update NGP.ino
- Comments and wordings added
- 32Mbits games support added
- Display chip ID in case of unknown values are found
2021-08-17 01:23:33 +02:00
sanni
2ff59bffb9 Update N64.ino 2021-08-04 13:15:38 +02:00
sanni
2a3963cb64 Update options.h 2021-08-03 21:12:36 +02:00
sanni
6dee8d67cb Update Cart_Reader.ino 2021-08-03 17:29:39 +02:00
sanni
d825da3b10 Update Cart_Reader.ino 2021-08-03 17:27:35 +02:00
sanni
84252079fe Update Cart_Reader.ino 2021-08-03 17:21:02 +02:00
sanni
9f675be766 Update Cart_Reader.ino 2021-08-03 13:04:40 +02:00
sanni
8132fcab78 Create n64log.txt in /N64/ROMS/ 2021-08-03 10:16:12 +02:00
sanni
92b7b7bdef V6.6 Add slow CRC32 calculation option for N64
In option.h add // in front of #define fastcrc and remove // in front of #define slowcrc to change CRC32 calculation to slow.

// Define CRC method for dumping N64 ROMs
//#define fastcrc //crc will be calculated during dumping from memory
#define slowcrc // crc will be calculated after dumping from SD card
2021-08-02 18:18:34 +02:00
sanni
07ec1f121a Change N64 CRC Error message 2021-08-01 23:33:59 +02:00
Dakkaron
081a484629 Merge branch 'sanni:master' into master 2021-07-22 15:47:58 +02:00
Dakkaron
3e18f4f28c Removes write errors 2021-07-22 15:16:38 +02:00
Dakkaron
80ff348b03 Typo 2021-07-22 14:42:01 +02:00
sanni
f8cf2b69a8 Update GB.ino 2021-07-22 10:18:25 +02:00
sanni
b5fd53a39d V6.5 Add GB Flash Submenu 2021-07-22 10:13:13 +02:00
sanni
5cd66122be Merge pull request #183 from Dakkaron/master
GB/GBC: Unified flashing for MBC3/MBC5 and added option to automatically flash ROM and SAVE
2021-07-22 10:02:33 +02:00
Dakkaron
78d6e9dde3 Adds romBanks <= flashBanks check 2021-07-21 23:02:45 +02:00
Dakkaron
12b3c7ebe0 Fixes flashing MBC3; flash device id detection replaced by feature detection, adding compatibility for many repro flash carts. 2021-07-21 22:46:34 +02:00
sanni
727b49f4e6 Update N64.ino 2021-07-21 16:22:57 +02:00
PsyK0p4T
dc2ea92496 Update NGP.ino
small fixes
2021-07-11 10:55:23 +02:00
Dakkaron
cf489d1b40 Merge branch 'sanni:master' into master 2021-07-10 00:31:49 +02:00
PsyK0p4T
18128f1063 Update NGP.ino
4M, 8M, 16M chips support added
RomVersion detection fixed
SystemType detection (NGP Monochrome or NGP Color) added
2021-07-09 00:24:21 +02:00
Dakkaron
16af53b613 Possible fix for flashing MBC5. Shouldn't affect MBC3. 2021-07-07 13:48:16 +02:00
Dakkaron
233b89fc91 Now reports when no save has been found on "Flash ROM and save"
(cherry picked from commit 9cf556d981b218c1bd7f56b30cc6afada593a0cf)
2021-07-02 14:19:23 +02:00
Dakkaron
f554adccce Combines "Flash MBC3" and "Flash MBC5"; adds "Flash cart and write latest save" 2021-07-02 12:27:15 +02:00
Dakkaron
34e7f90d70 Extracts user interaction from writeSRAM_GB() and writeFlash_GB() to allow for more flexibility 2021-07-02 08:11:44 +02:00
sanni
9fb439a27f Update version number 2021-06-09 11:30:55 +02:00
sanni
527f3562ed V6.4: Add ExLoRom and ExHiRom flash options
- LoRom (P0) will write up to 8MB starting from file 0x0 to flashrom 0x0.

- HiRom (P0) will write up to 4MB starting from file 0x0 to flashrom 0x0.

- ExLoRom (P1) will write the first 4MB starting from file 0x0 to flashrom 0x400000. And then a second block up to 4MB from file 0x400000 to flashrom 0x0.

- ExHiRom (P1) will write the first 4MB starting from file 0x0 to flashrom 0x400000. And then a second block up to 4MB from file 0x400000 to flashrom 0x0.
2021-06-09 11:28:39 +02:00
sanni
78b5f7cb10 Update Cart_Reader.ino 2021-06-02 12:30:59 +02:00
sanni
96ed5efbf4 Add chip erase for unknown N64 repro 2021-05-27 17:50:19 +02:00
sanni
6f849921bb V6.3: Add sector size menu for N64 repro 2021-05-27 15:21:24 +02:00
sanni
f96f854b4e Add 64 byte write buffer for N64 repro 2021-05-26 17:07:26 +02:00
sanni
0c99780c5d V6.2: Add option to manually config N64 repro 2021-05-26 16:29:57 +02:00
sanni
c343094966 Add option to force A23 to high while flashing HiROM repros
A23-> low enables P0 and A23->high enables P1 flashrom.
2021-05-12 17:42:49 +02:00
Kreeblah
2c6c1c7f07 Updated snes_clk for exFAT changes 2021-04-28 00:44:11 -07:00
sanni
e78d6e99e0 V6.1: Add support for exFAT SD cards (>32GB) 2021-04-26 18:20:30 +02:00
sanni
d7cc26c560 V6.0: Update SdFat to Version 2 2021-04-26 10:14:37 +02:00
sanni
72fa1ea8b4 V5.7: Add Clockgen option to N64 Eeprom
Uncomment #define clockgen_installed in options.h and switch CLK1 switch to ON position. With Adafruit clockgen the eeprom now runs at the correct 2Mhz.
2021-04-15 16:26:29 +02:00
sdhizumi
540542ab23 SMS: add a strange checksum from The Pro Yakyuu '91 (Game Gear). 2021-04-11 00:21:08 +09:00
sanni
202057879e Fix Ramtron GB Save read/write
- [Ramtron datasheet](https://github.com/sanni/cartreader/files/6263159/001-86207_FM18W08_256-Kbit_32_K_8_Wide_Voltage_Byt-476756.zip)
- [Write/Read capture](https://github.com/sanni/cartreader/files/6263148/write_read_gameboy_sram.zip) of the changed GB.ino from [Logic Analyzer](https://downloads.saleae.com/logic2/Logic+Setup+2.3.24-master.exe)
2021-04-06 14:20:32 +02:00
Kreeblah
8c21071b99 Corrected type 2021-02-07 23:07:02 -08:00
Kreeblah
cf477ee629 Implemented custom atoi methods, as the included one only has 16-bit precision 2021-02-07 20:34:39 -08:00
Kreeblah
97e5e21962 Switched to 32-bit sizes 2021-02-07 19:07:47 -08:00
Kreeblah
ebcaeee36b Corrected miscalculated CRC32 for headered NES ROMs 2021-01-31 23:53:51 -08:00
Kreeblah
ab9490b880 Output unheadered NES ROMs as CART.bin 2021-01-31 17:12:40 -08:00
sanni
1bf1d2b720 Up version number and default to clock correction factor 0 2021-01-31 13:31:23 +01:00
Kreeblah
b5847b2ab1 Additional checks to reduce the possibility of user error with snes_clk.txt clock offset file. 2021-01-31 00:16:16 -08:00
Kreeblah
b90aa90131 Fixed return value 2021-01-26 23:09:17 -08:00
Kreeblah
c471a9161e Added attempt to load SNES clock offset from /snes_clk.txt before defaulting to -16000 2021-01-26 23:05:25 -08:00
Kreeblah
fb7bf59668 Added additional comments about functions returning pointers which need to be freed after use 2021-01-26 01:29:37 -08:00
Kreeblah
dcafe9b5a9 Tested and verified NES 2.0 header functionality 2021-01-26 00:16:08 -08:00
Kreeblah
01402abfa2 Corrected syntax 2021-01-25 15:06:58 -08:00
Kreeblah
592fa7b83e Corrected syntax 2021-01-25 15:04:33 -08:00
Kreeblah
8077e1e21b Corrected syntax 2021-01-24 14:20:05 -08:00
Kreeblah
12b4f81c9f Added additional check for header retrieval 2021-01-24 02:15:25 -08:00
Kreeblah
77cbb25b67 Corrected file reading calls 2021-01-24 02:13:58 -08:00
Kreeblah
ed293c2628 Simplified char to nibble function 2021-01-24 02:08:02 -08:00
Kreeblah
358ebf88f4 Initial code for NES 2.0 database support 2021-01-24 01:44:14 -08:00
sanni
5ee9997ea0 Fix Megadrive Zero Wing (J)
thx to tamanegi_taro
2020-12-10 12:04:25 +01:00
sanni
1b74a17813 Update Cart_Reader.ino 2020-11-03 11:19:16 +01:00
sanni
9eca87d975 V5.5: Reduce memory usage in Filebrowser 2020-10-28 18:44:13 +01:00
jiyunomegami
1e3833fe8d retrode SMS plugin support, SMS cart size detection 2020-10-18 02:12:09 +09:00
jiyunomegami
d7a133188d actually recheck DQ 7 in busyCheck29F032 2020-10-17 22:48:35 +09:00
sanni
4e590f7114 Merge pull request #54 from jiyunomegami/master
Merge commits by jiyunomegami
2020-08-19 20:44:57 +02:00
splash5
64173ad2ed Add more developerId
Fix some game could not dump properly
2020-08-16 00:05:58 +08:00
jiyunomegami
a3417eeb23 Non swapped HuCARD adapter support. Changed Tennokoe Bank support to read/write files for each 2KB bank, one at a time. 2020-08-14 19:05:27 +09:00
jiyunomegami
2096ec7597 writeFlash29F032: Retry writing, for when /RESET is not connected (floating) 2020-08-14 19:03:42 +09:00
jiyunomegami
712c4cc83d busyCheck29F032 changes to match the datasheet 2020-08-14 19:02:37 +09:00
jiyunomegami
4c6fb7bd8c Detect Flash ID 04D5 MBM29F080C 2020-08-14 18:58:20 +09: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
39be20d32b SMS SRAM save data writing 2020-07-05 01:42:05 +09:00
jiyunomegami
29093b1bf3 add #ifdef enable_XXX check to each module 2020-07-05 00:07:14 +09:00
jiyunomegami
cb938a65bc SMS retrode mode toggle and SRAM save data reading 2020-07-05 00:05:06 +09:00
jiyunomegami
82ea59b942 add options.h 2020-07-04 22:37:02 +09:00
jiyunomegami
6d0ddda980 Make the retrode mode work after using the normal mode by accident 2020-07-04 22:33:50 +09:00
jiyunomegami
b0d8bf15ee add enable_XXX define for each module 2020-07-04 21:02:34 +09:00
jiyunomegami
d22f35b2ef use local sramBanks variable in SNES.ino 2020-07-04 20:57:54 +09:00
jiyunomegami
bc3dd3dd13 Retrode SMS/GG adapter support 2020-07-04 19:16:14 +09:00
jiyunomegami
c385323ce3 mapper 26 Madara support 2020-07-04 02:01:35 +09:00
jiyunomegami
169b853f1b saveType 5 for Dragon Slayer Eiyuu Densetsu 2020-07-04 02:01:03 +09:00
jiyunomegami
61b439e09a add print_Msg_PaddedHex32 function 2020-07-04 01:25:52 +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
jiyunomegami
b1ad42bded add print_Msg_PaddedHexByte function 2020-07-03 22:15:26 +09:00
sanni
4d6594c0aa V5.3: Update snes.txt database
Created with this Processing script parsing the No-Intro set from Dezember 2019 with all beta, proto, unlicensed, sample and missing checksun ROMs removed:

https://www.dropbox.com/s/379g607k6ka8bfq/snesdata.pde?dl=1
2020-06-30 12:52:08 +02:00
sanni
ea6722d0c5 V5.2: Fix bug in GB code 2020-06-18 14:33:21 +02:00
sanni
c9f5c9ac36 V5.1: Fix Mapper 21 carts
Fix for Wai Wai World 2 (VRC4a) and Ganbare Goemon Gaiden 2 (VRC4c)
Thanks to skaman
2020-05-25 07:34:18 +02:00
sanni
8794e4c878 Update Cart_Reader.ino 2020-05-13 13:05:10 +02:00
sanni
615ef8d68c V5.0: Add suport for NeoGeo Pocket
Many thanks to splash5
2020-05-12 13:52:03 +02:00
sanni
cfb9e39cbf V4.9: Improve WS Initialization
Thanks to skaman.
The code does a deeper sanity check of the header data when initializing the cart.  It avoids having to constantly press buttons to reinit the cart.  Carts can still not initialize the MBC properly but that's normal for the WonderSwan.  Clean the pins on the cart and check that the cart and adapter are seated properly.  If the cart doesn't unlock immediately, then let the sketch run for a bit.  For stubborn carts, a power cycle might be necessary.
The sketch fixes a few typos, removes some trailing spaces, and adds another ROM size (used by Benesse Pocket Challenge V2 carts).
2020-04-20 10:35:48 +02:00