Update FAIRCHILD.ino

Revised 3K cart code to use SRAM skip only for Hangman.  Video Whizball does not require the SRAM skip code.
This commit is contained in:
sakman55 2025-01-19 18:18:14 -10:00 committed by GitHub
parent a62e440c4d
commit 482ae7259e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -418,8 +418,8 @@ void readROM_FAIRCHILD() {
myFile.write(sdBuffer, 512);
delay(1); // Added delay
for (int z = 1; z < blocks; z++) {
if (cartsize == 0x0C00) { // 3K
// Skip SRAM Code for 3K Carts - Tested with Hangman 3K
if ((cartsize == 0x0C00) && (startbyte == 0x2B)) { // 3K Hangman
// Skip SRAM Code for 3K Hangman Cart
// Hangman uses an F21022PC 1K SRAM Chip at 0x0400
// SRAM is NOT Battery Backed so contents change
// Chips are organized: 1K ROM + 1K SRAM + 1K ROM + 1K ROM