diff options
author | sakman55 <[email protected]> | 2023-09-04 12:38:32 -1000 |
---|---|---|
committer | GitHub <[email protected]> | 2023-09-04 12:38:32 -1000 |
commit | 7cf03d3542d7df10b69dfb0097e13ba350f839c7 (patch) | |
tree | f7c2a75a067894d68a95d489e7ce9a897b03fa08 | |
parent | 749d60de3ff20434ec5a4d24406631c751726510 (diff) | |
download | cartreader-7cf03d3542d7df10b69dfb0097e13ba350f839c7.tar.gz cartreader-7cf03d3542d7df10b69dfb0097e13ba350f839c7.zip |
Update FAIRCHILD.ino
Modifications for reading 4K carts
-rw-r--r-- | Cart_Reader/FAIRCHILD.ino | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/Cart_Reader/FAIRCHILD.ino b/Cart_Reader/FAIRCHILD.ino index 287af25..8fc7137 100644 --- a/Cart_Reader/FAIRCHILD.ino +++ b/Cart_Reader/FAIRCHILD.ino @@ -456,10 +456,8 @@ void readROM_FAIRCHILD() { } } } else if (cartsize == 0x1000) { // 4K - // Skip BIOS/Blocks Code for 4K Carts - Tested with Pro Football 4K - // Pro Football uses a DM74LS02N (Quad 2-Input NOR Gate) with two 2K ROM Chips - setROMC_FAIRCHILD(0x8); // Clear PC0 - setREAD_FAIRCHILD(); + // Skip BIOS/Blocks Code for 4K Carts - Tested with Alien Invasion/Pro Football + // Alien Invasion/Pro Football both use a DM74LS02N (Quad 2-Input NOR Gate) with two 2K ROM Chips uint16_t offset = z * 0x200; for (int x = 0; x < 0x800 + offset; x++) { // Skip BIOS/Previous Blocks readData_FAIRCHILD(); @@ -515,12 +513,10 @@ void read16K_FAIRCHILD() // Read 16K Bytes unsigned long cartsize = FAIRCHILD[fairchildsize] * 0x400; for (int y = 0; y < 0x20; y++) { if (cartsize == 0x1000) { // 4K - // Skip BIOS/Blocks Code for 4K Carts - Tested with Pro Football 4K - // Pro Football uses a DM74LS02N (Quad 2-Input NOR Gate) with two 2K ROM Chips - // IF OTHER 4K CARTS DO NOT DUMP PROPERLY USING READROM + // Skip BIOS/Blocks Code for 4K Carts - Tested with Alien Invasion/Pro Football + // Alien Invasion/Pro Football both use a DM74LS02N (Quad 2-Input NOR Gate) with two 2K ROM Chips + // IF CASINO POKER DOES NOT DUMP PROPERLY USING READROM // TEST BY SETTING ROM SIZE TO 2K AND 4K THEN COMPARE 16K DUMPS - setROMC_FAIRCHILD(0x8); // Clear PC0 - setREAD_FAIRCHILD(); uint16_t offset = y * 0x200; for (int x = 0; x < 0x800 + offset; x++) { // Skip BIOS/Previous Blocks readData_FAIRCHILD(); @@ -917,4 +913,4 @@ void setCart_FAIRCHILD() { #endif //****************************************** // End of File -//******************************************
\ No newline at end of file +//****************************************** |