MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / IoHandlerCardsIn

Function IoHandlerCardsIn

source/Memory.cpp:1223–1245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1221}
1222
1223static 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
1247static bool IsCardInSlot(UINT slot)
1248{

Callers 1

MemSetPagingFunction · 0.85

Calls 1

IoHandlerSlot3CardOutFunction · 0.85

Tested by

no test coverage detected