Commit Graph

148 Commits

Author SHA1 Message Date
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
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
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
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
splash5
3f0fc3b577 Add support for flashing witch os
(fbin from witch kit)
2019-10-15 12:00:35 +08:00
splash5
5c1d28a0d6 Fix typo 2019-10-11 21:15:59 +08:00
splash5
991c7f8d6c Fix buffer overflow in fileBrowser 2019-10-07 11:34:22 +08: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
adb2b6c56f
Update Cart_Reader.ino 2019-09-27 09:31:11 +02:00
splash5
a5f629df78 Add support for EMS GB Smart 32M flash cart 2019-09-26 13:38:03 +08:00
sanni
c681fbaec3 V3.9: Add SMS 2019-09-20 14:30:57 +02: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
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
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
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
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
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
sanni
f6390d1604 V3.4: Add MD Checksum and autoformat all ino files 2019-08-30 20:20:41 +02:00
Robert Neumann
4246ba4e07 progress_bar: Included the progress bar in the N64 and SNES modules; some OLED formatting; reverting the Arduino reset to basically jmp 0 again (due to issues with some Mega2560 bootloaders probably, my module would sometimes just hang) 2019-08-29 19:13:50 +02:00
Robert Neumann
07561bdaf0 n64_speedup: roughly double n64 dumping performance by using the 1024 byte file buffer and combining the checksum and dumping code; also some cleanup 2019-08-28 23:48:44 +02:00
Robert Neumann
f7b61cc656 strings_to_flash: conserve ~ 800 byte SRAM by putting menu strings in progmem. Free bytes now: ~ 4000 2019-08-28 12:02:17 +02:00
Robert Neumann
c5c26110fb arduino_reset: replace the assembler jmp 0 reset method with resetArduino() that uses the watchdog timer to reset the device. This is the preferred method, as it initializes the device more correctly. 2019-08-27 21:43:48 +02:00
Robert Neumann
41e7e0f6f5 small change that allows using Visual Micro instead of the Arduino IDE 2019-08-27 19:15:52 +01:00
sanni
86340db9a9
Update Cart_Reader.ino 2019-08-27 11:35:20 +02:00
sanni
13243cdba4 MD Sketch Improvements by skaman
IMPROVEMENTS:
Added read/write support for all Serial EEPROM cart types (Acclaim Type 1, Acclaim Type 2, Capcom, Codemasters, EA, and Sega).  Capcom EEPROM code is untested but should work the same as Sega EEPROM code.

Fixed SRAM code to handle all SRAM types.

Added identification of SRAM carts that have bad headers.

Added support for Super Street Fighter 2.

WARNINGS:
Serial EEPROM writes take time to complete.

Serial EEPROM support was tested using Serial Output only.  Support using the OLED Display might require some timing adjustment as display_Update() on Serial translates to delay(100).

ADDITIONAL NOTES:
I've included a save file for NBA Jam T.E. Rev 0.

NBA Jam T.E. Rev 0 has faulty code that will erase the EEPROM when the cart is played on the console.  The solution proposed by the publisher was to play the cart with two different sets of initials (XXX, NBA) to initialize the EEPROM.  The included save file was created after doing this special initialization.  My tests of the EEPROM show that it will still erase after the special initialization.

I did some additional tests and found a potential solution.  Write the included save file to the cart.  Play the cart on the console as normal.  Create new saves as needed.  When done playing, HOLD THE RESET BUTTON DOWN BEFORE TURNING THE CONSOLE OFF.  YMMV.
2019-08-25 10:15:23 +02:00
sanni
e537d7623a
Update Cart_Reader.ino 2019-08-23 12:47:53 +02:00
sanni
2451cd8cdd
Update Cart_Reader.ino 2019-08-06 18:58:35 +02:00
sanni
17522c4040
Update Cart_Reader.ino 2019-08-01 16:44:44 +02:00
sanni
79c6877fce V3.0: Update libraries to latest version 2019-03-22 22:47:59 +01:00
sanni
eee9b165a0 V2.9: Fix writing MBC3 flashcart 2019-03-01 19:16:33 +01:00
sanni
94a0d9ed1d V2.8: Fix GBA Sram issue
Thanks to Cyber_Akuma
2019-02-18 13:36:00 +01:00
sanni
7f74f22ce7 V2.7: Fix flashing 29F032 Snes repro 2019-01-31 15:30:00 +01:00
sanni
a6e2613379 V2.6 Auto backup current Gameshark ROM 2019-01-18 14:37:22 +01:00
sanni
642139ca1a V2.5 Add Support for Gameshark N64 reflashing (beta)
Sometimes the Gameshark will lock itself up, in this case it helps if you put a 6102 game into the Gamesharks slot and then put both into the Cart Reader and just start dumping the rom as if it was a game.
2019-01-16 16:50:55 +01:00
sanni
8173115c93 V2.4 Add support for SST29LE010 N64 Repro (128KB only)
For some reason I can only read or write the first 128KB while the second 128KB remain 0x00.

You might have to re-calculate your homebrew rom's checksum if you had to trim it down to 128KB. In this case you can use chksum64.exe out of the libdragon devkit. Not sure if this is needed though.

And yes by "SST29LE010 N64 Repro" I'm  jokingly referring to the Gameshark.

I wanted to turn the Gameshark into an import adapter using Lac's boot emu but the boot emu just restarts itself since the Gameshark isn't switching to the top cart slot.

Sometimes the Gameshark locks up, then you have to plug a 6102 cartridge into the Gamebuster's top slot and then connect both to the cart reader and read the rom. After that it should be accessible again.

Don't use this to update your working Gameshark since you can't read nor write the whole 256KB right now.
But if you have a broken one, have fun. :)

I tested this with a Gameshark V2.0
2019-01-13 06:15:11 +01:00
sanni
a27ee157e8
V2.3: Remove 16bit flash adapter menu
If you're still using the old 16bit adapter(the one with the additional pins left and right on the snes cart edge) you can enable the menu again by changing one line in Cart_Reader.ino:  
// Enable 16bit flash adapter menu
#define enable_flash16
2018-10-30 21:08:59 +01:00
sanni
ce4f7aeeee V2.2: Add Satellaview support
Supported carts so far:
-BS-X Sorewa Namaewo Nusumareta Machino Monogatari
2018-10-22 20:29:49 +02:00
sanni
7356a93710 V2.1: Slow down reading of N64 eeprom 2018-10-20 17:38:24 +02:00
sanni
7e0e7bd08c
V2.0: Increment version number after merge 2018-10-14 10:41:16 +02:00