Commit Graph

480 Commits

Author SHA1 Message Date
sanni
0ab9f7f120
V30B: Add option to always start in a submenu
For example you can change "#define startMenu mainMenu" to "#define startMenu n64Menu" if you only need the N64 stuff.
2017-11-17 20:53:00 +01:00
Scott Smith
dc6ed42f14 Fix for games larger than 96 banks (Nintendo Power Fire Emblem 5 Thracia 776) 2017-10-28 19:27:25 -04:00
sanni
27b63819e5 V30: Add support for Fujitsu MSP55LV100S N64 repros and fix bug in Serial Monitor filebrowser
- The Fujitsu MSP55LV100S consists out of two Fujitsu MSP55LV512 which themselves are just Spansion S29GL256N flashroms. One flashrom is used for the high byte the other for the low byte.   
- You can now browse pages with the Serial Monitor's file browser just like you can with the OLED.
2017-10-22 13:32:14 +02:00
sanni
c119555ce7 V29D: Write mapping data of Nintendo Power GB Memory cartridges (DMG-MMSA-JPN) 2017-10-13 19:00:49 +02:00
sanni
2213f8483f V29C: Fixed writing Nintendo Power GB Memory cartridges (DMG-MMSA-JPN) 2017-10-12 23:51:47 +02:00
sanni
43ec1a423b V29B: Added warning when dumping GB Memory flash
Still have the bank switching error when writing, problem is located at line 2159. I can't switch the bank any time before since I need an uneven bank for the 0x5555 command and I can't switch afterwards or it will be too late and everything will be written to bank 1...
2017-10-11 23:42:07 +02:00
sanni
79346e3a51 V29A: Write first 0x7FFF bytes of GB Memory cart
Don't understand how to switch banks right now or more precise when to switch banks without killing off the buffered write sequence.
2017-10-11 20:57:34 +02:00
sanni
4bb76e01e2 V28I: Added an alternative ID for the Fujitsu MSP GBA Repros
Fujitsu MSP55LV128 and Fujitsu MSP55LV128N are the same flashrom but they have different ID's ...
2017-10-07 12:19:34 +02:00
sanni
e2b10ca316 V28H: Support for Fujitsu MSP55LV512 (64MB) and Intel 4400L0ZDQ0 (where the CPLD limits it to 32MB) N64 repros 2017-10-01 19:55:23 +02:00
sanni
8e8ff3262e V28G: Check N64 repro sector protection
Still trying to get the MSP flashrom repros working, hopefully mine will arrive soon so I can actually test revisions quicker
2017-09-21 12:57:09 +02:00
sanni
bda2f84553 V28F: Update version number after merge 2017-09-19 17:34:41 +02:00
sanni
f2e2196ab9 Merge branch 'master' into master 2017-09-19 17:21:14 +02:00
Scott Smith
198e3156c3 Changes needed to read Tengai Makyou Zero (SPC7110) based on skaman code
Also includes some code cleanup for reading
2017-09-18 20:21:41 -04:00
sanni
4d5cff1393 V28E: Added some untested flashrom types for GBA and N64
I don't have them myself so I can't test but maybe others can.   
Flashrom Programmer: Macronix MX29LV320 and MX29LV640 (connected as 16bit flashrom in 8bit mode)   
GBA: Intel 4400L0ZDQ0 (Only using the first 32MB)   
N64: Fujitsu MSP55LV100S and Macronix MX29LV640 (Fujitsu might have a different sector size)
2017-09-18 23:39:54 +02:00
sanni
684cb15fc9 V28D: Simplify GBA Logo Check
byte overflow in last commit
2017-09-15 18:13:46 +02:00
sanni
2a0ca1b236 V28D: Simplify GBA Logo Check 2017-09-15 17:51:41 +02:00
sanni
2846203b35 V28C: Add support for Fujitsu MSP55LV128 GBA repros
Almost the same as Macronix MX29GL128E but sector size and write buffer are half the size.
Data pins 0 and 1 are also swapped and it still needs 5V to erase correctly.
2017-09-14 23:09:14 +02:00
sanni
39d7e52509 V28B: Add reset to readmode before blankcheck for GBA repro with Intel flashrom 2017-09-08 14:46:24 +02:00
sanni
1562ed1ff8 V28A: Rewrite GBA repros with 16MB MX29GL128E flashrom (the ones with switched data pins)
The whole GBA code is currently a little bit buggy, so for dumping roms you propbably should stay on the last somewhat stable release V27D. 
Reflashing only seems to work with 5V. Probably out of the same reason why some real carts don't work with V28 ... bad read/write timings.

I also might have broken support for the Intel flashrom I added in the last commit...
2017-09-08 01:09:42 +02:00
sanni
63b239d27e V28: Rewrite GBA repros with 32MB Intel 4000L0YBQ0 flashrom
There is still a bug left when it comes to resetting the flashrom to read mode since I can't find the datasheet to look up the partition sizes. So it might be that the verifying process fails even though the flashing was successful. In this case remove the GBA repro for a few seconds then just dump the rom and compare if the write really failed.
2017-08-16 16:08:00 +02:00
sanni
00f4720f76 V27D: Fixed 16bit flashrom functions for writing 29L3211 and similar
Seems like my last fix did break more than it did repair but this time everything should work.
2017-07-13 10:51:20 +02:00
sanni
90fad59080 Update README.md 2017-07-10 20:07:45 +02:00
sakman55
840f50d063 SRAM Fixes 2017-07-08 10:07:39 -10:00
sanni
e97dfecf02 V27B: Add Mega Drive FRAM read/write
Only tested with Sonic 3
2017-06-28 20:31:50 +02:00
sanni
9335e1d2aa V27A: Add Mega Drive SRAM read/write
Only tested with the game STRIKER. There are probably multiple types of SRAM games so not all will work yet.
2017-06-27 23:27:10 +02:00
sanni
80e0e12c82 V27: Add basic Mega Drive Support
Just dumping of roms right now, no save games. Not sure if all games will dump or if there are some special ones.
2017-06-26 23:48:07 +02:00
sanni
e6d49feb92 V26: Flashrom Programmer Bugfixes
- It seems like flashroms in the 16bit slot like the 29L3211 were accidentally programmed byte swapped up until now and only the 8bit slot worked correctly.
- You can now program files smaller than the flashrom's size without getting a verification error 
- Added the special 29F1601 flashrom taken out of the Nintendo Power SF Memory carts
2017-06-25 03:03:15 +02:00
sanni
6a4b78d1bc Create README.md 2017-06-10 08:04:37 +02:00
sanni
4958b83e48 V25D: Fixed Derby Stallion 96 (thanks to skaman and tamanegi_taro) 2017-06-10 07:46:05 +02:00
sanni
876190b17e V25C: Changed ID'ing of 32MB N64 Repros 2017-06-06 10:07:11 +02:00
sanni
abf99f9e1f V25B: Small Bugfix 2017-06-04 16:36:16 +02:00
sanni
e08689cbbe V25A: Update to newest versions of the libraries 2017-06-01 08:54:21 +02:00
sanni
2b631600f9 V25: Enabled reading of Nintendo Power GB Memory cartridges
Not super reliable right now.
2017-05-30 21:00:12 +02:00
sanni
56e71a59de V24E: Fixed writing N64 repro (new version with Intel chip)
Also re-enabled blankchecking at least until I know this code works reliably.   
Writing 64MB takes 40 minutes. I did not optimize yet so it might become faster in the future.
2017-05-21 17:36:36 +02:00
sanni
41d238e1b6 V24D: More names that were one char too long 2017-05-15 10:24:28 +02:00
sanni
d8b888d5a6 V24C: Accidentely made SNES name one char too long 2017-05-15 10:19:13 +02:00
sanni
326d37cebd V24B: Use game code for SNES titles with all japanese name 2017-05-12 16:08:55 +02:00
sanni
dddf21fc3e V24: Changed folder structure on SD card
All modules now write their roms/saves to a separate subfolder.
2017-05-08 20:42:47 +02:00
sanni
ed5dc3f573 V23A: Speed up flashing the S29GL256N N64 repro
Writing a 32MB rom should now only take 12 minutes
2017-05-03 11:54:55 +02:00
sanni
046634fc6f Update README.md 2017-03-27 17:45:19 +02:00
sanni
6071cf5b47 Update README.md 2017-03-26 11:33:58 +02:00
sanni
67a83ccab2 V23 Add writing of N64 repro (first draft, super slow)
Takes ~1 hour or so for a 64MB rom file since I have not yet implemented the roms 16 word write buffer and instead write only one word at a time.
This is the repro I used: https://www.aliexpress.com/item/N64-Game-Resident-Evil-2-Nintendo-Video-Game-Cartridge-Console-Card-English-Language-US-Version/32788522464.html
2017-03-02 00:31:58 +01:00
sanni
4adb7c7506 V22B Improved N64 timing once more
This should fix reading of N64 repro carts
2017-02-25 00:15:24 +01:00
sanni
82c69924e3 V22A Changed N64 timings a bit
Still fails to read the N64 repro but now at least it fails consistently ...
2017-02-24 16:19:06 +01:00
sanni
7945de9ffd Update README.md 2017-02-15 20:42:36 +01:00
sanni
5cfdb5cb98 V22 Added GBA database 2017-02-11 16:45:16 +01:00
sanni
5c5b2fecce V21A Fixed GB Flashrom bug
Thanks once again to skaman:
"The problem occurs because of the bank switch to 0xAA (0xAA * 0x4000 = 0x2A8000).  I'm assuming that the code you're using writes the bank to address 0x2000 (or similar) then follows with the flash sequence to program the byte.  Since 0xAA is also a flash command, the flash chip misinterprets the bank switch as the flash command and misses the command sequence to write the first byte in the bank."
2017-01-30 22:48:08 +01:00
sanni
6a9099be8c V21 Updated GB code to insidegadgets newest version
Known bug: When writing a 4MB Game Boy flashcart you can't write anything to offset 0x2A8000. So you get one byte error at the end.
I don't know why.
2017-01-30 15:49:04 +01:00
sanni
6bcdc9526c V20 Changed N64 timing a bit
Hopefully I didn't break anything :x
2017-01-29 19:00:12 +01:00
sanni
05c1965a9a Reset SA-1 cart after SRAM write 2017-01-12 00:47:38 +01:00
sanni
b6e43f5b34 V19J: Added reading/writing of GBA 64K eeprom save games (fix) 2016-10-15 21:59:07 +02:00
sanni
c95ec351ea V19J: Added reading/writing of GBA 64K eeprom save games 2016-10-15 21:46:30 +02:00
sanni
00f5dcdc1a V19I: Added writing of GBA 4K eeprom save games 2016-10-15 16:24:12 +02:00
sanni
80017521f2 V19H: Added reading of GBA 4K eeprom save games
Eeprom chip: 9853
2016-10-14 19:35:37 +02:00
sanni
027763940a V19G: Changed default input mode to two buttons input
If you have the old hardware version that has only one button please change:

#define enable_Button2

to

//#define enable_Button2
2016-10-07 13:21:36 +02:00
sanni
861998b155 V19F: Fixed timing for GBA 1M flashrom save games 2016-10-06 23:04:31 +02:00
sanni
7b03f32968 V19E: Started adding support for MX29L010 1MB flashrom saves (not working yet) 2016-10-05 20:15:47 +02:00
sanni
ae8d1e1f28 V19D: Changed the way GBA roms are read 2016-09-27 00:00:22 +02:00
sanni
3825590018 V19C: Added GBA Save support for SST 39VF512 Flashrom 2016-09-21 00:04:04 +02:00
sanni
bdadbf2eb0 V19B: Added GBA FRAM save support
This will allow you to read/write the Fujitsu MB85R256 Ferroelectric Random Access Memory Chip
2016-09-18 15:10:59 +02:00
sanni
c97c3ac855 V19A: Minor bugfixes 2016-09-14 00:47:43 +02:00
sanni
b0e2d5b6c2 V19A: Minor bugfixes 2016-09-14 00:46:43 +02:00
sanni
a8c03520c8 V19: Add GBA rom dumping (beta)
Seems to work fine with the Arduino running on 5V. 
Still a few read errors on 3.3V. Probably timing related.
2016-09-12 15:16:03 +02:00
sanni
84d946a2be Delete SNS.ino 2016-09-12 15:13:31 +02:00
sanni
be0b5e8986 V18B: Fixed typo that lead to menu error 2016-09-04 15:54:39 +02:00
sanni
5d3e4a3628 V18A: Added delay to SNES write 2016-08-25 15:31:58 +02:00
sanni
ee01ff3bfa V18: Add SA-1 SRAM write support by skaman
Many thanks to skaman for finding out how to write the SA-1 SRAM.
2016-08-25 12:25:04 +02:00
sanni
873de4f026 V17H: Define button 2 as input 2016-08-22 15:33:18 +02:00
sanni
5a6a04263a V17G: Changed name 2016-08-22 10:44:19 +02:00
sanni
e25577f255 V17F: Added "execute selection" function to second button
If you have a cart reader with two buttons change "#define twoButtons 0" to "#define twoButtons 1".
From now on you can execute a selection by either holding the first or just by pressing the second button.
2016-08-22 10:20:48 +02:00
borti4938
f1219e411c Select previous item (dbl klick) on first element wraps around to last item 2016-08-19 14:47:43 +02:00
sanni
2aa75f02b5 V17E: Added +500ns delay per byte on SNES reads
That's an added delay of 0.5 seconds per read Megabyte.
2016-08-15 15:12:36 +02:00
sanni
282aa947ea V17D: Updated Version String 2016-07-31 09:55:54 +02:00
Scott Smith
4cc73852f0 Fix default compiler warnings 2016-07-30 15:41:25 -04:00
Scott Smith
343c95ae8c Added SDD1 aupport (for star ocean) based on MichIK code and method 2016-07-30 15:32:22 -04:00
sanni
ec1347fd8a V17C: Added changes by zzattack 2016-07-29 21:33:19 +02:00
sanni
8cee474a3f V17B: Read header info even if checksum is corrupt
Some prototypes or hacked roms don't have a valid checksum in the header but still provide useful information like rom size.
2016-07-13 09:14:28 +02:00
sanni
050b499c64 V17A: Added function to reset folder number
In the main menu hover over "About" and hold down the button until "Resetting folder..." appears on the screen.
2016-07-11 20:11:36 +02:00
sanni
3b4796e0f2 V17: Added support for 16bit flashrom slot 2016-07-10 00:20:21 +02:00
sanni
6ab6e1caac Initial commit 2016-07-04 13:21:34 +02:00