mirror of
https://github.com/sanni/cartreader.git
synced 2024-12-24 12:01:53 +01:00
V17D: Updated Version String
This commit is contained in:
parent
9930fcc8b3
commit
282aa947ea
@ -2,8 +2,8 @@
|
||||
Nintendo Cart Reader for Arduino Mega2560
|
||||
|
||||
Author: sanni
|
||||
Date: 2016-07-29
|
||||
Version: V17C
|
||||
Date: 2016-07-31
|
||||
Version: V17D
|
||||
|
||||
SD lib: https://github.com/greiman/SdFat
|
||||
LCD lib: https://github.com/adafruit/Adafruit_SSD1306
|
||||
@ -26,10 +26,12 @@
|
||||
Shaun Taylor - N64 controller CRC functions
|
||||
Angus Gratton - CRC32
|
||||
Tamanegi_taro - SA1 fix
|
||||
Snes9x - SuperFX Sram Fix
|
||||
Snes9x - SuperFX sram fix
|
||||
zzattack - multigame pcb fix
|
||||
Pickle - SDD1 fix
|
||||
|
||||
**********************************************************************************/
|
||||
char ver[5] = "V17C";
|
||||
char ver[5] = "V17D";
|
||||
|
||||
/******************************************
|
||||
Choose Output
|
||||
@ -74,7 +76,7 @@ Si5351 clockgen;
|
||||
// set pins of red, green and blue
|
||||
RGBTools rgb(12, 11, 10);
|
||||
|
||||
typedef enum COLOR_T{
|
||||
typedef enum COLOR_T {
|
||||
blue_color,
|
||||
red_color,
|
||||
purple_color,
|
||||
|
@ -516,7 +516,7 @@ boolean checkcart_SNES() {
|
||||
romSize = 1;
|
||||
while (romSizeExp--)
|
||||
romSize *= 2;
|
||||
|
||||
|
||||
if ((romType == EX) || (romType == SA)) {
|
||||
numBanks = long(romSize) * 2;
|
||||
}
|
||||
@ -835,17 +835,17 @@ void readROM_SNES() {
|
||||
|
||||
controlIn_SNES();
|
||||
byte initialSOMap = readBank_SNES(0, 18439);
|
||||
|
||||
for (int currMemmap=0; currMemmap < (numBanks / 16); currMemmap++) {
|
||||
|
||||
for (int currMemmap = 0; currMemmap < (numBanks / 16); currMemmap++) {
|
||||
|
||||
dataOut();
|
||||
controlOut_SNES();
|
||||
|
||||
|
||||
writeBank_SNES(0, 18439, currMemmap);
|
||||
|
||||
dataIn();
|
||||
controlIn_SNES();
|
||||
|
||||
|
||||
for (int currBank = 240; currBank < 256; currBank++) {
|
||||
for (long currByte = 0; currByte < 65536; currByte += 512) {
|
||||
for (unsigned long c = 0; c < 512; c++) {
|
||||
@ -855,15 +855,15 @@ void readROM_SNES() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
dataOut();
|
||||
controlOut_SNES();
|
||||
|
||||
|
||||
writeBank_SNES(0, 18439, initialSOMap);
|
||||
|
||||
|
||||
dataIn();
|
||||
controlIn_SNES();
|
||||
}
|
||||
}
|
||||
// Close the file:
|
||||
myFile.close();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user