| 1221 | } |
| 1222 | |
| 1223 | static void IoHandlerCardsIn(void) |
| 1224 | { |
| 1225 | _ASSERT( !SW_INTCXROM ); |
| 1226 | |
| 1227 | for (UINT uSlot=SLOT1; uSlot<NUM_SLOTS; uSlot++) |
| 1228 | { |
| 1229 | if (uSlot == SLOT3 && !SW_SLOTC3ROM) |
| 1230 | { |
| 1231 | IoHandlerSlot3CardOut(); |
| 1232 | } |
| 1233 | else |
| 1234 | { |
| 1235 | iofunction ioreadcx = g_SlotInfo[uSlot].IOReadCx; |
| 1236 | iofunction iowritecx = g_SlotInfo[uSlot].IOWriteCx; |
| 1237 | |
| 1238 | for (UINT i = 0; i < 16; i++) |
| 1239 | { |
| 1240 | IORead[uSlot * 16 + i] = ioreadcx; |
| 1241 | IOWrite[uSlot * 16 + i] = iowritecx; |
| 1242 | } |
| 1243 | } |
| 1244 | } |
| 1245 | } |
| 1246 | |
| 1247 | static bool IsCardInSlot(UINT slot) |
| 1248 | { |
no test coverage detected