Change 2022 to 2023 in about screen

This commit is contained in:
sanni 2023-01-16 12:35:48 +01:00
parent d6a4be2348
commit c8bfc64009
9 changed files with 66 additions and 69 deletions

View File

@ -572,3 +572,6 @@ void setCart_ARC() {
arccsvFile.close(); arccsvFile.close();
} }
#endif #endif
//******************************************
// End of File
//******************************************

View File

@ -977,3 +977,6 @@ void setCart_ATARI() {
checkSize_ATARI(); checkSize_ATARI();
} }
#endif #endif
//******************************************
// End of File
//******************************************

View File

@ -1512,7 +1512,7 @@ void aboutScreen() {
display_Clear(); display_Clear();
println_Msg(F("Cartridge Reader")); println_Msg(F("Cartridge Reader"));
println_Msg(F("github.com/sanni")); println_Msg(F("github.com/sanni"));
print_Msg(F("2022 Version ")); print_Msg(F("2023 Version "));
println_Msg(ver); println_Msg(ver);
println_Msg(F("")); println_Msg(F(""));
println_Msg(F("")); println_Msg(F(""));
@ -2012,7 +2012,7 @@ void setup() {
Serial.begin(9600); Serial.begin(9600);
Serial.println(""); Serial.println("");
Serial.println(F("Cartridge Reader")); Serial.println(F("Cartridge Reader"));
Serial.println(F("2022 github.com/sanni")); Serial.println(F("2023 github.com/sanni"));
// LED Error // LED Error
setColor_RGB(0, 0, 255); setColor_RGB(0, 0, 255);
#endif #endif

View File

@ -900,3 +900,6 @@ void setCart_FAIRCHILD() {
fairchildcsvFile.close(); fairchildcsvFile.close();
} }
#endif #endif
//******************************************
// End of File
//******************************************

View File

@ -1226,48 +1226,39 @@ void readROM_MD() {
writeSSF2Map(0x50987E, 10); // 0xA130FD writeSSF2Map(0x50987E, 10); // 0xA130FD
writeSSF2Map(0x50987F, 11); // 0xA130FF writeSSF2Map(0x50987F, 11); // 0xA130FF
offsetSSF2Bank = 2; offsetSSF2Bank = 2;
} } else if (currBuffer == 0x300000) {
else if (currBuffer == 0x300000) {
writeSSF2Map(0x50987E, 12); // 0xA130FD writeSSF2Map(0x50987E, 12); // 0xA130FD
writeSSF2Map(0x50987F, 13); // 0xA130FF writeSSF2Map(0x50987F, 13); // 0xA130FF
offsetSSF2Bank = 3; offsetSSF2Bank = 3;
} } else if (currBuffer == 0x380000) {
else if (currBuffer == 0x380000) {
writeSSF2Map(0x50987E, 14); // 0xA130FD writeSSF2Map(0x50987E, 14); // 0xA130FD
writeSSF2Map(0x50987F, 15); // 0xA130FF writeSSF2Map(0x50987F, 15); // 0xA130FF
offsetSSF2Bank = 4; offsetSSF2Bank = 4;
} } else if (currBuffer == 0x400000) {
else if (currBuffer == 0x400000) {
writeSSF2Map(0x50987E, 16); // 0xA130FD writeSSF2Map(0x50987E, 16); // 0xA130FD
writeSSF2Map(0x50987F, 17); // 0xA130FF writeSSF2Map(0x50987F, 17); // 0xA130FF
offsetSSF2Bank = 5; offsetSSF2Bank = 5;
} } else if (currBuffer == 0x480000) {
else if (currBuffer == 0x480000) {
writeSSF2Map(0x50987E, 18); // 0xA130FD writeSSF2Map(0x50987E, 18); // 0xA130FD
writeSSF2Map(0x50987F, 19); // 0xA130FF writeSSF2Map(0x50987F, 19); // 0xA130FF
offsetSSF2Bank = 6; offsetSSF2Bank = 6;
} } else if (currBuffer == 0x500000) {
else if (currBuffer == 0x500000) {
writeSSF2Map(0x50987E, 20); // 0xA130FD writeSSF2Map(0x50987E, 20); // 0xA130FD
writeSSF2Map(0x50987F, 21); // 0xA130FF writeSSF2Map(0x50987F, 21); // 0xA130FF
offsetSSF2Bank = 7; offsetSSF2Bank = 7;
} } else if (currBuffer == 0x580000) {
else if (currBuffer == 0x580000) {
writeSSF2Map(0x50987E, 22); // 0xA130FD writeSSF2Map(0x50987E, 22); // 0xA130FD
writeSSF2Map(0x50987F, 23); // 0xA130FF writeSSF2Map(0x50987F, 23); // 0xA130FF
offsetSSF2Bank = 8; offsetSSF2Bank = 8;
} } else if (currBuffer == 0x600000) {
else if (currBuffer == 0x600000) {
writeSSF2Map(0x50987E, 24); // 0xA130FD writeSSF2Map(0x50987E, 24); // 0xA130FD
writeSSF2Map(0x50987F, 25); // 0xA130FF writeSSF2Map(0x50987F, 25); // 0xA130FF
offsetSSF2Bank = 9; offsetSSF2Bank = 9;
} } else if (currBuffer == 0x680000) {
else if (currBuffer == 0x680000) {
writeSSF2Map(0x50987E, 26); // 0xA130FD writeSSF2Map(0x50987E, 26); // 0xA130FD
writeSSF2Map(0x50987F, 27); // 0xA130FF writeSSF2Map(0x50987F, 27); // 0xA130FF
offsetSSF2Bank = 10; offsetSSF2Bank = 10;
} } else if (currBuffer == 0x700000) {
else if (currBuffer == 0x700000) {
writeSSF2Map(0x50987E, 28); // 0xA130FD writeSSF2Map(0x50987E, 28); // 0xA130FD
writeSSF2Map(0x50987F, 29); // 0xA130FF writeSSF2Map(0x50987F, 29); // 0xA130FF
offsetSSF2Bank = 11; offsetSSF2Bank = 11;

View File

@ -670,3 +670,6 @@ void setCart_ODY2() {
ody2csvFile.close(); ody2csvFile.close();
} }
#endif #endif
//******************************************
// End of File
//******************************************

View File

@ -380,27 +380,21 @@ uint32_t detect_rom_size_PCE(void) {
//ROM size detection by result //ROM size detection by result
if (detect_32 == DETECTION_SIZE) { if (detect_32 == DETECTION_SIZE) {
rom_size = 32; rom_size = 32;
} } else if (detect_128 == DETECTION_SIZE) {
else if (detect_128 == DETECTION_SIZE) {
rom_size = 128; rom_size = 128;
} } else if (detect_256 == DETECTION_SIZE) {
else if (detect_256 == DETECTION_SIZE) {
if (detect_512 == DETECTION_SIZE) { if (detect_512 == DETECTION_SIZE) {
rom_size = 256; rom_size = 256;
} } else {
else {
//rom_size = 1024; //rom_size = 1024;
//Another confirmation for 384KB because 384KB hucard has data in 0x0--0x40000 and 0x80000--0xA0000(0x40000 is mirror of 0x00000) //Another confirmation for 384KB because 384KB hucard has data in 0x0--0x40000 and 0x80000--0xA0000(0x40000 is mirror of 0x00000)
rom_size = 384; rom_size = 384;
} }
} } else if (detect_512 == DETECTION_SIZE) {
else if (detect_512 == DETECTION_SIZE) {
rom_size = 512; rom_size = 512;
} } else if (detect_768 == DETECTION_SIZE) {
else if (detect_768 == DETECTION_SIZE) {
rom_size = 768; rom_size = 768;
} } else {
else {
rom_size = 1024; rom_size = 1024;
} }