-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Atari 2600 F6 mapper issue #939
Comments
thanks for the hint. Should be fixed my only 32k game now dumps fine. Please verify. |
I verified this change with my D.K. VCS cart and it dumps fine now. |
FYI here is a 3E mapper for boulderdash |
thanks. I will close this issue than. If I understood your last post correctly you would like to contribute? Please add another issue or provide a pull request - so the issue is not mixed up |
pull request created. |
OSCR firmware version
latest
OSCR hardware version
HW3
Attach OSCR_LOG.txt file here
N/A
System used
Atari 2600
Describe the issue.
This line myFile.write() should be removed as readDataArray_2600() already writes the data to the file. Otherwise you get extra data in the file.
case 0x04: // F4SC Mapper 32KB \w RAM
case 0xF4: // F4 Mapper 32KB
for (int x = 0; x < 8; x++) {
readData_2600(0x1FF4 + x);
if(a2600mapper == 0xF4) {
readSegment_2600(0x1000, 0x1200);
} else {
outputFF_2600(0x100); // Skip 0x1000-0x10FF RAM
readDataArray_2600(0x1100, 0x100);
}
readSegment_2600(0x1200, 0x1E00);
// Split Read of Last 0x200 bytes
readDataArray_2600(0x1E00, 0x1F4);
//myFile.write(sdBuffer, 500);
for (int z = 0; z < 12; z++) {
// Set Bank to ensure 0x1FFC-0x1FFF is correct
readData_2600(0x1FF4 + x);
sdBuffer[z] = readData_2600(0x1FF4 + z);
}
myFile.write(sdBuffer, 12);
}
The text was updated successfully, but these errors were encountered: