Commit Graph

398 Commits

Author SHA1 Message Date
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
sanni
7b263115a5 V4.8: Add Reset Option to sub menues 2020-04-12 11:11:10 +02:00
sanni
aa4621a54d V4.7: Increase SA1 compatibility
Somehow a lower clock seems to work better, maybe the clock generator draws less power this way?!
2020-03-19 18:21:41 +01:00
sanni
83aacd4c66 Update SNES.ino 2020-03-17 16:38:44 +01:00
sanni
5cec7afd1f V4.6: Increase SA1 compatibility 2020-03-17 14:09:47 +01:00
sanni
f9ca4f9108 V4.5 Fix VRC4e carts (Mapper 23)
The code change only affects readCHR().  It shortens the check to a single byte but that is enough to identify the four VRC4e carts.  The original list of VRC4e carts that I referenced only showed Boku Dracula-kun and Tiny Toon Adventures.  I found out that all four of the Mapper 23 VRC4 carts use the VRC4e submapper.  Mapper 23 includes VRC4f but there are no known examples (BTW, VRC4f = VRC2b).
2020-03-03 11:16:27 +01:00
sanni
4a1b441ae5 V4.4: Add ST M29W128GH GBA repro
Thanks to xybots for testing
2019-12-21 21:24:39 +01:00
sanni
e4cab438ca Update GBA.ino 2019-12-20 16:02:57 +01:00
sanni
0c54882042 V4.3: Add BS-X sram read/write thx to skaman 2019-12-17 19:53:21 +01: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
b856459fee Update NES.ino (thx to skaman)
Changes:
Adds Mapper 30 (NESmaker) support with read/write Flash support.
Adds PRG-RAM read/write support for Mappers 4 (MMC6), 19, 80, 82.
Adds SRAM support for Family Basic (Mapper 0) carts.
2019-11-25 11:53:45 +01:00
sanni
1f2b9dcc4a
Forgot to advance version number after fixing var index to type int a couple of weeks ago 2019-11-12 09:49:24 +01:00
sanni
087585f8f6 Add cycle cart for MD multi game carts
Thanks to BASSIX
2019-10-31 08:43:10 +01:00
sanni
20fc59f89b
Merge pull request #49 from splash5/master
Add WonderSwan adapter PCB and schematics
2019-10-29 13:58:03 +01:00
splash5
d615f433f3 Add WonderSwan adapter PCB and schematics 2019-10-29 20:30:37 +08:00
Phil Eichinger
8e7ae83576 Add support for Intel PC28F256M29
Tested with 2 repro carts
2019-10-24 21:58:32 +02:00
splash5
1fc7bb27e9 Adjust clk count for unlocking MMC 2019-10-18 22:29:48 +08:00
splash5
7f5088cc2a Merge remote-tracking branch 'sanni/master' 2019-10-18 13:05:42 +08:00
splash5
e3a70af141 Add developerId 0Bh(SUM) 2019-10-18 13:02:58 +08:00
splash5
55356796db Fix typo in developer name 2019-10-18 12:27:45 +08:00
splash5
e0e4cad606 Clean up code 2019-10-18 12:20:34 +08:00
splash5
651c45b0db Add some developer name 2019-10-18 12:10:14 +08:00
splash5
c45bdbf07d Change IO? pin as input
Simplify MMC unlock procedure
2019-10-18 11:31:35 +08:00
splash5
7deb455d41 Blinking LEDs on cartridge (only for BANC33) 2019-10-18 01:54:30 +08:00
sanni
d4935ef326 Change var index to type int 2019-10-17 17:14:08 +02:00
splash5
025ca2461c Fix wrong block address 2019-10-17 12:37:33 +08:00
splash5
3f0fc3b577 Add support for flashing witch os
(fbin from witch kit)
2019-10-15 12:00:35 +08:00
splash5
dcc0fa88d2 Correct menu item count 2019-10-14 11:19:01 +08:00
splash5
423f8dfb19 Add some description about cartridge pinout 2019-10-14 01:26:50 +08:00
splash5
5e77331912 Patching header for some games
(No affect on rom file dumping)
2019-10-13 02:02:49 +08:00
splash5
92c7a41c97 Fix typo again 2019-10-11 22:13:10 +08:00
splash5
5c1d28a0d6 Fix typo 2019-10-11 21:15:59 +08:00
splash5
1771104fe5 Add WonderSwan support 2019-10-11 20:57:23 +08:00
splash5
0712e8e5ae Add "showCartInfo_GB" function 2019-10-07 11:34:55 +08:00
splash5
6fcd374e2a Add support for AM29F400AB, E28FXXXJ3A and AM29LV033C
(E28FXXXJ3A and AM29LV033C need custom adapter)
2019-10-07 11:34:41 +08:00
splash5
991c7f8d6c Fix buffer overflow in fileBrowser 2019-10-07 11:34:22 +08:00
sanni
faccad90c3 Move needed libraries into Releases 2019-10-04 12:57:52 +02:00
sanni
ee730623fc Add Realtec Mapper to MD.ino thx to skaman 2019-09-29 12:33:02 +02:00
sanni
5da151f072 Update SMS.ino 2019-09-27 23:01:45 +02:00
sanni
34d6871f7d Set eeprom location for folder number to 0 again 2019-09-27 17:38:42 +02:00
sanni
1fe0b53a0d V4.0: Add complete N64 Controller Test 2019-09-27 17:06:17 +02:00
sanni
f6f442f47a
Update README.md 2019-09-27 09:36:30 +02:00
sanni
adb2b6c56f
Update Cart_Reader.ino 2019-09-27 09:31:11 +02:00
splash5
edcbc842b3 Add support for MBM29F800BA/AM29F800BB and LH28F016SUT 2019-09-26 18:33:08 +08:00
splash5
a5f629df78 Add support for EMS GB Smart 32M flash cart 2019-09-26 13:38:03 +08:00
sanni
5d49302305
Update GB.ino 2019-09-22 08:33:55 +02:00
sanni
5ff1705faa
Update FLASH.ino 2019-09-22 08:32:58 +02:00
sanni
96ea8efb52
Update SMS.ino 2019-09-20 14:50:25 +02:00
sanni
c681fbaec3 V3.9: Add SMS 2019-09-20 14:30:57 +02:00
sanni
026e774b43 Update SMS.ino 2019-09-20 11:50:54 +02:00
sanni
4a2d3d81dc Update SMS.ino 2019-09-20 11:16:53 +02:00
sanni
4555ce1da7 Update SMS.ino 2019-09-19 16:06:19 +02:00
sanni
8f2346f145 Update SMS.ino 2019-09-19 13:42:46 +02:00
sanni
6cb577e19f
Update NES.ino 2019-09-18 22:43:49 +02:00
Modman
1128720bdd
Update N64.ino
Included new strcmp function to ignore case when comparing checksums.
2019-09-17 13:01:05 -07:00
Robert Neumann
60cfbda563 N64: Blink LED for EEP operations (they do take a while and the blinking tells users that there is progress); silence warning on the bitmaps; convert use of Arduino's "not" to exclamation mark 2019-09-13 18:13:37 +02:00
Robert Neumann
29e8109606 SNES, MD: avoid dumping/writing 0 Byte files to SD card 2019-09-11 20:02:26 +02:00
sanni
ec13a58ec3 Get rid of compiler warning 2019-09-10 17:38:56 +02:00
sanni
41e9517504 Add tip to use Arduino AVR Boards Version 1.6.21
Current Arduino IDE has a bug preventing compiling at random times.

See: https://forum.arduino.cc/index.php?topic=595550.0
2019-09-08 20:41:56 +02:00
sanni
8c3ad0aed9 Update NP.ino 2019-09-08 20:27:05 +02:00
sanni
ece384c2dc Update Cart_Reader.ino 2019-09-08 20:21:46 +02:00
sanni
9b2011c95c V3.8: Fix SF Memory 2019-09-08 15:53:46 +02:00
sanni
f79c169782 V3.7: Add MX26L6420
thanks to Ice Man for testing
2019-09-07 15:57:37 +02:00
sanni
b250fffbc4 Update FLASH.ino 2019-09-07 14:13:39 +02:00
sanni
1e6a37858d Update NES.ino 2019-09-05 22:18:18 +02:00
Robert Neumann
6c2b9a9732 various: work on SNES SA-1 init / reset; LED: skip red in attract mode, as red usually indicates an error to the user 2019-09-05 15:43:27 +02:00
sanni
b8552090c8
Update Cart_Reader.ino 2019-09-05 10:34:14 +02:00
sanni
28d37cd661
Update README.md 2019-09-05 08:18:19 +02:00
sanni
cb540d5ee7
Fix typo 2019-09-05 08:14:51 +02:00
sanni
bbdff75a6f V3.6: Code Clean-up and NES integration(untested)
Copy&pasted all the functions from "Famicom Dumper" by skaman into NES.ino and modified them to fit the enviroment.
Not tested yet.
2019-09-05 00:48:39 +02:00
Robert Neumann
1d6bd2ae86 various: forward declaration for "T" type used in EEPROM functions, necessary for non Arduino IDE 2019-09-02 20:11:08 +02:00
sanni
d39a438c4d Update MD.ino 2019-09-02 18:34:25 +02:00
sanni
1cafca33f7
Update MD.ino 2019-09-02 18:27:33 +02:00
sanni
0c75bf8aed V3.5 Change Menu and add Sega CD Ram Cart
Thanks to skaman for the Sega CD Ram Cart code.  Writes to the Sega CD Backup RAM Cart require an extra wire from MRES (B02) to VRES (B27).
2019-09-01 14:36:53 +02:00
Robert Neumann
85992eff80 SNES: blink LED while dumping (as with the other modules); show total elapsed time, including the checksum check 2019-08-31 02:51:02 +02:00