sanni
|
18b37c72d8
|
Selecting [?] now forwards to manual mapper config for NES
|
2022-10-07 10:15:18 +02:00 |
|
sanni
|
b7fa65a3de
|
Add MMC3 auto detect
|
2022-10-06 19:58:04 +02:00 |
|
sanni
|
1a8d127011
|
Increase romName array size from 17 to 22
Crashed with Lufia II(Estpolis II) before.
|
2022-10-06 10:20:02 +02:00 |
|
sanni
|
132b2e7031
|
Only wanted to change MMC3, not the other MMCs (yet)
````
// Convert iNES to useful info (thx to fceux)
mapper = (romFile[6] >> 4);
mapper |= (romFile[7] & 0xF0);
mapper |= ((romFile[8] & 0x0F) << 8);
// PRG size
if ((romFile[9] & 0x0F) != 0x0F) {
// simple notation
prgsize = (romFile[4] | ((romFile[9] & 0x0F) << 8)); //*16
}
else {
// exponent-multiplier notation
prgsize = (((1 << (romFile[4] >> 2)) * ((romFile[4] & 0x3) * 2 + 1)) >> 14); //*16
}
if (prgsize != 0)
prgsize = (int(log(prgsize) / log(2)));
prgsize = (int_pow(2, prgsize)) * 16;
byte[] first512 = new byte[512];
// MMC1
//if(mapper == 1){}
// MMC2
//else if(mapper == 9){}
// MMC3
if(mapper == 4){
int startoffset = (prgsize/8 - 1) *8 *1024;
// Get crc32 of first 512 bytes
for(int l = 0; l < 512; l++){
first512[l] = romFile2[startoffset + l];
}
}
// MMC4
//else if(mapper == 10){}
// MMC5
//else if(mapper == 5){}
else {
// Get crc32 of first 512 bytes
for(int l = 0; l < 512; l++){
first512[l] = romFile2[l];
}
}
CRC32 crc2 = new CRC32();
crc2.update(first512);
checksum512 = String.format("%08X", crc2.getValue());
````
|
2022-10-05 08:46:35 +02:00 |
|
sanni
|
f52df29266
|
Add auto mapper detecting for MMC3 carts
"E000-FFFF is always fixed to the last bank of ROM." Source: http://kevtris.org/mappers/mmc3/index.html
Therefore calculate CRC32 of the first 512 bytes of the last bank of the PRG ROM instead of the first bank.
Database creation code example:
````
// Convert iNES to useful info (thx to fceux)
mapper = (romFile[6] >> 4);
mapper |= (romFile[7] & 0xF0);
mapper |= ((romFile[8] & 0x0F) << 8);
// PRG size
if ((romFile[9] & 0x0F) != 0x0F) {
// simple notation
prgsize = (romFile[4] | ((romFile[9] & 0x0F) << 8));
}
else {
// exponent-multiplier notation
prgsize = (((1 << (romFile[4] >> 2)) * ((romFile[4] & 0x3) * 2 + 1)) >> 14);
}
if (prgsize != 0)
prgsize = (int(log(prgsize) / log(2)));
prgsize = (int_pow(2, prgsize)) * 16;
byte[] first512 = new byte[512];
// MMC1
if(mapper == 1){
}
// MMC2
if(mapper == 9){
}
// MMC3
if(mapper == 4){
// MMC3 has 8KB banks
int startoffset = (prgsize/8 - 1) *8 *1024;
// Get crc32 of first 512 bytes of last PRG bank
for(int l = 0; l < 512; l++){
first512[l] = romFile[16 + startoffset + l];
}
}
// MMC4
else if(mapper == 10){
}
// MMC5
else if(mapper == 5){
}
else {
// Get crc32 of first 512 bytes after iNES header
for(int l = 0; l < 512; l++){
first512[l] = romFile[16 + l];
}
}
````
|
2022-10-04 22:31:23 +02:00 |
|
sanni
|
3d7c424344
|
Update NES.ino
|
2022-10-04 21:11:13 +02:00 |
|
sanni
|
bef9d0f5f9
|
Don't log manual mapper selection to file for NES/GBA
|
2022-10-04 20:30:53 +02:00 |
|
sanni
|
20898cf3d3
|
Update NES.ino
|
2022-10-04 15:48:11 +02:00 |
|
sanni
|
a9bf2b0cee
|
Merge pull request #543 from nsx0r/patch-10
fixed mapper 30
|
2022-10-02 17:37:16 +02:00 |
|
nsx0r
|
bb63d912c9
|
fixed mapper 30
tested working with multiple NES and FC carts using UNROM-512
|
2022-10-02 13:25:33 +02:00 |
|
sanni
|
ceba5d2856
|
Merge pull request #542 from nsx0r/patch-9
fixed mapper 93
|
2022-10-01 14:42:54 +02:00 |
|
nsx0r
|
43c7be5fbd
|
fixed mapper 93
confirmed working with Fantasy Zone (J)
|
2022-10-01 14:41:47 +02:00 |
|
sanni
|
facd52b7ef
|
Merge pull request #541 from nsx0r/patch-8
Update nes.txt
|
2022-10-01 11:18:06 +02:00 |
|
nsx0r
|
e372bcc5e3
|
Update nes.txt
updated nes.txt to no-intro 2022-10-01
now includes ONLY physical releases, should speed up the process (from 3858 games to 3108)
|
2022-10-01 08:17:48 +02:00 |
|
sanni
|
6c1c9876b4
|
Update PCE.ino
|
2022-09-30 00:35:02 +02:00 |
|
sanni
|
01487b6759
|
Merge pull request #539 from lesserkuma/master
Add support for more Game Boy mappers (MBC1M, MBC6, TAMA5, 8 MB MBC5)
|
2022-09-28 22:22:58 +02:00 |
|
Lesserkuma
|
4cac40e011
|
Remove debug output
|
2022-09-28 21:46:21 +02:00 |
|
Lesserkuma
|
e892a8e9f1
|
Fixed wording
|
2022-09-28 21:42:05 +02:00 |
|
Lesserkuma
|
19e0837128
|
Merge branch 'master' of github.com:lesserkuma/sanni_cartreader
|
2022-09-28 21:33:34 +02:00 |
|
Lesserkuma
|
dab124def7
|
Find Game Serial for Game Boy
|
2022-09-28 21:31:49 +02:00 |
|
Lesserkuma
|
786a8586fb
|
Merge branch 'master'
|
2022-09-28 19:50:58 +02:00 |
|
Lesserkuma
|
9d42ce0964
|
Add support for the Game Boy MBC6 mapper (save write)
|
2022-09-28 18:52:52 +02:00 |
|
Lesserkuma
|
f7d9051b95
|
Add support for the Game Boy MBC6 mapper (save read)
|
2022-09-28 18:00:16 +02:00 |
|
Lesserkuma
|
38c2262f1c
|
Add support for the Game Boy MBC6 mapper (ROM read)
|
2022-09-28 15:15:04 +02:00 |
|
sanni
|
956c2d1402
|
Show NES database CRC while searching
|
2022-09-28 10:13:48 +02:00 |
|
sanni
|
b51a01f1f5
|
Fix Typo
|
2022-09-27 19:24:21 +02:00 |
|
sanni
|
982945fc25
|
Update GBA database
|
2022-09-27 19:12:48 +02:00 |
|
sanni
|
b34334ea04
|
Update GBA database
|
2022-09-27 19:11:58 +02:00 |
|
Lesserkuma
|
282f5bc108
|
Add support for the Game Boy TAMA5 mapper (ROM read)
|
2022-09-25 23:35:29 +02:00 |
|
Lesserkuma
|
6098700fdd
|
Merge branch 'master'
|
2022-09-25 17:06:58 +02:00 |
|
Lesserkuma
|
866f0ce2b5
|
Add support for the Game Boy MBC1M mapper
|
2022-09-25 16:58:58 +02:00 |
|
Lesserkuma
|
140401161b
|
UI improvements for GB, GBA, N64, SNES
|
2022-09-25 16:40:21 +02:00 |
|
sanni
|
d086b277ef
|
Add support for NES mapper 45 (thx to skaman)
|
2022-09-25 11:09:54 +02:00 |
|
sanni
|
68fbd55291
|
Add support for Benesse Pocket Challenge W Module (thx to skaman)
|
2022-09-25 10:36:55 +02:00 |
|
sanni
|
6659b84d9d
|
Add support for Benesse Pocket Challenge W Module (thx to skaman)
|
2022-09-25 10:36:28 +02:00 |
|
Lesserkuma
|
ff758768df
|
Add support for GB MBC5 8 MiB cartridges
|
2022-09-25 01:46:46 +02:00 |
|
sanni
|
0b79ae4eb9
|
Merge pull request #533 from niklasweber/use_workflow_matrix
Use a matrix instead of defining each job manually
|
2022-09-24 21:54:10 +02:00 |
|
Niklas Weber
|
95858bdda3
|
Use a matrix instead of defining each job manually
|
2022-09-24 21:42:20 +02:00 |
|
sanni
|
0740ba9cef
|
Merge pull request #531 from lesserkuma/master
Use correct mapper type for GB Mani 4 in 1
|
2022-09-24 17:07:21 +02:00 |
|
Lesserkuma
|
8713b49706
|
Use correct mapper type for GB Mani 4 in 1
|
2022-09-24 15:34:46 +02:00 |
|
sanni
|
f3153cd135
|
Merge pull request #530 from lesserkuma/master
Update to displaying full ROM title on SNES, N64, GB, GBA
|
2022-09-24 14:39:10 +02:00 |
|
Lesserkuma
|
3a9ccf65b0
|
Add support for the Game Boy M161 mapper
|
2022-09-24 14:38:55 +02:00 |
|
Lesserkuma
|
77c0daeb6a
|
Update to displaying full ROM title on SNES, N64, GB, GBA
|
2022-09-24 14:36:13 +02:00 |
|
sanni
|
3c5a1cc1ac
|
Merge pull request #529 from lesserkuma/master
Display full ROM title for GB and GBA and more mapper names for GB
|
2022-09-23 22:27:32 +02:00 |
|
Lesserkuma
|
37c9f2f026
|
Display mapper names for MBC7, HuC-1 and HuC-3 (these are currently supported at least for ROM reading)
|
2022-09-23 21:57:06 +02:00 |
|
Lesserkuma
|
eed3324a56
|
Display full ROM title for GB and GBA
|
2022-09-23 21:55:16 +02:00 |
|
sanni
|
2de810782a
|
Add files via upload
|
2022-09-18 20:44:12 +02:00 |
|
sanni
|
96f984c1ac
|
Add 32x database
|
2022-09-18 20:43:18 +02:00 |
|
sanni
|
c1bc2aa093
|
Update Cart_Reader.ino
|
2022-09-18 19:31:37 +02:00 |
|
sanni
|
49fdb0131e
|
Remove auto selecting NES mapper config
|
2022-09-18 19:26:43 +02:00 |
|